[mythtv-commits] Ticket #3225: mythcommflag segfault

MythTV mythtv at cvs.mythtv.org
Sun Mar 18 18:11:04 UTC 2007


#3225: mythcommflag segfault
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  patch      |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  0.20   
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 mythcommflag recently segfaulted on a corrupt recording.  Here's a snippet
 from gdb:


 {{{
 Program terminated with signal 11, Segmentation fault.
 #0  0x0807b50a in ~ClassicCommDetector (this=0x8143a00) at
 ClassicCommDetector.cpp:188
 188             delete sceneChangeDetector;
 (gdb) where
 #0  0x0807b50a in ~ClassicCommDetector (this=0x8143a00) at
 ClassicCommDetector.cpp:188
 #1  0x08051ec2 in DoFlagCommercials (showPercentage=false, fullSpeed=true,
 inJobQueue=true, nvp=0x8106c48,
     commDetectMethod=COMM_DETECT_ALL) at main.cpp:449
 #2  0x0805401d in FlagCommercials (chanid=@0xbffac7bc,
 starttime=@0xbffac7b8) at main.cpp:595
 #3  0x0805baec in main (argc=135545864, argv=0x0) at main.cpp:996
 }}}

 The attached patch should fix this.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3225>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list