[mythtv] Mythfrontend crash - Watch Recordings Previeview and Transcode

Christian Hack christianh at edmi.com.au
Fri Mar 5 09:34:38 EST 2004


Previewing a DVB recording I get the attached stack trace 100% of the time.

I notice it doesn't say segfault but rather SIGABRT.

The first line of the attachment is a debug output from mythfrontend which
appears to be related to the stack trace. It seems the DVB transmitters are
broadcasting something bad or different. When this recording was made, I
believe my reception was fine - it does go a bit wonky with a lot of rain
though sometimes.

I can make the recording available (or at least the beginning of it) to
anyone who wants it, but I only have 128kbps upstream cable so it would take
a while.

This same recording also gives mythtranscode a lot of grief. It simply
allocates all the memory it can and then bails with an aborted message. The
second attached backtrace is of that SIGABRT.

I'm guessing these are the same thing though right?


CH
-------------- next part --------------
Video has changed: 2693 20766 from: 720 576

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 29666)]
0x42028851 in kill () from /lib/i686/libc.so.6
(gdb) thread apply all bt full

Thread 12 (Thread 163851 (LWP 29728)):
#0  0x41015156 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 11 (Thread 147466 (LWP 29727)):
#0  0x4207d297 in memset () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x083b8700 in ?? ()
No symbol table info available.
#2  0x402bd4ea in VideoOutputNull::InputChanged(int, int, float) (this=0x828be80, width=2704, height=20768, aspect=2.21000004)
    at videoout_null.cpp:45
No locals.
#3  0x401b6b70 in NuppelVideoPlayer::ReinitVideo() (this=0x8251258) at NuppelVideoPlayer.cpp:395
No locals.
#4  0x402a6926 in AvFormatDecoder::MpegPreProcessPkt(AVStream*, AVPacket*) (this=0x8253be0, stream=0x82443a0, pkt=0x8234628)
    at avformatdecoder.cpp:901
        test = (unsigned char *) 0x8273862 "Q\036Bf\""
        width = 2693
        height = 20766
        aspectratioinfo = 4
        aspect = 2.21000004
        context = (AVCodecContext *) 0x82443a8
        bufptr = (unsigned char *) 0x8273862 "Q\036Bf\""
        state = 435
        v = 179
        prvcount = 4
#5  0x402a6ee6 in AvFormatDecoder::GetFrame(int) (this=0x8253be0, onlyvideo=1) at avformatdecoder.cpp:1070
        context = (AVCodecContext *) 0x82443a8
        curstream = (AVStream *) 0x82443a0
        pkt = (AVPacket *) 0x8234628
        len = 21237
        ret = 0
        ptr = (unsigned char *) 0x8273860 "\001Q\036Bf\""
        samples = {0 <repeats 50668 times>, -17536, 0, -15348, -4, -6772, 18376, 27272, 2089, 19988, 18377, 31682, 16474, -6772, 
  18376, -15348, -4, 0 <repeats 2314 times>, 768, 0, 0, 0, 0, 0, 1, 0, 2, 0, -17536, 0, 1, 0, -6144, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
  0, 2, 0 <repeats 5101 times>, 1893, 16903, 10130, 18377, 24456, 2102, 58, 0, 1893, 16903, 10126, 18377, 20140, 18377, 38, 0, 0, 
  0, -6529, 16462, 28256, 16915, 9876, 18377, -28267, 16900, 9932, 18377, -6530, 16462, 1, 0 <repeats 17 times>, 9828, 18377, 
  -16621, 16900, 8740, 18377, 0, 0, 9844, 18377, -16621, 16900, 8756, 18377, 0 <repeats 124 times>, -26592, 16914, 0, 0, 0, 0, 0, 
  0, -26592, 16914, 0 <repeats 13 times>, 8307, 0, 0, -1, -1, -58, -1, 0, 8307, 0, 0, -1, -1, -38, -1, 0 <repeats 18 times>, 
  20140, 18377, 10, 0, 1, 0, 8748, 18377, 0, 0, 0, 0, -6532, 16462, 8764, 18377, 0...}
        data_size = 0
        pts = 0
        firstloop = false
        allowedquit = false
        storevideoframes = false
