[mythtv] FF/REW hangups
Mark Setzer
mark at setz.org
Thu Apr 14 01:14:54 UTC 2005
Apologies for spamming the list, but I've noticed a problem since the
0.17 release that I've just gotten time to grab a backtrace on.
Generally speaking, I'll be watching a recording either in progress
already, or watching delayed live TV, something where commercial
flagging and transcoding haven't been performed yet. When
fast-forwarding through the program, after roughly 5 seconds, the
playback simply hangs. Pressing Select/Play or Back usually clears it
after a second or two delay, but needless to say this is rather
bothersome for fast-forwarding any significant chunk of video. What
I've had to do is crank up the speed quickly to, say, 60x, and hope
that I can find the spot to resume playing without it hanging.
This does NOT happen, however, with transcoded recordings, something I
find significant, but maybe we've been down that road before. I saw
some discussion of this in the archives, but I'm not positive that
anyone tracked down the problem or could recreate it themselves. I'm
using 4/12 CVS. Hopefully this backtrace will shine some light on it
for someone out there:
Program received signal SIGINT, Interrupt.
[Switching to Thread -1234121792 (LWP 30958)]
0xb68f45dc in nanosleep () from /lib/tls/libc.so.6
(gdb) thread apply all bt
Thread 13 (Thread -1363588176 (LWP 31083)):
#0 0xb6a6c440 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#1 0xb705b407 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
#2 0xb7c0d2ca in NuppelVideoPlayer::OutputVideoLoop (this=0x8211b90)
at NuppelVideoPlayer.cpp:1607
#3 0xb7c0da8a in NuppelVideoPlayer::kickoffOutputVideoLoop
(player=0x8211b90)
at NuppelVideoPlayer.cpp:1703
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 12 (Thread -1302643792 (LWP 31082)):
#0 0xb68f45dc in nanosleep () from /lib/tls/libc.so.6
#1 0xb691cd4a in usleep () from /lib/tls/libc.so.6
#2 0xb75eaab4 in AudioOutputBase::OutputAudioLoop (this=0xafa87008)
at audiooutputbase.cpp:711
#3 0xb75ec394 in AudioOutputBase::kickoffOutputAudioLoop
(player=0xafa87008)
at audiooutputbase.cpp:872
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 11 (Thread -1317311568 (LWP 31081)):
---Type <return> to continue, or q <return> to quit---
#0 0xb68f45dc in nanosleep () from /lib/tls/libc.so.6
#1 0xb691cd4a in usleep () from /lib/tls/libc.so.6
#2 0xb7c9b46e in RingBuffer::ReadAheadThread (this=0x82123c8)
at RingBuffer.cpp:934
#3 0xb7c9aa2b in RingBuffer::startReader (type=0x82123c8)
at RingBuffer.cpp:792
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 10 (Thread -1328800848 (LWP 31080)):
#0 0xb6a6c440 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#1 0xb705b2e0 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
#2 0xb7c08a23 in NuppelVideoPlayer::GetFrame (this=0x8211b90,
onlyvideo=1,
unsafe=false) at NuppelVideoPlayer.cpp:825
#3 0xb7c0ef7c in NuppelVideoPlayer::StartPlaying (this=0x8211b90)
at NuppelVideoPlayer.cpp:2023
#4 0xb7cc1a9f in SpawnDecode (param=0x8211b90) at tv_play.cpp:210
#5 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#6 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 9 (Thread -1337189456 (LWP 31079)):
#0 0xb68f45dc in nanosleep () from /lib/tls/libc.so.6
#1 0xb691cd4a in usleep () from /lib/tls/libc.so.6
#2 0xb7cc95a5 in TV::RunTV (this=0x8b2f070) at tv_play.cpp:1105
#3 0xb7cc8e9b in TV::EventThread (param=0x8b2f070) at tv_play.cpp:1046
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 4 (Thread -1234932816 (LWP 30960)):
#0 0xb6a6c295 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#1 0xb705b339 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
#2 0xb75013dc in MythContext::waitPrivRequest (this=0x819b9c0)
at mythcontext.cpp:2356
#3 0x0806f0f6 in run_priv_thread (data=0x0) at main.cpp:663
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 3 (Thread -1249109072 (LWP 30961)):
#0 0xb6a6e651 in __read_nocancel () from /lib/tls/libpthread.so.0
#1 0xb6848eb9 in lirc_nextcode (code=0xb58c1a58) at lirc_client.c:1493
#2 0xb761b176 in LircClient::Process (this=0x81d7280) at lirc.cpp:67
#3 0xb75a497a in SpawnLirc (param=0x81b72c8) at mythdialogs.cpp:53
#4 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 2 (Thread -1257497680 (LWP 30966)):
#0 0xb6a6c440 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#1 0xb6d56647 in QThread::exit () from /usr/lib/libqt-mt.so.3
#2 0xb6d56752 in QThread::msleep () from /usr/lib/libqt-mt.so.3
#3 0xb760c1d7 in MonitorThread::run (this=0x81dc458)
at mythmediamonitor.cpp:77
#4 0xb6d562ca in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#5 0xb6a69b63 in start_thread () from /lib/tls/libpthread.so.0
#6 0xb6922c4a in clone () from /lib/tls/libc.so.6
Thread 1 (Thread -1234121792 (LWP 30958)):
#0 0xb68f45dc in nanosleep () from /lib/tls/libc.so.6
#1 0xb691cd4a in usleep () from /lib/tls/libc.so.6
#2 0x0808b8b9 in PlaybackBox::play (this=0xbfffe5e0, rec=0x81fa078)
at playbackbox.cpp:1687
#3 0x0808a7fb in PlaybackBox::playSelected (this=0xbfffe5e0)
at playbackbox.cpp:1476
#4 0x0808ab1b in PlaybackBox::selected (this=0xbfffe5e0)
at playbackbox.cpp:1562
#5 0x080948bc in PlaybackBox::keyPressEvent (this=0xbfffe5e0,
e=0xbfffe0b0)
at playbackbox.cpp:2994
#6 0xb6df5785 in QWidget::event () from /usr/lib/libqt-mt.so.3
#7 0xb6d62bff in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#8 0xb6d626f4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#9 0xb75040c6 in QApplication::sendEvent (receiver=0xbfffe5e0,
event=0xbfffe0b0) at qapplication.h:491
#10 0xb75ad4c1 in MythMainWindow::customEvent (this=0x81b72c8,
ce=0xb47013a0)
at mythdialogs.cpp:743
#11 0xb6dbcdbc in QObject::event () from /usr/lib/libqt-mt.so.3
#12 0xb6df56af in QWidget::event () from /usr/lib/libqt-mt.so.3
#13 0xb6d62bff in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#14 0xb6d621fe in QApplication::notify () from /usr/lib/libqt-mt.so.3
#15 0xb6d639f6 in QApplication::sendPostedEvents () from
/usr/lib/libqt-mt.so.3
#16 0xb6d63876 in QApplication::sendPostedEvents () from
/usr/lib/libqt-mt.so.3
#17 0xb6d0c13d in QEventLoop::processEvents () from
/usr/lib/libqt-mt.so.3
#18 0xb6d74f58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#19 0xb6d62eb1 in QApplication::enter_loop () from
/usr/lib/libqt-mt.so.3
#20 0xb75ae617 in MythDialog::exec (this=0xbfffe5e0) at
mythdialogs.cpp:945
#21 0x0806bec0 in startPlayback () at main.cpp:188
#22 0x0806c866 in TVMenuCallback (data=0x819b9c0, selection=@0x81c0878)
at main.cpp:350
#23 0xb754254e in ThemedMenuPrivate::handleAction (this=0x81c0780,
action=@0x81e9c18) at themedmenu.cpp:2464
#24 0xb75409a9 in ThemedMenuPrivate::keyPressHandler (this=0x81c0780,
e=0xbffff410) at themedmenu.cpp:2293
#25 0xb7543c6e in ThemedMenu::keyPressEvent (this=0x82249e8,
e=0xbffff410)
at themedmenu.cpp:2658
#26 0xb6df5785 in QWidget::event () from /usr/lib/libqt-mt.so.3
#27 0xb6d62bff in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#28 0xb6d626f4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#29 0xb75acd81 in MythMainWindow::keyPressEvent (this=0x81b72c8,
e=0xbffff410)
at mythdialogs.cpp:653
#30 0xb6df5785 in QWidget::event () from /usr/lib/libqt-mt.so.3
#31 0xb6d62bff in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#32 0xb6d626f4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#33 0xb75040c6 in QApplication::sendEvent (receiver=0x81b72c8,
event=0xbffff410) at qapplication.h:491
#34 0xb75ad4c1 in MythMainWindow::customEvent (this=0x81b72c8,
ce=0xb4700890)
at mythdialogs.cpp:743
#35 0xb6dbcdbc in QObject::event () from /usr/lib/libqt-mt.so.3
#36 0xb6df56af in QWidget::event () from /usr/lib/libqt-mt.so.3
#37 0xb6d62bff in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#38 0xb6d621fe in QApplication::notify () from /usr/lib/libqt-mt.so.3
#39 0xb6d639f6 in QApplication::sendPostedEvents () from
/usr/lib/libqt-mt.so.3
#40 0xb6d63876 in QApplication::sendPostedEvents () from
/usr/lib/libqt-mt.so.3
#41 0xb6d0c13d in QEventLoop::processEvents () from
/usr/lib/libqt-mt.so.3
#42 0xb6d74f58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#43 0xb6d62eb1 in QApplication::enter_loop () from
/usr/lib/libqt-mt.so.3
#44 0xb75ae617 in MythDialog::exec (this=0x82249e8) at
mythdialogs.cpp:945
#45 0x0806d690 in RunMenu (themedir=
{static null = {static null = <same as static member of an
already seen type>, d = 0x815d070, static shared_null = 0x815d070}, d =
0x81bb5c8, static shared_null = 0x815d070}) at main.cpp:504
#46 0x08072cb1 in main (argc=1, argv=0xbffffd64) at main.cpp:1077
(gdb)
More information about the mythtv-dev
mailing list