[mythtv] Myth .11 sometimes seeking causes hang and return to previous menu - gdb attached

cmisip cmisip at insightbb.com
Fri Aug 22 17:36:10 EDT 2003


I reproduced the error with gdb running mythfrontend.  This time, I
waited a little longer before I killed mythfrontend.  If this still does
not have enough information can you give me some more detailed
instructions on how I might get a more useful gdb output.  I am using
emacs to save the buffer.  Thanks
-------------- next part --------------
Current directory is ~/
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 1092147008 (LWP 4996)]
connecting to backend server: 192.168.1.2:6543
[New Thread 1116949808 (LWP 4999)]
[New Thread 1125342512 (LWP 5000)]
[New Thread 1133735216 (LWP 5001)]
Opening OSS audio device '/dev/dsp0'.
[New Thread 1152871728 (LWP 5002)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 139
[New Thread 1169837360 (LWP 5003)]
Changing from None to WatchingPreRecorded
rebuffering (126904 128000)
rebuffering (124706 128000)
rebuffering (117899 128000)
rebuffering (122376 128000)
rebuffering (121045 128000)
rebuffering (119810 128000)
rebuffering (118466 128000)
rebuffering (122424 128000)
rebuffering (119933 128000)
rebuffering (122889 128000)
rebuffering (118868 128000)
rebuffering (127183 128000)
rebuffering (118403 128000)
rebuffering (124852 128000)
rebuffering (119393 128000)

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 1092147008 (LWP 4996)]
0xffffe002 in ?? ()
(gdb) thread apply all bt full

Thread 6 (Thread 1169837360 (LWP 5003)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x080f394f in NuppelVideoPlayer::OutputVideoLoop() (this=0x8655a60)
    at NuppelVideoPlayer.cpp:1299
	buf = (VideoFrame *) 0x8655e98
	scratchFrame = (VideoFrame *) 0x86561e0
#2  0x080f3bf9 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (
    player=0x8655a60) at NuppelVideoPlayer.cpp:1367
No locals.
#3  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 1152871728 (LWP 5002)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x401292e8 in AudioOutputOSS::OutputAudioLoop() (this=0x41d9a008)
    at audiooutputoss.cpp:502
	bytesperframe = 4268
	space_on_soundcard = 5508
	zeros = '\0' <repeats 1023 times>
#2  0x401294a2 in AudioOutputOSS::kickoffOutputAudioLoop(void*) (
    player=0x41d9a008) at audiooutputoss.cpp:556
No locals.
#3  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 1133735216 (LWP 5001)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x0814ab6b in RingBuffer::startReader(void*) (type=0x84b0dd0)
    at RingBuffer.cpp:673
	rbuffer = (RingBuffer *) 0x84b0dd0
#2  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 1125342512 (LWP 5000)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x0814b21c in RingBuffer::ReadFromBuf(void*, int) (this=0x84b0dd0, 
    buf=0x41d0d008, count=3456) at RingBuffer.cpp:827
	readone = false
	avail = 746
#2  0x0814b423 in RingBuffer::Read(void*, int) (this=0x84b0dd0, 
    buf=0x41d0d008, count=3456) at RingBuffer.cpp:878
	ret = -1
#3  0x0817f0bb in NuppelDecoder::GetFrame(int) (this=0x85fa988, avignore=-1)
    at nuppeldecoder.cpp:879
	currentposition = 179104564
	gotvideo = false
	ret = false
	seeklen = 0
#4  0x08180171 in NuppelDecoder::DoFastForward(long long) (this=0x85fa988, 
    desiredFrame=2759) at nuppeldecoder.cpp:1188
	oldrawstate = 0
	number = 1347
	desiredKey = 2730
	lastKeyIndex = 47
	desiredIndex = 91
	normalframes = 29
	fileend = 0
	keyPos = -1
	needflush = false
#5  0x080f53e2 in NuppelVideoPlayer::DoFastForward() (this=0x8655a60)
    at NuppelVideoPlayer.cpp:1772
	number = 1347
	desiredFrame = 2759
#6  0x080f4801 in NuppelVideoPlayer::StartPlaying() (this=0x8655a60)
    at NuppelVideoPlayer.cpp:1579
	output_video = 1169837360
	pausecheck = 0
#7  0x0816006f in SpawnDecode(void*) (param=0x8655a60) at tv_play.cpp:67
	nvp = (NuppelVideoPlayer *) 0x8655a60
#8  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 1116949808 (LWP 4999)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x08163c6e in TV::RunTV() (this=0x85a3b48) at tv_play.cpp:710
	keypressed = 4129
	pausecheck = 0