#6  0x401b7bf9 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x8251258, onlyvideo=1, unsafe=false) at NuppelVideoPlayer.cpp:650
No locals.
#7  0x401bbd9b in NuppelVideoPlayer::StartPlaying() (this=0x8251258) at NuppelVideoPlayer.cpp:1901
        output_video = 163851
        pausecheck = 0
#8  0x08083a35 in SpawnDecoder (param=0x8251258) at playbackbox.cpp:1171
        nvp = (NuppelVideoPlayer *) 0x8251258
#9  0x4100f881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#10 0x4100f985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 29693)):
#0  0x420db1a7 in poll () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x4100e9de in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4100f62b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 29666)):
#0  0x42028851 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41011f4d in raise () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x420284f4 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#3  0x42029beb in abort () from /lib/i686/libc.so.6
No symbol table info available.
#4  0x40f0f127 in __cxxabiv1::__terminate(void (*)()) (handler=0x42029a60 <abort>)
    at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
No locals.
#5  0x40f0f174 in std::terminate() () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
No locals.
#6  0x40f0f2e6 in __cxa_throw () at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:77
        globals = (__cxa_eh_globals *) 0x0
#7  0x40f0d342 in operator new(unsigned) (sz=1125123264) at ../../../../libstdc++-v3/libsupc++/new_op.cc:54
        p = (void *) 0x0
#8  0x40f0d39f in operator new[](unsigned) (sz=0) at ../../../../libstdc++-v3/libsupc++/new_opv.cc:36
No locals.
#9  0x0808003f in PlaybackBox::updateVideo(QPainter*) (this=0xbfffe8d8, p=0xbfffe42c) at playbackbox.cpp:564
        w = 2704
        h = 20768
        frame = (VideoFrame_ *) 0x83b8700
        buf = (unsigned char *) 0x49536008 ""
        outputbuf = (unsigned char *) 0x40ff8d0c "\214X"
        convert = (void (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int, 
    int)) 0x40c58e79 <QColor::operator=(QColor const&)+17>
        img = {data = 0x40fc20a8}
#10 0x0807efb9 in PlaybackBox::paintEvent(QPaintEvent*) (this=0xbfffe8d8, e=0xbfffe6d8) at playbackbox.cpp:336
        r = {x1 = 780, y1 = 454, x2 = 983, y2 = 606}
        p = {<Qt> = {static color0 = @0x41003900, static color1 = @0x41003908, static black = Cannot access memory at address 0x0
(gdb) 
(gdb) 
-------------- next part --------------
# gdb mythtranscode
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -c 1007 -s 2004-03-04T01:24:0
Starting program: /usr/local/bin/mythtranscode -c 1007 -s 2004-03-04T01:24:0
[New Thread 16384 (LWP 29934)]
2004-03-06 00:31:21 Transcoding from /mnt/store/recorded/1007_20040304012400_20040304023000.nuv to /mnt/store/recorded/1007_20040304012400_20040304023000.nuv.tmp
Input #0, mpeg, from '/mnt/store/recorded/1007_20040304012400_20040304023000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
[New Thread 32769 (LWP 29943)]
[New Thread 16386 (LWP 29944)]
Video has changed: 2693 20766 from: 720 576

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 29934)]
0x42028851 in kill () from /lib/i686/libc.so.6
(gdb) thread apply all bt full

Thread 3 (Thread 16386 (LWP 29944)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 29943)):
#0  0x420db1a7 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4100e9de in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4100f62b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 29934)):
#0  0x42028851 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41011f4d in raise () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x420284f4 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#3  0x42029beb in abort () from /lib/i686/libc.so.6
No symbol table info available.
#4  0x40f0f127 in __cxxabiv1::__terminate(void (*)()) (handler=0x42029a60 <abort>)
    at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
No locals.
#5  0x40f0f174 in std::terminate() () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
No locals.
#6  0x40f0f2e6 in __cxa_throw () at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:77
        globals = (__cxa_eh_globals *) 0x0
#7  0x40f0d342 in operator new(unsigned) (sz=1119880384) at ../../../../libstdc++-v3/libsupc++/new_op.cc:54
        p = (void *) 0x0
#8  0x40f0d39f in operator new[](unsigned) (sz=0) at ../../../../libstdc++-v3/libsupc++/new_opv.cc:36
No locals.
#9  0x402bd7ec in VideoOutputNull::CreateNullBuffers() (this=0x822f0b8) at videoout_null.cpp:101
        i = 0
