[mythtv] Re:DVB channel changing crashes

Simon Watson simon19720 at yahoo.co.uk
Thu Aug 14 21:27:38 EDT 2003


Below, is the backtrace for the frontend, as requested. As before, the channel
was changed from BBC1->BBC2->ITV1

I have to say that when I first went to run the frontend under gdb I was
surprised to discover that the channel changing was actually working (the first
time I've seen it change between channels on different muxes). A big delay, but
it still managed it. Puzzled, I tried it 10 mins later and this time the
frontend display froze and the backend didn't segfault. I've no idea what might
have changed although the programme being broadcast was different the second
time (the resolution looks like it was still the same though).

As ever, any thoughts on this would be much appreciated...

Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 6501)]
[New Thread 32769 (LWP 6504)]
[New Thread 16386 (LWP 6505)]
connecting to backend server: 127.0.0.1:6543
[New Thread 32771 (LWP 6509)]
[New Thread 49156 (LWP 6510)]
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/var/video/ringbuf1.nuv':
  Stream #0.0: Video: mpegvideo, 720x576, 25.00 fps, 6480 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Opening OSS audio device '/dev/dsp'.
[New Thread 65541 (LWP 6511)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 56
[New Thread 81926 (LWP 6512)]
Changing from None to WatchingLiveTV
invalid mb type in P Frame at 26 22
[myth at shuttle myth]$ gdb mythfrontend
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 6539)]
[New Thread 32769 (LWP 6542)]
[New Thread 16386 (LWP 6543)]
connecting to backend server: 127.0.0.1:6543
[New Thread 32771 (LWP 6547)]
[New Thread 49156 (LWP 6548)]
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/var/video/ringbuf1.nuv':
  Stream #0.0: Video: mpegvideo, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Opening OSS audio device '/dev/dsp'.
[New Thread 65541 (LWP 6549)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 56
[New Thread 81926 (LWP 6550)]
Changing from None to WatchingLiveTV
QTime::fromString: Parameter out of range.
QTime::fromString: Parameter out of range.
Delaying to next trigger: 234500
rebuffering (43009 256000)
QTime::fromString: Parameter out of range.
QTime::fromString: Parameter out of range.
Video has changed: 704 576

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

Thread 7 (Thread 81926 (LWP 6550)):
#0  0x40bad0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 65541 (LWP 6549)):
#0  0x409dc63b in write () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40177fc0 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.11.so.0
No symbol table info available.
#2  0x40126188 in AudioOutputOSS::OutputAudioLoop() (this=0x4342d008)
    at audiooutputoss.cpp:475
        bytesperframe = 6400
        space_on_soundcard = 3488
        zeros = '\0' <repeats 1023 times>
#3  0x401263de in AudioOutputOSS::kickoffOutputAudioLoop(void*) (
    player=0x4342d008) at audiooutputoss.cpp:556
No locals.
#4  0x409d79b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x409d7ab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 5 (Thread 49156 (LWP 6548)):
#0  0x40bad0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 6547)):
#0  0x40b276a1 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409d99bd in pthread_kill () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409d9cdb in raise () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40b27444 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#4  0x40b2897b in abort () from /lib/i686/libc.so.6
No symbol table info available.
#5  0x408d7687 in __cxxabiv1::__terminate(void (*)()) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x408d76d4 in std::terminate() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7  0x408d7846 in __cxa_throw () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x408d5872 in operator new(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x408d58cf in operator new[](unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x0811fa27 in OSDTypeImage::LoadImage(QString const&, float, float, int,
int) (this=0x43587938, filename=@0x435879d0, wmult=1.10000002,
hmult=1.20000005,
    scalew=1129316564, scaleh=1129316564) at osdtypes.cpp:670
        tmpimage = {data = 0x43587258}
        width = 1242248246
        height = 1355179930
        tmp2 = {data = 0x43715d98}