#2  0x08163af5 in TV::EventThread(void*) (param=0x85a3b48) at tv_play.cpp:678
	thetv = (class TV *) 0x85a3b48
#3  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 1092147008 (LWP 4996)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x401d720f in _X11TransWrite () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#2  0x401b6e92 in _XFlush () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#3  0x401b6d19 in _XFlush () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#4  0x401b747b in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#5  0x401aa578 in XPending () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#6  0x4051eb82 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40579d91 in QEventLoop::processEvents(unsigned, int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40566080 in QApplication::processEvents(int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40566047 in QApplication::processEvents() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x08081bec in PlaybackBox::play(ProgramInfo*) (this=0xbfffd570, 
    rec=0x85f07f0) at playbackbox.cpp:1270
	tvrec = (ProgramInfo *) 0x85f0b90
	db = (struct QSqlDatabase *) 0x846a3d8
	tv = (class TV *) 0x85a3b48
	doremove = 255
	doprompt = 255
#11 0x08081978 in PlaybackBox::selected() (this=0xbfffd570)
    at playbackbox.cpp:1236
No locals.
#12 0x0808506b in PlaybackBox::keyPressEvent(QKeyEvent*) (this=0xbfffd570, 
    e=0xbfffd160) at playbackbox.cpp:1783
	handled = true
#13 0x405f806c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x40565f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#15 0x40565ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#16 0x4050dabe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#17 0x40509d14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#18 0x4051ebda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#19 0x40579cf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#20 0x405661b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#21 0x401223bd in MythDialog::exec() (this=0xbfffd570) at mythdialogs.cpp:268
	res = 21163192
