[mythtv] frontend segv DBV-T (cvs) [bt]

John Pullan jmp at tarantella.com
Fri Oct 31 16:33:37 EST 2003


Hi
    I've been seeing the frontend consistently falling over while trying
to watch live tv from a dvb-t source. I get a few seconds of TV goodness
and then bang :-|

This is with the cvs version of the dvb stuff, pre version .12 I was
using Kenneth's alpha 5 patch which to work well.

Please find the backtrace attached and if anyone wants any more info
just let me know.

Cheers

-- 
John Pullan <jmp at tarantella.com>
-------------- next part --------------
(gdb) run
Starting program: /home/jmp/cvs/mythtv/programs/mythfrontend/mythfrontend
[New Thread 1092060992 (LWP 3880)]
2003-10-31 21:14:06 Enabled verbose msgs : important general
[New Thread 1116949808 (LWP 3883)]
2003-10-31 21:14:18 Connecting to backend server: 127.0.0.1:6543
[New Thread 1125342512 (LWP 3886)]
[New Thread 1133735216 (LWP 3887)]
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/var/video/ringbuf1.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2003-10-31 21:14:22 Opening OSS audio device '/dev/dsp'.
[New Thread 1142127920 (LWP 3888)]
2003-10-31 21:14:22 Using XV port 111
[New Thread 1171672368 (LWP 3889)]
2003-10-31 21:14:23 Changing from None to WatchingLiveTV
2003-10-31 21:14:27 prebuffering pause
2003-10-31 21:14:31 prebuffering pause
2003-10-31 21:14:34 prebuffering pause
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1125342512 (LWP 3886)]
0x081fbd2a in avcodec_decode_audio (avctx=0x85c9a08, samples=0x43115808,
    frame_size_ptr=0x43115804,
    buf=0x8835f10 "xcHs\"h\210\b\210\210B&\207@\222G\205$wB&\207@\202H\204\"ht\"$xb&\210\200\210\210\204\016\022%\207F\205GtXc\"$gvg\210B\"6\2062\"ht\v\"ht\"$xb\"ht\"&\207B\"G\206\"ht\"\"ht\0162ht\"$xb\"&\207B&\210\200\210\210\204\016\"ht\"&\207B\"G\206 ￿&\207B\"G\206\"\"ht\"$xRGt\016\"$x\210vB\"ht\v\"Fwfx\204\"&\207B\"G\206\"#hc\b&\207B&\210\200\210\210\204\"G\210\207d\016\202", buf_size=998)
    at utils.c:430
