[mythtv] backend crash, x86_64, firewire, Fedora 7

Derek Atkins warlord at MIT.EDU
Sun May 27 23:38:23 UTC 2007


Quoting Derek Atkins <warlord at MIT.EDU>:

> Hi,
>
> I'm running r13508 on a Fedora 7 x86_64 system and when I try to
> watch LiveTV off a firewire tuner the backend crashes with the following
> backtrace into the mythbackend log.  (I'll work on getting a gdb backtrace)
> This happens every time.  Anyone seen this?

Okay, I got a backtrace.  I wonder if this is a bug in libiec61883?

-derek

Program received signal SIGABRT, Aborted.
[Switching to Thread 1262557520 (LWP 13948)]
0x000000303a2305b5 in raise () from /lib64/libc.so.6
(gdb) t a a bt

Thread 19 (Thread 1262557520 (LWP 13948)):
#0  0x000000303a2305b5 in raise () from /lib64/libc.so.6
#1  0x000000303a232060 in abort () from /lib64/libc.so.6
#2  0x000000303a268d0b in __libc_message () from /lib64/libc.so.6
#3  0x000000303a270412 in _int_free () from /lib64/libc.so.6
#4  0x000000303a273b1c in free () from /lib64/libc.so.6
#5  0x000000303aa09125 in iec61883_mpeg2_close ()
   from /usr/lib64/libiec61883.so.0
#6  0x00002aaaab1ac0f6 in LinuxFirewireDevice::CloseAVStream ()
   from /usr/local/lib/libmythtv-0.20.so.0
#7  0x00002aaaab1b0ab0 in LinuxFirewireDevice::RemoveListener ()
   from /usr/local/lib/libmythtv-0.20.so.0
#8  0x00002aaaab1914a0 in FirewireSignalMonitor::RunTableMonitor ()
   from /usr/local/lib/libmythtv-0.20.so.0
#9  0x00002aaaab192249 in FirewireSignalMonitor::TableMonitorThread ()
   from /usr/local/lib/libmythtv-0.20.so.0
#10 0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#11 0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 17 (Thread 1241577808 (LWP 13946)):
#0  0x00002aaaaefa54f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1  0x00002aaaae39f7b3 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaaacb7944 in ThreadedFileWriter::SyncLoop ()
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaaacb7969 in ThreadedFileWriter::boot_syncer ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 16 (Thread 1231087952 (LWP 13945)):
#0  0x00002aaaaefa54f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f7b3 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaaacb9713 in ThreadedFileWriter::DiskLoop ()
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaaacb9f2b in ThreadedFileWriter::boot_writer ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 15 (Thread 1220598096 (LWP 13943)):
#0  0x000000303a2c9ad2 in select () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00002aaaacb2e9d4 in MythSocket::readyReadThread ()
   from /usr/local/lib/libmyth-0.20.so.0
#2  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#3  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 14 (Thread 1210108240 (LWP 13942)):
#0  0x00002aaaaefa7688 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
#1  0x00002aaaaefa373f in _L_mutex_lock_103 () from /lib64/libpthread.so.0
#2  0x00002aaaaefa31d3 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00002aaaae39e98f in QRecursiveMutexPrivate::lock ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x00002aaaab10c0f1 in TVRec::WaitForEventThreadSleep ()
   from /usr/local/lib/libmythtv-0.20.so.0
#5  0x00002aaaab13b530 in TVRec::StopLiveTV ()
   from /usr/local/lib/libmythtv-0.20.so.0
#6  0x000000000042f43e in EncoderLink::StopLiveTV ()
#7  0x0000000000463f50 in MainServer::HandleRecorderQuery ()
#8  0x00000000004733a6 in MainServer::ProcessRequestWork ()
#9  0x000000000047c50c in ProcessRequestThread::run ()
#10 0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#11 0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#12 0x000000303a2d062d in clone () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 13 (Thread 1199618384 (LWP 13941)):
#0  0x00002aaaaefa5306 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f6d9 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x000000000047c4d5 in ProcessRequestThread::run ()
#3  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 12 (Thread 1189128528 (LWP 13940)):
#0  0x00002aaaaefa5306 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f6d9 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x000000000047c4d5 in ProcessRequestThread::run ()
#3  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 11 (Thread 1178638672 (LWP 13939)):
#0  0x00002aaaaefa5306 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f6d9 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x000000000047c4d5 in ProcessRequestThread::run ()
#3  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 10 (Thread 1168148816 (LWP 13938)):
#0  0x00002aaaaefa5306 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f6d9 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x000000000047c4d5 in ProcessRequestThread::run ()
#3  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 9 (Thread 1157658960 (LWP 13937)):
---Type <return> to continue, or q <return> to quit---
#0  0x000000303a2c9ad2 in select () from /lib64/libc.so.6
#1  0x00002aaaac3f8adf in SSDP::run ()
   from /usr/local/lib/libmythupnp-0.20.so.0
#2  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#3  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#4  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 8 (Thread 1147169104 (LWP 13936)):
#0  0x00002aaaaefa54f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae097565 in QGList::~QGList$delete ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaae0976ce in QThread::msleep ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#3  0x00002aaaac3fbbfa in TaskQueue::run ()
   from /usr/local/lib/libmythupnp-0.20.so.0
#4  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#5  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#6  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 7 (Thread 1136679248 (LWP 13935)):
---Type <return> to continue, or q <return> to quit---
#0  0x00002aaaaefa54f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f689 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaac40a72f in CEvent::WaitForEvent ()
   from /usr/local/lib/libmythupnp-0.20.so.0
#3  0x00002aaaac40b43c in WorkerThread::run ()
   from /usr/local/lib/libmythupnp-0.20.so.0
#4  0x00002aaaae097925 in QThreadInstance::start ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#5  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#6  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 6 (Thread 1126189392 (LWP 13934)):
#0  0x000000303a296831 in nanosleep () from /lib64/libc.so.6
#1  0x000000303a296654 in sleep () from /lib64/libc.so.6
#2  0x00002aaaaad1ae3c in JobQueue::ProcessQueue ()
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaaad23509 in JobQueue::QueueProcesserThread ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 5 (Thread 1115699536 (LWP 13933)):
#0  0x00002aaaaefa243d in pthread_join () from /lib64/libpthread.so.0
#1  0x00002aaaab190e59 in FirewireSignalMonitor::Stop ()
   from /usr/local/lib/libmythtv-0.20.so.0
#2  0x00002aaaab18e4cb in FirewireSignalMonitor::deleteLater ()
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaab115714 in TVRec::TeardownSignalMonitor ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaab13687b in TVRec::TuningShutdowns ()
   from /usr/local/lib/libmythtv-0.20.so.0
#5  0x00002aaaab136fee in TVRec::HandleTuning ()
   from /usr/local/lib/libmythtv-0.20.so.0
#6  0x00002aaaab137eb2 in TVRec::RunTV ()
   from /usr/local/lib/libmythtv-0.20.so.0
#7  0x00002aaaab13a379 in TVRec::EventThread ()
   from /usr/local/lib/libmythtv-0.20.so.0
#8  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#9  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 4 (Thread 1105209680 (LWP 13932)):
#0  0x000000303a2c9ad2 in select () from /lib64/libc.so.6
#1  0x00002aaaab1a97ca in has_data () from /usr/local/lib/libmythtv-0.20.so.0
#2  0x00002aaaab1aa094 in LinuxFirewireDevice::RunPortHandler ()
---Type <return> to continue, or q <return> to quit---
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaab1ab709 in linux_firewire_device_port_handler_thunk ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 3 (Thread 1094719824 (LWP 13931)):
#0  0x00002aaaaefa54f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaae39f7b3 in QWaitCondition::wait ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaab0e0b5c in EITScanner::RunEventLoop ()
   from /usr/local/lib/libmythtv-0.20.so.0
#3  0x00002aaaab0e1a52 in EITScanner::SpawnEventLoop ()
   from /usr/local/lib/libmythtv-0.20.so.0
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 2 (Thread 1084229968 (LWP 13930)):
#0  0x000000303a296831 in nanosleep () from /lib64/libc.so.6
#1  0x000000303a296654 in sleep () from /lib64/libc.so.6
#2  0x00000000004b3f44 in HouseKeeper::RunHouseKeeping ()
#3  0x00000000004b57b9 in HouseKeeper::doHouseKeepingThread ()
---Type <return> to continue, or q <return> to quit---
#4  0x00002aaaaefa11c5 in start_thread () from /lib64/libpthread.so.0
#5  0x000000303a2d062d in clone () from /lib64/libc.so.6

Thread 1 (Thread 46912584543824 (LWP 13929)):
#0  0x000000303a2c9ad2 in select () from /lib64/libc.so.6
#1  0x00002aaaae04d069 in QEventLoop::processEvents ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#2  0x00002aaaae0b6111 in QEventLoop::enterLoop ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#3  0x00002aaaae0b5fe2 in QEventLoop::exec ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#4  0x0000000000445377 in main ()
#0  0x000000303a2305b5 in raise () from /lib64/libc.so.6
(gdb)

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the mythtv-dev mailing list