#22 0x0806c9a8 in startPlayback() () at main.cpp:88
	pbb = {<MythDialog> = {<> = {<No data fields>}, 
    static metaObj = 0x849a388, wmult = 1, hmult = 1, screenwidth = 800, 
    screenheight = 600, m_parent = 0x8488fd8, rescode = 0, in_loop = true}, 
  static metaObj = 0x84907f0, backup = {<Qt> = {static color0 = @0x409cfe20, 
      static color1 = @0x409cfe28, static black = @0x409cfe30, 
      static white = @0x409cfe38, static darkGray = @0x409cfe40, 
      static gray = @0x409cfe48, static lightGray = @0x409cfe50, 
      static red = @0x409cfe58, static green = @0x409cfe60, 
      static blue = @0x409cfe68, static cyan = @0x409cfe70, 
      static magenta = @0x409cfe78, static yellow = @0x409cfe80, 
      static darkRed = @0x409cfe88, static darkGreen = @0x409cfe90, 
      static darkBlue = @0x409cfe98, static darkCyan = @0x409cfea0, 
      static darkMagenta = @0x409cfea8, static darkYellow = @0x409cfeb0, 
      static arrowCursor = @0x409ce800, static upArrowCursor = @0x409ce804, 
      static crossCursor = @0x409ce808, static waitCursor = @0x409ce80c, 
      static ibeamCursor = @0x409ce810, static sizeVerCursor = @0x409ce814, 
      static sizeHorCursor = @0x409ce818, 
      static sizeBDiagCursor = @0x409ce81c, 
      static sizeFDiagCursor = @0x409ce820, 
      static sizeAllCursor = @0x409ce824, static blankCursor = @0x409ce828, 
      static splitVCursor = @0x409ce830, static splitHCursor = @0x409ce82c, 
      static pointingHandCursor = @0x409ce834, 
      static forbiddenCursor = @0x409ce838, 
      static whatsThisCursor = @0x409ce83c}, flags = 4, d = 0x0, pdev = 0x0, 
    bg_col = {static color_init = true, static globals_init = true, 
      static colormodel = d32, d = {argb = 4294967295, d8 = {
          argb = 4294967295, pix = 84 'T', invalid = 82 'R', dirty = 73 'I', 
          direct = 68 'D'}, d32 = {argb = 4294967295, pix = 1145655892}}}, 
    bg_mode = 0 '\0', rop = 0 '\0', pu = 0 '\0', bro = {xp = 0, yp = 0}, 
    cfont = {d = 0x845b640}, pfont = 0x0, cpen = {<Qt> = {
        static color0 = @0x409cfe20, static color1 = @0x409cfe28, 
        static black = @0x409cfe30, static white = @0x409cfe38, 
        static darkGray = @0x409cfe40, static gray = @0x409cfe48, 
        static lightGray = @0x409cfe50, static red = @0x409cfe58, 
        static green = @0x409cfe60, static blue = @0x409cfe68, 
        static cyan = @0x409cfe70, static magenta = @0x409cfe78, 
        static yellow = @0x409cfe80, static darkRed = @0x409cfe88, 
        static darkGreen = @0x409cfe90, static darkBlue = @0x409cfe98, 
        static darkCyan = @0x409cfea0, static darkMagenta = @0x409cfea8, 
        static darkYellow = @0x409cfeb0, static arrowCursor = @0x409ce800, 
        static upArrowCursor = @0x409ce804, static crossCursor = @0x409ce808, 
        static waitCursor = @0x409ce80c, static ibeamCursor = @0x409ce810, 
        static sizeVerCursor = @0x409ce814, 
        static sizeHorCursor = @0x409ce818, 
        static sizeBDiagCursor = @0x409ce81c, 
        static sizeFDiagCursor = @0x409ce820, 
        static sizeAllCursor = @0x409ce824, static blankCursor = @0x409ce828, 
        static splitVCursor = @0x409ce830, static splitHCursor = @0x409ce82c, 
        static pointingHandCursor = @0x409ce834, 
        static forbiddenCursor = @0x409ce838, 
        static whatsThisCursor = @0x409ce83c}, data = 0x8494260}, 
    cbrush = {<Qt> = {static color0 = @0x409cfe20, 
        static color1 = @0x409cfe28, static black = @0x409cfe30, 
        static white = @0x409cfe38, static darkGray = @0x409cfe40, 
        static gray = @0x409cfe48, static lightGray = @0x409cfe50, 
        static red = @0x409cfe58, static green = @0x409cfe60, 
        static blue = @0x409cfe68, static cyan = @0x409cfe70, 
        static magenta = @0x409cfe78, static yellow = @0x409cfe80, 
        static darkRed = @0x409cfe88, static darkGreen = @0x409cfe90, 
        static darkBlue = @0x409cfe98, static darkCyan = @0x409cfea0, 
        static darkMagenta = @0x409cfea8, static darkYellow = @0x409cfeb0, 
        static arrowCursor = @0x409ce800, static upArrowCursor = @0x409ce804, 
        static crossCursor = @0x409ce808, static waitCursor = @0x409ce80c, 
        static ibeamCursor = @0x409ce810, static sizeVerCursor = @0x409ce814, 
        static sizeHorCursor = @0x409ce818, 
        static sizeBDiagCursor = @0x409ce81c, 
        static sizeFDiagCursor = @0x409ce820, 
        static sizeAllCursor = @0x409ce824, static blankCursor = @0x409ce828, 
        static splitVCursor = @0x409ce830, static splitHCursor = @0x409ce82c, 
        static pointingHandCursor = @0x409ce834, 
        static forbiddenCursor = @0x409ce838, 
        static whatsThisCursor = @0x409ce83c}, data = 0x845b048}, crgn = {
      data = 0x8476f88}, tabstops = 0, tabarray = 0x0, tabarraylen = 0, 
    block_ext = false, wx = 16777716, wy = 64, ww = -1073752400, 
    wh = 139018852, vx = 139018848, vy = 1107773195, vw = 1108548116, 
    vh = 1108550432, wxmat = {_m11 = 1, _m12 = 0, _m21 = 0, _m22 = 1, _dx = 0, 
      _dy = 0}, xmat = {_m11 = 1, _m12 = 0, _m21 = 0, _m22 = 1, _dx = 0, 
      _dy = 0}, ixmat = {_m11 = 1, _m12 = 0, _m21 = 0, _m22 = 1, _dx = 0, 
      _dy = 0}, txop = 0, txinv = false, penRef = 0x0, brushRef = 0x0, 
    ps_stack = 0x0, wm_stack = 0x0, dpy = 0x0, scrn = 1108550432, 
    hd = 138997944, rendhd = 3221215064, gc = 0x0, gc_brush = 0x0, curPt = {
      xp = 0, yp = 0}, clip_serial = 0}, skipUpdate = true, noUpdate = true, 
  pageDowner = true, curitem = 0x85f07f0, delitem = 0x0, theme = 0x8490f70, 
  xmldata = <incomplete type>, skipNum = 0, skipCnt = 0, listCount = 7, 
  inTitle = false, playingVideo = false, leftRight = false, curTitle = 0, 
  curShowing = 0, titleData = 0x84b7064, showList = {sh = 0x84992f0}, 
  showData = {sh = 0x84685a0}, showDateData = {sh = 0x848f3f8}, type = Play, 
  timer = 0x85eaed0, nvp = 0x0, rbuffer = 0x0, decoder = 64, lastUpdateTime = {
    d = {jd = 2452874}, t = {ds = 59409838}}, ignoreevents = true, 
  graphicPopup = true, playbackPreview = false, generatePreviewPixmap = false, 
  displayChanNum = false, dateformat = {static null = {
      static null = <same as static member of an already seen type>, 
      d = 0x842b328, static shared_null = 0x842b328}, d = 0x86483c8, 
    static shared_null = 0x842b328}, timeformat = {static null = {
      static null = <same as static member of an already seen type>, 
      d = 0x842b328, static shared_null = 0x842b328}, d = 0x8647e00, 
    static shared_null = 0x842b328}, showDateFormat = {static null = {
      static null = <same as static member of an already seen type>, 
      d = 0x842b328, static shared_null = 0x842b328}, d = 0x84937a8, 
    static shared_null = 0x842b328}, showTimeFormat = {static null = {
      static null = <same as static member of an already seen type>, 
      d = 0x842b328, static shared_null = 0x842b328}, d = 0x84900f8, 
    static shared_null = 0x842b328}, popup = 0x0, 
  myBackground = <incomplete type>, containerPixmap = 0x848f208, 
  fillerPixmap = 0x848f0b8, bgTransBackup = 0x8490110, fullRect = {x1 = 0, 
    y1 = 0, x2 = 799, y2 = 599}, listRect = {x1 = 0, y1 = 50, x2 = 799, 
    y2 = 359}, infoRect = {x1 = 0, y1 = 350, x2 = 598, y2 = 604}, usageRect = {
    x1 = 0, y1 = 550, x2 = 799, y2 = 599}, videoRect = {x1 = 610, y1 = 375, 
    x2 = 769, y2 = 494}, listsize = 7, titleitems = 336, popupForeground = {
    static color_init = true, static globals_init = true, 
    static colormodel = d32, d = {argb = 4294967295, d8 = {argb = 4294967295, 
        pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, 
      d32 = {argb = 4294967295, pix = 1145655892}}}, popupBackground = {
    static color_init = true, static globals_init = true, 
    static colormodel = d32, d = {argb = 1224736768, d8 = {argb = 1224736768, 
        pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, 
      d32 = {argb = 1224736768, pix = 1145655892}}}, popupHighlight = {
    static color_init = true, static globals_init = true, 
    static colormodel = d32, d = {argb = 4278286258, d8 = {argb = 4278286258, 
        pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, 
      d32 = {argb = 4278286258, pix = 1145655892}}}, expectingPopup = false}
#23 0x0806d021 in TVMenuCallback(void*, QString&) (data=0x845c2b8, 
    selection=@0x848f208) at main.cpp:215
	sel = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x842b328, static shared_null = 0x842b328}, d = 0x84a3010, 
  static shared_null = 0x842b328}