430         ret = avctx->codec->decode(avctx, samples, frame_size_ptr,
Current language:  auto; currently c
(gdb) thread apply all bt full
 
Thread 6 (Thread 1171672368 (LWP 3889)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x08102087 in NuppelVideoPlayer::OldAVSync() (this=0x85dc4e0)
    at NuppelVideoPlayer.cpp:1072
        buffer = (VideoFrame *) 0x8612080
#2  0x08102bfb in NuppelVideoPlayer::OutputVideoLoop() (this=0x85dc4e0)
    at NuppelVideoPlayer.cpp:1261
        frame = (VideoFrame *) 0x8612080
#3  0x08102eef in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (
    player=0x85dc4e0) at NuppelVideoPlayer.cpp:1343
        nvp = (NuppelVideoPlayer *) 0x85dc4e0
#4  0x409ee332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
 
Thread 5 (Thread 1142127920 (LWP 3888)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x4013afe2 in AudioOutputOSS::OutputAudioLoop() (this=0x41c6f008)
    at audiooutputoss.cpp:548
        bytesperframe = 6400
        space_on_soundcard = 564
---Type <return> to continue, or q <return> to quit---
        zeros = '\0' <repeats 1023 times>
#2  0x4013b11e in AudioOutputOSS::kickoffOutputAudioLoop(void*) (
    player=0x41c6f008) at audiooutputoss.cpp:584
No locals.
#3  0x409ee332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
 
Thread 4 (Thread 1133735216 (LWP 3887)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x08166ef9 in RingBuffer::startReader(void*) (type=0x85bef08)
    at RingBuffer.cpp:696
        rbuffer = (RingBuffer *) 0x85bef08
#2  0x409ee332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
 
Thread 3 (Thread 1125342512 (LWP 3886)):
#0  0x081fbd2a in avcodec_decode_audio (avctx=0x85c9a08, samples=0x43115808,
    frame_size_ptr=0x43115804,
    buf=0x8835f10 "xcHs\"h\210\b\210\210B&\207@\222G\205$wB&\207@\202H\204\"ht\"$xb&\210\200\210\210\204\016\022%\207F\205GtXc\"$gvg\210B\"6\2062\"ht\v\"ht\"$xb\"ht\"&\207B\"G\206\"ht\"\"ht\0162ht\"$xb\"&\207B&\210\200\210\210\204\016\"ht\"&\207B\"G\206 ￿&\207B\"G\206\"\"ht\"$xRGt\016\"$x\210vB\"ht\v\"Fwfx\204\"&\207B\---Type <return> to continue, or q <return> to quit---
"G\206\"#hc\b&\207B&\210\200\210\210\204\"G\210\207d\016\202", buf_size=998)
    at utils.c:430
        ret = 2039
#1  0x081a2c74 in AvFormatDecoder::GetFrame(int) (this=0x85fcbd8, onlyvideo=0)
    at avformatdecoder.cpp:933
        curstream = (AVStream *) 0x85c9a00
        pkt = (AVPacket *) 0x88de510
        len = 998
        ret = 2039
        ptr = (
    unsigned char *) 0x8835f10 "xcHs\"h\210\b\210\210B&\207@\222G\205$wB&\207@\202H\204\"ht\"$xb&\210\200\210\210\204\016\022%\207F\205GtXc\"$gvg\210B\"6\2062\"ht\v\"ht\"$xb\"ht\"&\207B\"G\206\"ht\"\"ht\0162ht\"$xb\"&\207B&\210\200\210\210\204\016\"ht\"&\207B\"G\206 ￿&\207B\"G\206\"\"ht\"$xRGt\016\"$x\210vB\"ht\v\"Fwfx\204\"&\207B\"G\206\"#hc\b&\207B&\210\200\210\210\204\"G\210\207d\016\202"
        samples = {53, 83, 55, -3, -3, 90, 47, 88, 55, 11, 11, 74, 31, 25,
  -12, -105, -94, -22, -58, 26, -33, -54, -63, 27, -1, 112, 65, 66, 58, 113,
  79, 134, 78, 39, 24, 62, 18, 76, 2, -22, -33, 25, 9, 87, 29, 4, -1, 34, 41,
  77, 35, -53, -67, -65, -70, 8, -52, -70, -120, -59, -94, 37, -24, -31, -56,
  -47, -49, 30, -36, -49, -118, -88, -95, -16, -42, -84, -164, -130, -205,
  -54, -110, -81, -149, -76, -149, 17, -31, -53, -85, -95, -133, 30, -2, 16,
  -22, -50, -106, 8, -14, -30, -40, -69, -128, 40, 0, 25, 40, -14, -42, 127,
  79, 130, 124, 18, -13, 75, 45, 80, 102, 13, -13, 109, 60, 133, 163, 53, 60,
---Type <return> to continue, or q <return> to quit---
  141, 101, 171, 185, 59, 57, 122, 89, 190, 225, 100, 100, 125, 57, 171, 186,
  86, 109, 98, 48, 125, 136, 39, 63, 74, 25, 128, 136, 27, 57, 13, -32, 65,
  69, 19, 37, 45, -18, 80, 92, 8, 70, 52, 4, 111, 90, 12, 52, 38, 3, 129, 131,
  14, 75, -40, -79, 20, 7, -48, 26, -32, -60, 63, 14, -74, -31, -149, -166, 5,
  -28, 6, 44, -55...}
        data_size = 0
        temppts = -102481911520608624
        allowedquit = false
        storevideoframes = false
#2  0x08100ca3 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x85dc4e0,
    onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:592
No locals.
#3  0x08103a70 in NuppelVideoPlayer::StartPlaying() (this=0x85dc4e0)
    at NuppelVideoPlayer.cpp:1554
        output_video = 1171672368
        pausecheck = 0
#4  0x0817cd67 in SpawnDecode(void*) (param=0x85dc4e0) at tv_play.cpp:56
        nvp = (NuppelVideoPlayer *) 0x85dc4e0
#5  0x409ee332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
 
Thread 2 (Thread 1116949808 (LWP 3883)):
#0  0xffffe002 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x08181225 in TV::RunTV() (this=0x85f3468) at tv_play.cpp:723
        keypressed = 284
        updatecheck = 18
#2  0x0818105b in TV::EventThread(void*) (param=0x85f3468) at tv_play.cpp:692
        thetv = (class TV *) 0x85f3468
#3  0x409ee332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
 
Thread 1 (Thread 1092060992 (LWP 3880)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x08071516 in startTV() () at main.cpp:199
        db = (struct QSqlDatabase *) 0x8591230
        tv = (class TV *) 0x85f3468
        timeout = {d = {jd = 2452944}, t = {ds = 76460654}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#2  0x080715ad in TVMenuCallback(void*, QString&) (data=0x8585f68,
    selection=@0x85bc8ec) at main.cpp:221
        sel = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x85f7018,
  static shared_null = 0x84f65e8}
#3  0x400e3382 in ThemedMenu::handleAction(QString&) (this=0x85bc740,
    action=@0x85dcb44) at themedmenu.cpp:1871
No locals.
#4  0x400e1c06 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x85bc740,
    e=0xbfffe1b0) at themedmenu.cpp:1701
        handled = false
        lastbutton = (ThemedButton *) 0x85dcb08
        oldrow = 0
#5  0x4060d06c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4057af24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x4057aab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40522abe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9  0x4051ed14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40533bda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#11 0x4058ecf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4057b1b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#13 0x4012df5d in MythDialog::exec() (this=0x85bc740) at mythdialogs.cpp:279
        res = 1074978530
#14 0x08072556 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x85b5108, static shared_null = 0x84f65e8}) at main.cpp:342
        exitstatus = 0
#15 0x08075447 in main (argc=1, argv=0xbfffe824) at main.cpp:670
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x85bba88,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x84f65e8}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x8585e90,
  static shared_null = 0x84f65e8}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x8585ef0,
  static shared_null = 0x84f65e8}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x8585f18,
  static shared_null = 0x84f65e8}
        binname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x8585f50,
  static shared_null = 0x84f65e8}
        logfd = -1
        db = (struct QSqlDatabase *) 0x8591230
        themename = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x85b50b8,
  static shared_null = 0x84f65e8}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84f65e8, static shared_null = 0x84f65e8}, d = 0x85b5108,
  static shared_null = 0x84f65e8}
        mainWindow = (class MythMainWindow *) 0x859fd80
        exitstatus = 21
#16 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
0x081fbd2a      430         ret = avctx->codec->decode(avctx, samples, frame_size_ptr,
(gdb) quit



More information about the mythtv-dev mailing list