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

cmisip cmisip at insightbb.com
Thu Aug 21 23:43:09 EDT 2003


I get this problem with both the master backend and slave backend.  When
I press the seek button, especially if i press it fast consecutively,
the show just hangs and eventually quits to the  previous menu.  To deal
with this, I press save position at the time of the hang, exit from the
screen and then select the movie again to go back to where I was
watching it.  If I set seek to sticky keys, the error seems to be
reproduced at a specific point in the recording.   I tried this under
gdb.  When I encountered the hang, I killed mythfrontend and got the
outuput attached.  Thanks.


-------------- next part --------------
Current directory is ~/source/mythtv011/mythtv-0.11/
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 8439)]
connecting to backend server: 192.168.1.2:6543
[New Thread 1116949808 (LWP 8442)]
[New Thread 1125342512 (LWP 8443)]
[New Thread 1133735216 (LWP 8444)]
Opening OSS audio device '/dev/dsp0'.
[New Thread 1152871728 (LWP 8445)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 139
[New Thread 1169837360 (LWP 8446)]
Changing from None to WatchingPreRecorded
rebuffering (127306 128000)
rebuffering (118410 128000)
rebuffering (118923 128000)
rebuffering (123935 128000)

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

Thread 6 (Thread 1169837360 (LWP 8446)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x080f394f in NuppelVideoPlayer::OutputVideoLoop() (this=0x8655d08)
    at NuppelVideoPlayer.cpp:1299
	buf = (VideoFrame *) 0x8656450
	scratchFrame = (VideoFrame *) 0x8656488
#2  0x080f3bf9 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (
    player=0x8655d08) 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 8445)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x4012925b in AudioOutputOSS::OutputAudioLoop() (this=0x41d9a008)
    at audiooutputoss.cpp:480
	bytesperframe = 4268
	space_on_soundcard = 788
	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 8444)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x0814ab6b in RingBuffer::startReader(void*) (type=0x85fb180)
    at RingBuffer.cpp:673
	rbuffer = (RingBuffer *) 0x85fb180
#2  0x409d9332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

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

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

Thread 1 (Thread 1092147008 (LWP 8439)):
#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=0xbfffd060, 
    rec=0x85f2800) at playbackbox.cpp:1270
	tvrec = (ProgramInfo *) 0x85f2ea8
	db = (struct QSqlDatabase *) 0x846a3d8
	tv = (class TV *) 0x84b69e8
	doremove = 255
	doprompt = 255
#11 0x08081978 in PlaybackBox::selected() (this=0xbfffd060)
    at playbackbox.cpp:1236
No locals.
#12 0x0808506b in PlaybackBox::keyPressEvent(QKeyEvent*) (this=0xbfffd060, 
    e=0xbfffcc50) 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=0xbfffd060) at mythdialogs.cpp:268
	res = 21163192
#22 0x0806c9a8 in startPlayback() () at main.cpp:88
	pbb = {<MythDialog> = {<> = {<No data fields>}, 
    static metaObj = 0x849d318, wmult = 1, hmult = 1, screenwidth = 800, 
    screenheight = 600, m_parent = 0x8488fd8, rescode = 0, in_loop = true}, 
  static metaObj = 0x8469cb0, 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 = 32 ' ', 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 = 0x8494e80}, 
    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 = 0x8476f60}, tabstops = 0, tabarray = 0x0, tabarraylen = 0, 
    block_ext = false, wx = 18874868, wy = 64, ww = -1073753696, 
    wh = 139076484, vx = 139076480, 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 = 139000608, rendhd = 3221213768, gc = 0x0, gc_brush = 0x0, curPt = {
      xp = 0, yp = 0}, clip_serial = 0}, skipUpdate = true, noUpdate = true, 
  pageDowner = true, curitem = 0x85f2800, delitem = 0x0, theme = 0x84990b0, 
  xmldata = <incomplete type>, skipNum = 6, skipCnt = 0, listCount = 7, 
  inTitle = false, playingVideo = false, leftRight = false, curTitle = 0, 
  curShowing = 3, titleData = 0x84b8984, showList = {sh = 0x845e608}, 
  showData = {sh = 0x848a8a0}, showDateData = {sh = 0x845e910}, type = Play, 
  timer = 0x85eaf98, nvp = 0x0, rbuffer = 0x0, decoder = 64, lastUpdateTime = {
    d = {jd = 2452873}, t = {ds = 81324526}}, 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 = 0x8647df8, 
    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 = 0x8647830, 
    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 = 0x84909c0, 
    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 = 0x84937a0, 
    static shared_null = 0x842b328}, popup = 0x0, 
  myBackground = <incomplete type>, containerPixmap = 0x848fc70, 
  fillerPixmap = 0x848fb20, bgTransBackup = 0x84937c8, 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=@0x848fc70) 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 = 0x849d2c0, 
  static shared_null = 0x842b328}
#24 0x400d9809 in ThemedMenu::handleAction(QString&) (this=0x848fb20, 
    action=@0x849cff4) at themedmenu.cpp:1766
No locals.
#25 0x400d8576 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x848fb20, 
    e=0xbfffda50) at themedmenu.cpp:1634
	handled = false
	lastbutton = (ThemedButton *) 0x849cfb8
	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=0xbfffda50) at mythdialogs.cpp:120
	current = (struct QWidget *) 0x848fb20
#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=0x848fb20) 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=0xbfffe054) 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 = 0x848c580, 
  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