#24 0x400d9809 in ThemedMenu::handleAction(QString&) (this=0x848f0b8, 
    action=@0x8494a8c) at themedmenu.cpp:1766
No locals.
#25 0x400d8576 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x848f0b8, 
    e=0xbfffdf60) at themedmenu.cpp:1634
	handled = false
	lastbutton = (ThemedButton *) 0x8494a50
	oldrow = 2
#26 0x405f806c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#27 0x40565f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#28 0x40565ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#29 0x40121ad8 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x8488fd8, 
    e=0xbfffdf60) at mythdialogs.cpp:120
	current = (struct QWidget *) 0x848f0b8
#30 0x405f806c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#31 0x40565f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#32 0x40565ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#33 0x4050dabe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#34 0x40509d14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#35 0x4051ebda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#36 0x40579cf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#37 0x405661b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#38 0x401223bd in MythDialog::exec() (this=0x848f0b8) at mythdialogs.cpp:268
	res = 1074930498
#39 0x0806de90 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x842b328, static shared_null = 0x842b328}, d = 0x848aec8, static shared_null = 0x842b328}) at main.cpp:327
	exitstatus = 0
#40 0x0806f749 in main (argc=1, argv=0xbfffe564) at main.cpp:487
	lcd_host = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x842b328, static shared_null = 0x842b328}, d = 0x848c4e0, 
  static shared_null = 0x842b328}
	lcd_port = 0
	a = <incomplete type>
	translator = <incomplete type>
	db = (struct QSqlDatabase *) 0x846a3d8
	themename = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x842b328, static shared_null = 0x842b328}, d = 0x8488f10, 
  static shared_null = 0x842b328}
	randomtheme = false
	themedir = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x842b328, static shared_null = 0x842b328}, d = 0x848aec8, 
  static shared_null = 0x842b328}
	mainWindow = (class MythMainWindow *) 0x8488fd8
	exitstatus = 10
#41 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
(gdb) 


More information about the mythtv-dev mailing list