#10 0x402bd4ea in VideoOutputNull::InputChanged(int, int, float) (this=0x822f0b8, width=2704, height=20768, aspect=2.21000004)
    at videoout_null.cpp:45
No locals.
#11 0x401b6b70 in NuppelVideoPlayer::ReinitVideo() (this=0x808c228) at NuppelVideoPlayer.cpp:395
No locals.
#12 0x402a6926 in AvFormatDecoder::MpegPreProcessPkt(AVStream*, AVPacket*) (this=0x808ddb8, stream=0x808ee80, pkt=0x8231b28)
    at avformatdecoder.cpp:901
        test = (unsigned char *) 0x80a4402 "Q\036Bf\""
        width = 2693
        height = 20766
        aspectratioinfo = 4
        aspect = 2.21000004
        context = (AVCodecContext *) 0x808ee88
        bufptr = (unsigned char *) 0x80a4402 "Q\036Bf\""
        state = 435
        v = 179
        prvcount = 4
#13 0x402a6ee6 in AvFormatDecoder::GetFrame(int) (this=0x808ddb8, onlyvideo=0) at avformatdecoder.cpp:1070
        context = (AVCodecContext *) 0x808ee88
        curstream = (AVStream *) 0x808ee80
        pkt = (AVPacket *) 0x8231b28
        len = 21237
        ret = 0
        ptr = (unsigned char *) 0x80a4400 "\001Q\036Bf\""
        samples = {0 <repeats 50756 times>, -17536, 0, -15348, -4, 32368, -16385, -19480, 2057, -6408, -16385, 31682, 16474, 
  32368, -16385, -15348, -4, 0 <repeats 2314 times>, 768, 0, 0, 0, 0, 0, 1, 0, 2, 0, -17536, 0, 1, 0, -6144, 3, 0, 0, 0, 0, 0, 0, 
---Type <return> to continue, or q <return> to quit---
  0, 0, 0, 0, 2, 0 <repeats 3691 times>, -21064, -16385, 4961, 16506, -21028, -16385, 5320, 2055, 0, 0, 4795, 16506, 0, 0, 0, 0, 
  0, 0, 5320, 2055, -29428, 16639, 5080, 2055, -21004, -16385, 7209, 16617, -21028, -16385, 5848, 2055, -26072, 16617, -29428, 
  16639, -21004, -16385, 19209, 16617, -20880, -16385, 49, 0, 49, 0, 1, 0, -29428, 16639, 49, 0, 5568, 2055, -20804, -16385, 
  16921, 16617, 5568, 2055, -20880, -16385, 0 <repeats 14 times>, 5420, 2055, 5420, 2055, 0, 0, 0, 0, 12091, 16641, 0, 0, -29568, 
  19, 5648, 2055, 12599, 16641, 5120, 2055, 5112, 2055, 49, 0, -20880, -16385, 15779, 7, 2, 1, 1, 0, 24736, 16641, 1, 0, 12599, 
  16641, 12599, 16641, 12599, 16641, 12599, 16641, 12, 0, 0, 0, 17, 0, 17, 0, 24736, 16641, 0...}
        data_size = 0
        pts = 0
        firstloop = false
        allowedquit = false
        storevideoframes = false
#14 0x401c0e27 in NuppelVideoPlayer::TranscodeGetNextFrame(QMapIterator<long long, int>&, int*, bool*, bool) (this=0x808c228, 
    dm_iter=@0xbffff4d0, did_ff=0xbffff490, is_key=0xbffff463, honorCutList=false) at NuppelVideoPlayer.cpp:3110
No locals.
#15 0x0805719c in Transcode::TranscodeFile(char*, char*, QString, bool, bool, bool, QString) (this=0x8089610, 
    inputname=0x808c1e8 "/mnt/store/recorded/1007_20040304012400_20040304023000.nuv", 
    outputname=0x808c688 "/mnt/store/recorded/1007_20040304012400_20040304023000.nuv.tmp", profileName=Cannot access memory at address 0x0
) at transcode.cpp:402
        audioframesize = 1089078229
        audioFrame = 0
        curtime = {d = {jd = 2453071}, t = {ds = 1890468}}
        audioOutput = (AudioOutput *) 0x808ee38
        arb = (AudioReencodeBuffer *) 0x808ee38
        encodingType = {static null = Cannot access memory at address 0x0


More information about the mythtv-dev mailing list