[mythtv] Re: 0.17 - mythfrontend freezing at end of recordings

Sasha Z kleptophobiac at gmail.com
Fri Feb 18 01:41:42 UTC 2005


I'm still having this problem with CVS as of 2/17/2005. gdb output is
attached... wow it's long and meaningless to my uninitiated self.
-------------- next part --------------
2005-02-17 20:30:15.673 Video timing method: SGI OpenGL
2005-02-17 20:30:18.532 WriteAudio: buffer underrun
2005-02-17 20:30:19.063 WriteAudio: buffer underrun
2005-02-17 20:30:19.863 WriteAudio: buffer underrun
2005-02-17 20:30:20.681 WriteAudio: buffer underrun
2005-02-17 20:30:21.293 WriteAudio: buffer underrun
2005-02-17 20:30:22.006 WriteAudio: buffer underrun
2005-02-17 20:30:40.250 WriteAudio: buffer underrun
2005-02-17 20:30:46.432 WriteAudio: buffer underrun
2005-02-17 20:30:48.175 WriteAudio: buffer underrun
2005-02-17 20:30:49.010 WriteAudio: buffer underrun
2005-02-17 20:32:57.360 WriteAudio: buffer underrun
2005-02-17 20:32:57.366 Searching for frame header.

Program received signal SIGINT, Interrupt.
[Switching to Thread 65540 (LWP 8724)]
0xb6a9d8b6 in nanosleep () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 13 (Thread 180233 (LNo symbol table info available.
#9  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 12 (Thread 163845 (LWP 8734)):
#0  0xb6919f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0xb6945c3a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0xb764e519 in AudioOutputBase::OutputAudioLoop (this=0xb4581008)
    at audiooutputbase.cpp:709
        space_on_soundcard = 10112
        last_space_on_soundcard = 10112
        zeros = "\000"
        fragment = "&ú"
        e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0},
  error_msg = 0x0, elasped_seconds = 0, written_bytes = 0, brate = 0,
  freq = 0, prec = 0, chan = 0}
#4  0xb764f6d9 in AudioOutputBase::kickoffOutputAudioLoop (player=0xb4581008)
    at audiooutputbase.cpp:870
No locals.WP 8737)):
#0  0xb6a9d8b6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0xb6a994ca in __pthread_timedsuspend_new () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb6a96115 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#4  0xb70cb297 in QWaitCondition::wait () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb7c2a9ac in NuppelVideoPlayer::OutputVideoLoop (this=0x82373f0)
    at NuppelVideoPlayer.cpp:1603
        frame = (VideoFrame *) 0x823fa70
        temp_speed = 1
        fr_int = 33366
#6  0xb7c2aff2 in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x82373f0)
    at NuppelVideoPlayer.cpp:1699
        nvp = (NuppelVideoPlayer *) 0x82373f0
#7  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
#5  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 10 (Thread 131080 (LWP 8730)):
#0  0xb6945361 in select () from /lib/libc.so.6
No symbol table info available.
#1  0xb7274170 in ?? () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x081c75c0 in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.
#5  0xb702b443 in QSocketDevice::waitForMore ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb757efcc in RemoteFile::Read (this=0x822e348, data=0xb4d50008,
    size=128000) at remotefile.cpp:240
        recv = 0
        sent = 128000
        zerocnt = 1
        error = false
        response = false
        strlist = {<QValueList<QString>> = {sh = 0xb572a378}, <No data fields>}
#7  0xb7cb5f5a in RingBuffer::safe_read (this=0x81a91b8, rf=0x822e348,
    data=0xb4d50008, sz=128000) at RingBuffer.cpp:616
        ret = 0
#8  0xb7cb6934 in RingBuffer::ReadAheadThread (this=0x81a91b8)
    at RingBuffer.cpp:820
        totfree = 128000
        ret = 42995
        used = 42996
#9  0xb7cb672e in RingBuffer::startReader (type=0x81a91b8)
    at RingBuffer.cpp:774
        rbuffer = (RingBuffer *) 0x81a91b8
#10 0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#12 0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 9 (Thread 114695 (LWP 8729)):
#0  0xb6a9d8b6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0xb6a994ca in __pthread_timedsuspend_new () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb6a96115 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#4  0xb70cb170 in QWaitCondition::wait () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb7cb7163 in RingBuffer::ReadFromBuf (this=0x81a91b8, buf=0x81ceec8,
    count=12) at RingBuffer.cpp:944
        readone = false
        readErr = 0
        avail = 1