#11 0x08121613 in OSDTypeEditSlider::Reinit(float, float, float, float) (
    this=0x43587938, wchange=0.977777779, hchange=1, wmult=1.10000002,
    hmult=1.20000005) at osdtypes.cpp:1092
        width = 648
        height = 78
        x = 27
        y = 510
---Type <return> to continue, or q <return> to quit---
#12 0x0811ce3d in OSDSet::Reinit(int, int, int, int, int, int, float, float) (
    this=0x43584dc0, screenwidth=704, screenheight=576, xoff=0, yoff=0,
    displaywidth=704, displayheight=576, wmult=1.10000002, hmult=1.20000005)
    at osdtypes.cpp:167
        item = (OSDTypeEditSlider *) 0x43587938
        item = (OSDTypeFillSlider *) 0x0
        item = (OSDTypePosSlider *) 0x0
        item = (OSDTypePositionImage *) 0x0
        item = (OSDTypeText *) 0x0
        type = (OSDType *) 0x43587938
        wchange = 0.977777779
        hchange = 1
        iter =
{<iterator<std::random_access_iterator_tag,OSDType*,int,OSDType**,OSDType*&>> =
{<No data fields>}, _M_current = 0x84c0de8}
#13 0x0810d3cd in OSD::Reinit(int, int, int, int, int, int, int) (
    this=0x43534e68, width=704, height=576, fps=25, dispx=0, dispy=0,
    dispw=704, disph=576) at osd.cpp:158
        set = (OSDSet *) 0x43584dc0
        fonts = {node = 0x43534f30}
        sets = {node = 0x43584e38}
#14 0x080f0bbf in NuppelVideoPlayer::Reinit() (this=0x8513df0)
    at NuppelVideoPlayer.cpp:339
        dispx = 0
---Type <return> to continue, or q <return> to quit---
        dispy = 0
        dispw = 704
        disph = 576
        scratchFrame = (VideoFrame *) 0x818267d
#15 0x08181172 in AvFormatDecoder::GetFrame(int) (this=0x8517318, onlyvideo=0)
    at avformatdecoder.cpp:713
        test = (
    unsigned char *) 0x43776814 ",\002 at 3\t�\202\020  &
&,,,,,,4046664444666:::DDD:::66::@@DDJLJFFDFLLPPP``\\\\ppt\212\212\020\021\021\022\022\022\023\023\023\023\024\024\024\024\024\025\025\025\025\025\025\026\026\026\026\026\026\026\027\027\027\027\027\027\027\027\030\030\030\031\030\030\030\031\032\032\032\032\031\e\e\e\e\e\034\034\034\034\036\036\036\037\037!"
        aspectratioinfo = 3
        aspect = 1.77777779
        width = 704
        height = 576
        startpos = 4
        context = (AVCodecContext *) 0x84ee958
        curstream = (AVStream *) 0x84ee950
        pkt = (AVPacket *) 0x4350fd20
        len = 2029
        ret = 0
        ptr = (unsigned char *) 0x43776810 ""
---Type <return> to continue, or q <return> to quit---
        samples = {25, -25, 129, 50, 252, 190, 311, 292, 356, 342, 393, 381,
  389, 391, 402, 379, 434, 362, 372, 269, 228, 84, 115, -88, 7, -221, -104,
  -312, -62, -243, 177, 4, 434, 278, 588, 462, 640, 499, 567, 350, 406, 115,
  269, -57, 213, -134, 233, -125, 314, -37, 398, 88, 461, 225, 517, 349, 509,
  362, 401, 239, 302, 105, 264, 22, 210, -59, 162, -121, 234, -86, 416, 58,
  592, 236, 676, 343, 652, 313, 579, 214, 532, 155, 527, 148, 551, 150, 556,
  124, 456, 10, 260, -186, 131, -311, 186, -244, 351, -65, 471, 63, 481, 71,
  421, -5, 328, -107, 228, -201, 206, -232, 277, -194, 292, -182, 206, -229,
  188, -209, 308, -70, 442, 80, 519, 166, 542, 179, 458, 63, 255, -199, 53,
  -475, -33, -613, -20, -617, -2, -583, 24, -516, 132, -367, 280, -195, 360,
  -89, 385, -28, 384, 0, 295, -66, 136, -195, 43, -263, 66, -227, 127, -159,
  153, -138, 153, -169, 180, -178, 235, -111, 263, -28, 249, -23, 196, -131,
  104, -289, 74, -352, 197, -262, 378, -141, 501, -75, 575, -1, 563, 69, 420,
  35, 264, -73, 163, -195, 4, -381, -207, -613, -299, -737...}
        data_size = 0
        temppts = 0
        gotvideo = false
        allowedquit = false
        storevideoframes = false
