[mythtv-users] myth CVS hang

Isaac Richards ijr at case.edu
Fri Jan 28 02:21:02 EST 2005


On Friday 28 January 2005 01:48 am, William Lott wrote:
> Every couple of days the mythtv backend hangs on me.  I haven't been
> able to figure out what triggers it and the backend log doesn't give any
> hints.  This started happening sometime Novemberish while I was still
> running 0.16 and has persisted past switching to CVS (Jan 1 update).  If
> anyone can give me any suggestions, I'd be greatly appreciative.  I love
> my mythtv box, but not being able to rely on it has become quite
> frustrating.  And my friends who though I should just get a tivo are
> starting to snicker.
>
> Appended is a backtrace, but I forgot to recompile with debug info so I
> don't know how useful it will be.  I'm going to start a recompile as
> soon as I send this message, but I figured I'd send this teaser out in
> case it means anything to anyone.

Well, debugging info would be nice, but, based on where one of the threads 
looked to be stuck, I'd guess that it's stuck waiting on the ivtv driver to 
respond.  You should be able to verify this by putting
   printf("recording finished\n"); 

at the end of libs/libmythtv/mpegrecorder.cpp's StartRecording() function, 
around line 463 or so.

Isaac

> The machine in question is an Athlon XP 2k+, ASUS A7V8X-MX SE mobo, 512M
> ram, two Haupguage PVR 250s, and a GeForce 4 MX.  I'm running Fedora
> Core 1 setup using Jarod's guide and the latest stable ATrpms.  I'm
> using the 6106 nvidia drivers.
>
> Thank you all,
>
> -William Lott
>
>
>
> (gdb) thread apply all bt full
>
> Thread 14 (Thread 25910192 (LWP 8956)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x00930e83 in pthread_join () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #2  0x041014c0 in TVRec::TeardownRecorder(bool) ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #3  0x040fe903 in TVRec::HandleStateChange() ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #4  0x04102ca8 in TVRec::RunTV() () from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #5  0x0410247e in TVRec::EventThread(void*) ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #6  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #7  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 13 (Thread 83180464 (LWP 8958)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x0076b586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> No symbol table info available.
> #2  0x007993fa in usleep () from /lib/tls/libc.so.6
> No symbol table info available.
> #3  0x041024d6 in TVRec::RunTV() () from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #4  0x0410247e in TVRec::EventThread(void*) ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #5  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #6  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 12 (Thread 36400048 (LWP 8959)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #1  0x0076b586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> No symbol table info available.
> #2  0x007993fa in usleep () from /lib/tls/libc.so.6
> No symbol table info available.
> #3  0x040fdce1 in TVRec::StartRecording(ProgramInfo*) ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #4  0x08057fbf in EncoderLink::StartRecording(ProgramInfo*) ()
> No symbol table info available.
> #5  0x0808bbc1 in Scheduler::RunScheduler() ()
> No symbol table info available.
> #6  0x0808d9df in Scheduler::SchedulerThread(void*) ()
> No symbol table info available.
> #7  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #8  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 11 (Thread 46889904 (LWP 8960)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x0076b586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> No symbol table info available.
> #2  0x0076b3af in sleep () from /lib/tls/libc.so.6
> No symbol table info available.
> #3  0x08052326 in AutoExpire::RunExpirer() ()
> No symbol table info available.
> #4  0x0805359f in AutoExpire::ExpirerThread(void*) ()
> No symbol table info available.
> #5  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #6  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 10 (Thread 93670320 (LWP 8961)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x0076b586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> No symbol table info available.
> #2  0x0076b3af in sleep () from /lib/tls/libc.so.6
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #3  0x08096605 in HouseKeeper::RunHouseKeeping() ()
> No symbol table info available.
> #4  0x08097aff in HouseKeeper::doHouseKeepingThread(void*) ()
> No symbol table info available.
> #5  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #6  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 9 (Thread 121670576 (LWP 8962)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x0076b586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> No symbol table info available.
> #2  0x0076b3af in sleep () from /lib/tls/libc.so.6
> No symbol table info available.
> #3  0x040ccf00 in JobQueue::ProcessQueue() () from
> /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #4  0x040cc15a in JobQueue::RunQueueProcesser() ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #5  0x040cc18e in JobQueue::QueueProcesserThread(void*) ()
>     from /usr/lib/libmythtv-0.16.so.0
> No symbol table info available.
> #6  0x0092f7fc in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #7  0x0079faba in clone () from /lib/tls/libc.so.6
> No symbol table info available.
>
> Thread 8 (Thread 145410992 (LWP 8963)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x00932424 in pthread_cond_wait@@GLIBC_2.3.2 ()
>     from /lib/tls/libpthread.so.0
> No symbol table info available.
> #2  0x0682f408 in QWaitCondition::wait(QMutex*, unsigned long) ()
>     from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> No symbol table info available.
> #3  0x08bfd464 in ?? ()
> No symbol table info available.
> ---Type <return> to continue, or q <return> to quit---
> #4  0x00000173 in ?? ()
> No symbol table info available.
> #5  0x0804d0cd in ?? ()
> No symbol table info available.
> #6  0x0635c6c4 in ?? () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> No symbol table info available.
> #7  0x08bfeac8 in ?? ()
> No symbol table info available.
> #8  0x08bfead8 in ?? ()
> No symbol table info available.
> #9  0x08bfeae0 in ?? ()
> No symbol table info available.
> #10 0x08aaca98 in ?? ()
> No symbol table info available.
> #11 0x006b8470 in _dl_runtime_resolve () from /lib/ld-linux.so.2
> No symbol table info available.
> #12 0x08082ee5 in ProcessRequestThread::run() ()
> No symbol table info available.
> #13 0x06531eaa in QThreadInstance::start(void*) ()
>     from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> No symbol table info available.
>
> Thread 7 (Thread 1083714480 (LWP 8964)):
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x00932424 in pthread_cond_wait@@GLIBC_2.3.2 ()
>     from /lib/tls/libpthread.so.0
> No symbol table info available.
> #2  0x0682f408 in QWaitCondition::wait(QMutex*, unsigned long) ()
>     from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> No symbol table info available.
> #3  0x08bf367c in ?? ()
> No symbol table info available.
> #4  0x40982a28 in ?? ()
> No symbol table info available.
> #5  0x0682e0e2 in QRealMutexPrivate::lock() ()
>     from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> No symbol table info available.
> Previous frame inner to this frame (corrupt stack?)
> #0  0x006acc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2


More information about the mythtv-users mailing list