#6  0xb7cb7941 in RingBuffer::Read (this=0x81a91b8, buf=0x81ceec8, count=12)
    at RingBuffer.cpp:1047
        ret = -1
#7  0xb7d47a64 in NuppelDecoder::ReadFrameheader (this=0x81cee18, fh=0x81ceec8)
    at nuppeldecoder.cpp:142
No locals.
#8  0xb7d4655e in NuppelDecoder::GetFrame (this=0x81cee18, avignore=1)
    at nuppeldecoder.cpp:897
        currentposition = 806021555
        framesearch = true
        gotvideo = false
        ret = false
        seeklen = 1
#9  0xb7c26f17 in NuppelVideoPlayer::GetFrame (this=0x82373f0, onlyvideo=1,
    unsafe=true) at NuppelVideoPlayer.cpp:839
No locals.
#10 0xb7c3647b in NuppelVideoPlayer::AutoCommercialSkip (this=0x82373f0)
    at NuppelVideoPlayer.cpp:4084
No locals.
#11 0xb7c2c536 in NuppelVideoPlayer::StartPlaying (this=0x82373f0)
    at NuppelVideoPlayer.cpp:2031
        output_video = 180233
        decoder_thread = 114695
        pausecheck = 3
#12 0xb7cdb672 in SpawnDecode (param=0x82373f0) at tv_play.cpp:197
        nvp = (NuppelVideoPlayer *) 0x82373f0
#13 0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#15 0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 8 (Thread 98310 (LWP 8728)):
#0  0xb6919f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0xb6945c3a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0xb7ce367e in TV::RunTV (this=0xb5769b10) at tv_play.cpp:1106
        keypressed = (QKeyEvent *) 0xb5035ba8
        updatecheck = 16
#4  0xb7ce2fb2 in TV::EventThread (param=0xb5769b10) at tv_play.cpp:1046
        thetv = (class TV *) 0xb5769b10
#5  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.
Thread 6 (Thread 65540 (LWP 8724)):
#0  0xb6a9d8b6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0xb6a994ca in __pthread_timedsuspend_new () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb6a96115 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#4  0xb6dc42a7 in QThread::exit () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb6dc43b2 in QThread::msleep () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb7662d74 in MonitorThread::run (this=0xb57166d0)
    at mythmediamonitor.cpp:77
No locals.
#7  0xb6dc3f2a in QThreadInstance::start () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#8  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#10 0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 4 (Thread 32771 (LWP 8721)):
#0  0xb6a9cf1b in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb67d16dc in ?? () from /usr/lib/liblirc_client.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0xb67cfcce in lirc_nextcode (code=0xbf5ffa4c) at lirc_client.c:1493
        packet_size = 100
        end_len = 0
        len = -512
        end = 0x0
        c = -75 'µ'
#4  0xb76705d8 in LircClient::Process (this=0x822dea8) at lirc.cpp:67
        code = 0x0
        ir = 0x0
        ret = 0
#5  0xb760b9a8 in SpawnLirc (param=0x81e0890) at mythdialogs.cpp:52
        main_window = (MythMainWindow *) 0x81e0890
        config_file = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x815a5a8, static shared_null = 0x815a5a8}, d = 0x822de90,
  static shared_null = 0x815a5a8}
        program = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x815a5a8, static shared_null = 0x815a5a8}, d = 0x81c67d0,
  static shared_null = 0x815a5a8}
        cl = (class LircClient *) 0x822dea8
#6  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 3 (Thread 16386 (LWP 8720)):
#0  0xb6a999f3 in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb6a98f88 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0xb6a95cd8 in pthread_cond_wait at GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb70cb1c9 in QWaitCondition::wait () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0xb756c1f6 in MythContext::waitPrivRequest (this=0x81a6c28)
    at mythcontext.cpp:2138
No locals.
#5  0x0806ce3b in run_priv_thread (data=0x0) at main.cpp:663
No locals.
#6  0xb6a9754e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb6a975df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 8719)):
#0  0xb6942eb1 in loser_poll () from /lib/libc.so.6
No symbol table info available.
#1  0xb6942e39 in poll () from /lib/libc.so.6
No symbol table info available.
#2  0xb6a969f0 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb6a96c17 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
#4  0xb694bb8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 8714)):
#0  0xb6919f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0xb6945c3a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0x0808764e in PlaybackBox::play (this=0xbfffe660, rec=0xb572b4c0)
    at playbackbox.cpp:1632
        playCompleted = false
        tvrec = (ProgramInfo *) 0xb572db28
        tv = (class TV *) 0xb5769b10
        doremove = 181
        doprompt = 3