#16 0x080f1c93 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x8513df0,
    onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:600
No locals.
#17 0x080f4629 in NuppelVideoPlayer::StartPlaying() (this=0x8513df0)
---Type <return> to continue, or q <return> to quit---
    at NuppelVideoPlayer.cpp:1592
        output_video = 81926
        pausecheck = 4
#18 0x0815ef43 in SpawnDecode(void*) (param=0x8513df0) at tv_play.cpp:67
        nvp = (NuppelVideoPlayer *) 0x8513df0
#19 0x409d79b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#20 0x409d7ab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 6543)):
#0  0x40bad0c6 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 6542)):
#0  0x40bd7e57 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409d69ce in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409d6c1b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 16384 (LWP 6539)):
#0  0x40bad0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x0806cd78 in startTV() () at main.cpp:191
        db = (struct QSqlDatabase *) 0x84c6d48
        tv = (class TV *) 0x84f3e30
        timeout = {d = {jd = 2452866}, t = {ds = 72798216}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#3  0x0806ce0f in TVMenuCallback(void*, QString&) (data=0x84bc090,
    selection=@0x84ec7b0) at main.cpp:213
        sel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8427b90, static shared_null = 0x8427b90}, d = 0x850c868,
  static shared_null = 0x8427b90}
#4  0x400d6787 in ThemedMenu::handleAction(QString&) (this=0x84ec660,
    action=@0x850b6bc) at themedmenu.cpp:1766
No locals.
---Type <return> to continue, or q <return> to quit---
#5  0x400d54e2 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x84ec660,
    e=0xbffff3b0) at themedmenu.cpp:1634
        handled = false
        lastbutton = (ThemedButton *) 0x850b680
        oldrow = 0
#6  0x405f406c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40561f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40561ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x4011ea14 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x84e7d30,
    e=0xbffff3b0) at mythdialogs.cpp:119
        current = (struct QWidget *) 0x84ec660
#10 0x405f406c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40561f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   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---
#12 0x40561ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40509abe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x40505d14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#15 0x4051abda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40575cf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#17 0x405621b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#18 0x4011f2f9 in MythDialog::exec() (this=0x84ec660) at mythdialogs.cpp:261
        res = 1074918014
#19 0x0806dca0 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen
type>, d = 0x8427b90, static shared_null = 0x8427b90}, d = 0x84e7990, static
share---Type <return> to continue, or q <return> to quit---
d_null = 0x8427b90}) at main.cpp:327
        exitstatus = 0
#20 0x0806f559 in main (argc=1, argv=0xbffff9b4) at main.cpp:487
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8427b90, static shared_null = 0x8427b90}, d = 0x84ec1e0,
  static shared_null = 0x8427b90}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        db = (struct QSqlDatabase *) 0x84c6d48
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8427b90, static shared_null = 0x8427b90}, d = 0x84e5110,
  static shared_null = 0x8427b90}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8427b90, static shared_null = 0x8427b90}, d = 0x84e7990,
  static shared_null = 0x8427b90}
        mainWindow = (class MythMainWindow *) 0x84e7d30
        exitstatus = 10
#21 0x40b14a07 in __libc_start_main () from /lib/i686/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#0  0x40b276a1 in kill () from /lib/i686/libc.so.6


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/


More information about the mythtv-dev mailing list