Opened 19 years ago
Closed 19 years ago
Last modified 19 years ago
#3225 closed patch (fixed)
mythcommflag segfault
| Reported by: | anonymous | Owned by: | cpinkham |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | 0.20 |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.

(In [13096]) Fix an unitialized variable that could lead to a segfault under certain circumstances. Patch by cizek.
Closes #3225.