#4  0x080869e5 in PlaybackBox::playSelected (this=0xbfffe660)
    at playbackbox.cpp:1430
No locals.
#5  0x08086dd0 in PlaybackBox::selected (this=0xbfffe660)
    at playbackbox.cpp:1517
No locals.
#6  0x0808d04f in PlaybackBox::keyPressEvent (this=0xbfffe660, e=0xbfffe110)
    at playbackbox.cpp:2645
        action = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x815a5a8, static shared_null = 0x815a5a8}, d = 0x81cdd30,
  static shared_null = 0x815a5a8}
        i = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0xb57e9d98}, <No data fields>}
#7  0xb6e63325 in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#8  0xb6dd084f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb6dd0344 in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb756ee6f in QApplication::sendEvent (receiver=0xbfffe660,
    event=0xbfffe110) at qapplication.h:491
No locals.
#11 0xb7613bcc in MythMainWindow::customEvent (this=0x81e0890, ce=0xb5729c68)
    at mythdialogs.cpp:751
        k = 4101
        ascii = 0
        key = {<> = {<No data fields>}, txt = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x815a5a8, static shared_null = 0x815a5a8}, d = 0x815a5a8,
    static shared_null = 0x815a5a8}, k = 4101, s = 0, a = 0 '\0', accpt = 1,
  autor = 0, c = 1}
        mod = 0
        text = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x815a5a8, static shared_null = 0x815a5a8}, d = 0x815a5a8,
  static shared_null = 0x815a5a8}
        key_target = (struct QObject *) 0xbfffe660
        lke = (class LircKeycodeEvent *) 0xb5729c68
        keycode = 4101
#12 0xb6e2a99c in QObject::event () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#13 0xb6e6324f in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#14 0xb6dd084f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb6dcfe4e in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb6dd1646 in QApplication::sendPostedEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#17 0xb6dd14c6 in QApplication::sendPostedEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#18 0xb6d7ae4d in QEventLoop::processEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#19 0xb6de2ba8 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb6dd0b01 in QApplication::enter_loop ()
   from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#21 0xb7614dbb in MythDialog::exec (this=0xbfffe660) at mythdialogs.cpp:954
        res = 16777216
#22 0x08069ab2 in startPlayback () at main.cpp:199
        pbb = {<MythDialog> = {<> = {<No data fields>},
    static metaObj = 0xb5712ae0, wmult = 0.730000019, hmult = 0.783333361,
    screenwidth = 584, screenheight = 470, xbase = 28, ybase = 0,
    m_parent = 0x81e0890, rescode = 0, in_loop = true, defaultBigFont = {
      d = 0xb570f828}, defaultMediumFont = {d = 0xb57447d8},
    defaultSmallFont = {d = 0xb5746b70}}, static metaObj = 0xb57eb668,
  backup = {<Qt> = {static color0 = @0xb727fa80, static color1 = @0xb727fa88,
      static black = @0xb727fa90, static white = @0xb727fa98,
      static darkGray = @0xb727faa0, static gray = @0xb727faa8,
      static lightGray = @0xb727fab0, static red = @0xb727fab8,
      static green = @0xb727fac0, static blue = @0xb727fac8,
      static cyan = @0xb727fad0, static magenta = @0xb727fad8,
      static yellow = @0xb727fae0, static darkRed = @0xb727fae8,
      static darkGreen = @0xb727faf0, static darkBlue = @0xb727faf8,
      static darkCyan = @0xb727fb00, static darkMagenta = @0xb727fb08,
      static darkYellow = @0xb727fb10, static arrowCursor = @0xb727e180,
      static upArrowCursor = @0xb727e184, static crossCursor = @0xb727e188,
      static waitCursor = @0xb727e18c, static ibeamCursor = @0xb727e190,
      static sizeVerCursor = @0xb727e194, static sizeHorCursor = @0xb727e198,
      static sizeBDiagCursor = @0xb727e19c,
      static sizeFDiagCursor = @0xb727e1a0,
      static sizeAllCursor = @0xb727e1a4, static blankCursor = @0xb727e1a8,
      static splitVCursor = @0xb727e1ac, static splitHCursor = @0xb727e1b0,
      static pointingHandCursor = @0xb727e1b4,
      static forbiddenCursor = @0xb727e1b8,
      static whatsThisCursor = @0xb727e1bc, static busyCursor = @0xb727e1c0},
    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',
#0  0xb6a9d8b6 in nanosleep () from /lib/libpthread.so.0


More information about the mythtv-dev mailing list