[mythtv] commercial flagging segfault

Chris Pinkham cpinkham at bc2va.org
Wed Sep 1 01:04:37 EDT 2004


> I keep getting a segfault on the backend during commercial detection on 
> one show. This happened a week or two ago on the same show and I had to 

[mpeg2video @ 0x407436e8]slice mismatch 
[mpeg2video @ 0x407436e8]qscale == 0
[mpeg2video @ 0x407436e8]00 motion_type at 0 8

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1220541360 (LWP 32717)]
0x005b68b7 in memset () from /lib/tls/libc.so.6

Thread 15 (Thread 1220541360 (LWP 32717)):
#0  0x005b68b7 in memset () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x0000018c in ?? () 
No symbol table info available.
#2  0x40686d68 in ff_er_add_slice (s=0x82d7740, startx=80, starty=0, endx=360,
    endy=0, status=14) at error_resilience.c:638
        __s = (void *) 0x0 
        start_i = 388
        end_i = 352
        start_xy = 137990144
        end_xy = 360
        mask = -128 
#3  0x4066de61 in mpeg_decode_frame (avctx=0x81bf2c8, data=0x48bff720,
    data_size=0x48bff71c, buf=0x82a3280 "", buf_size=4762) at mpeg12.c:2949


Appears to be dumping in the ffmpeg decoder and all those mpeg2video
warnings aren't a good sign either.  Have you tried playing the file
in anything else other than Myth?  Myth's commercial flagger basically
plays through the video frame-by-frame and looks at the video data.
You could try telling Myth that the program has already been commercial
flagged and restart the backend and it will not try to reflag the
program.  Then you could try playing it, but since it appears to be
 in the decoder, I'd say it will probably segfault mythfrontend as well.

-- 

Chris



More information about the mythtv-dev mailing list