[mythtv-commits] Ticket #9515: [CRASH] skipdb option to mythcommflag ignored, causes crash

MythTV noreply at mythtv.org
Sun Jun 5 13:18:40 UTC 2011


#9515: [CRASH] skipdb option to mythcommflag ignored, causes crash
---------------------------------------+----------------------------
 Reporter:  jon.christopher@…          |          Owner:  cpinkham
     Type:  Bug Report                 |         Status:  new
 Priority:  minor                      |      Milestone:  unknown
Component:  MythTV - Mythcommflag      |        Version:  0.24-fixes
 Severity:  medium                     |     Resolution:
 Keywords:                             |  Ticket locked:  0
---------------------------------------+----------------------------

Comment (by bennymythtv@…):

 ProgramInfo::!ProgramInfo always attempts to create a database connection.
 If --video is supplied, this bit of code creates !ProgramInfo:
 {{{
     if (isVideo)
     {
         ProgramInfo pginfo(filename);
         result = BuildVideoMarkup(&pginfo, useDB);
     }
 }}}
 However, if --video is not supplied, !ProgramInfo is initialized a little
 bit later in the !useDB clause, resulting in the same problem.

 It seems like the !ProgramInfo needs a useDB boolean.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9515#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list