(gdb) thread apply all bt

Thread 23 (Thread 0xb185bb90 (LWP 6205)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb4186c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb1e5b74b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb1e4df82 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb1e4e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb44ab438 in QEventDispatcherGlib::processEvents (this=0x8cc32d0, flags={i = -1316638456}) at kernel/qeventdispatcher_glib.cpp:323
#6  0xb447e06a in QEventLoop::processEvents (this=0xb185b180, flags={i = -1316638392}) at kernel/qeventloop.cpp:149
#7  0xb447e4aa in QEventLoop::exec (this=0xb185b180, flags={i = -1316638328}) at kernel/qeventloop.cpp:200
#8  0xb4388639 in QThread::exec (this=0x8cc3370) at thread/qthread.cpp:481
#9  0xb5fcdafd in WorkerThread::run (this=0x8cc3370) at threadpool.cpp:267
#10 0xb438b96e in QThreadPrivate::start (arg=0x8cc3370) at thread/qthread_unix.cpp:189
#11 0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 22 (Thread 0xb104eb90 (LWP 6206)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb5240412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438b359 in thread_sleep (ti=0xb104e2c0) at thread/qthread_unix.cpp:298
#3  0xb438b48b in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:324
#4  0xb5fb9a64 in TaskQueue::run (this=0x8cc3850) at taskqueue.cpp:126
#5  0xb438b96e in QThreadPrivate::start (arg=0x8cc3850) at thread/qthread_unix.cpp:189
#6  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 21 (Thread 0xb084db90 (LWP 6207)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb414c8c6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb414c6de in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x0818398e in UPnpMedia::RunRebuildLoop (this=0x8ce0b68) at upnpmedia.cpp:59
#4  0x081839cf in UPnpMedia::doUPnpMediaThread (param=0x8ce0b68) at upnpmedia.cpp:66
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 20 (Thread 0xb004cb90 (LWP 6208)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb41898d1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5fb5ece in SSDP::run (this=0x8cc2b58) at ssdp.cpp:229
---Type <return> to continue, or q <return> to quit---
#3  0xb438b96e in QThreadPrivate::start (arg=0x8cc2b58) at thread/qthread_unix.cpp:189
#4  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 19 (Thread 0xaf84bb90 (LWP 6210)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb5240412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438b359 in thread_sleep (ti=0xaf84afe0) at thread/qthread_unix.cpp:298
#3  0xb438b405 in QThread::usleep (usecs=<value optimized out>) at thread/qthread_unix.cpp:336
#4  0xb5ed6a4e in MythSystemReaper::run (this=0x8cf67a0) at mythsystem.cpp:73
#5  0xb438b96e in QThreadPrivate::start (arg=0x8cf67a0) at thread/qthread_unix.cpp:189
#6  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 18 (Thread 0xaf04ab90 (LWP 6220)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb5240412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c98c in QWaitCondition::wait (this=0x8ce5208, mutex=0x8ce5204, time=1000) at thread/qwaitcondition_unix.cpp:85
#3  0xb73b9dd7 in TVRec::RunTV (this=0x8ce5120) at tv_rec.cpp:1583
#4  0xb73bc7ab in TVRec::EventThread (param=0x8ce5120) at tv_rec.cpp:1282
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 17 (Thread 0xae6ffb90 (LWP 6222)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438b012 in QMutexPrivate::wait (this=0x8cf6ab0, timeout=-1) at thread/qmutex_unix.cpp:80
#3  0xb43865ca in QMutex::lock (this=0x8cf5eac) at thread/qmutex.cpp:207
#4  0xb438ca64 in QWaitCondition::wait (this=0x8cf5eb0, mutex=0x8cf5eac, time=1000) at thread/qwaitcondition_unix.cpp:161
#5  0xb73b9dd7 in TVRec::RunTV (this=0x8cf5dc8) at tv_rec.cpp:1583
#6  0xb73bc7ab in TVRec::EventThread (param=0x8cf5dc8) at tv_rec.cpp:1282
#7  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 16 (Thread 0xadefeb90 (LWP 6223)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb5240412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c98c in QWaitCondition::wait (this=0x8d2f260, mutex=0x8d2f240, time=400) at thread/qwaitcondition_unix.cpp:85
#3  0xb734b202 in EITScanner::RunEventLoop (this=0x8d2f240) at eitscanner.cpp:159
---Type <return> to continue, or q <return> to quit---
#4  0xb734c55e in EITThread::run (this=0x8d2f250) at eitscanner.cpp:30
#5  0xb438b96e in QThreadPrivate::start (arg=0x8d2f250) at thread/qthread_unix.cpp:189
#6  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xad6fdb90 (LWP 6224)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb5242e1c in __lll_unlock_wake () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb523f4bb in _L_unlock_94 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xb523f0cc in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb438c5e5 in QWaitCondition::wakeAll (this=0x8cf5eb0) at thread/qwaitcondition_unix.cpp:143
#5  0xb73808ce in TVRec::WakeEventLoop (this=0x8cf5dc8) at tv_rec.cpp:313
#6  0xb7380c15 in TVRec::WaitForEventThreadSleep (this=0x8cf5dc8, wake=true, time=4294967295) at tv_rec.cpp:1613
#7  0xb73ad7e5 in TVRec::StartRecording (this=0x8cf5dc8, rcinfo=0xa77469e8) at tv_rec.cpp:724
#8  0x08074457 in EncoderLink::StartRecording (this=0x8d29b98, rec=0xa77469e8) at encoderlink.cpp:387
#9  0x08137af4 in Scheduler::RunScheduler (this=0x8d33500) at scheduler.cpp:2077
#10 0x0813baf1 in Scheduler::SchedulerThread (param=0x8d33500) at scheduler.cpp:2614
#11 0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xacefcb90 (LWP 6225)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb414c8c6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb414c6de in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x0814ba0e in HouseKeeper::RunHouseKeeping (this=0x8d1da90) at housekeeper.cpp:284
#4  0x0814ce2f in HouseKeeper::doHouseKeepingThread (param=0x8d1da90) at housekeeper.cpp:633
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xac6fbb90 (LWP 6226)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb414c8c6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb414c6de in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x080722c2 in AutoExpire::RunExpirer (this=0xae7007d8) at autoexpire.cpp:330
#4  0x0807255f in AutoExpire::ExpirerThread (param=0xae7007d8) at autoexpire.cpp:617
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xabefab90 (LWP 6227)):
---Type <return> to continue, or q <return> to quit---
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb414c8c6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb414c6de in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dafd62 in JobQueue::ProcessQueue (this=0xae7009d8) at jobqueue.cpp:467
#4  0xb6dbb37c in JobQueue::RunQueueProcesser (this=0xae7009d8) at jobqueue.cpp:150
#5  0xb6dbb3ab in JobQueue::QueueProcesserThread (param=0xae7009d8) at jobqueue.cpp:156
#6  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xab6f9b90 (LWP 6228)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb4186c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb1e5b74b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb1e4df82 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb1e4e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb44ab438 in QEventDispatcherGlib::processEvents (this=0x8cf9998, flags={i = -1418751368}) at kernel/qeventdispatcher_glib.cpp:323
#6  0xb447e06a in QEventLoop::processEvents (this=0xab6f92f0, flags={i = -1418751304}) at kernel/qeventloop.cpp:149
#7  0xb447e4aa in QEventLoop::exec (this=0xab6f92f0, flags={i = -1418751240}) at kernel/qeventloop.cpp:200
#8  0xb4388639 in QThread::exec (this=0x8d33168) at thread/qthread.cpp:481
#9  0xb438868d in QThread::run (this=0x8d33168) at thread/qthread.cpp:540
#10 0xb438b96e in QThreadPrivate::start (arg=0x8d33168) at thread/qthread_unix.cpp:189
#11 0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xaaef8b90 (LWP 6229)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0x8d30be4, mutex=0x8d30be0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0x8d30bd8) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0x8d30bd8) at thread/qthread_unix.cpp:189
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xaa6f7b90 (LWP 6230)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0x8ce300c, mutex=0x8ce3008, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0x8ce3000) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0x8ce3000) at thread/qthread_unix.cpp:189
---Type <return> to continue, or q <return> to quit---
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa9ef6b90 (LWP 6231)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0x8d2b16c, mutex=0x8d2b168, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0x8d2b160) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0x8d2b160) at thread/qthread_unix.cpp:189
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa96f5b90 (LWP 6232)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438b012 in QMutexPrivate::wait (this=0x8d11e68, timeout=-1) at thread/qmutex_unix.cpp:80
#3  0xb438655d in QMutex::lock (this=0x8d114e0) at thread/qmutex.cpp:169
#4  0x080fb85c in Scheduler::GetRecording (this=0x8d33500) at /usr/include/qt4/QtCore/qmutex.h:120
#5  0x080c1bba in MainServer::HandleQueryRecordings (this=0x8d39298, type=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7066}, alloc = 0, size = 0, data = 0x81c5f2a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1036}, alloc = 0, size = 0, data = 0xb4574a6e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa96f5288, static codecForCStrings = 0x0}, pbs=0xfffffe00) at mainserver.cpp:1532
#6  0x080dff7a in MainServer::ProcessRequestWork (this=0x8d39298, sock=0xa7bcd308) at mainserver.cpp:362
#7  0x080ef262 in ProcessRequestThread::run (this=0x8d18f90) at mainserver.cpp:309
#8  0xb438b96e in QThreadPrivate::start (arg=0x8d18f90) at thread/qthread_unix.cpp:189
#9  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa8ef4b90 (LWP 6233)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0x8d2b854, mutex=0x8d2b850, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0x8d2b848) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0x8d2b848) at thread/qthread_unix.cpp:189
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa86f3b90 (LWP 6234)):
---Type <return> to continue, or q <return> to quit---
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb41898d1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5e5f443 in MythSocketThread::run (this=0x8c82950) at mythsocketthread.cpp:257
#3  0xb438b96e in QThreadPrivate::start (arg=0x8c82950) at thread/qthread_unix.cpp:189
#4  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa38feb90 (LWP 4170)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0x8f29dcc, mutex=0x8f29dc8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0x8f29dc0) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0x8f29dc0) at thread/qthread_unix.cpp:189
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa4af9b90 (LWP 24541)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438c9b2 in QWaitCondition::wait (this=0xa414410c, mutex=0xa4144108, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x080ef223 in ProcessRequestThread::run (this=0xa4144100) at mainserver.cpp:151
#4  0xb438b96e in QThreadPrivate::start (arg=0xa4144100) at thread/qthread_unix.cpp:189
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa57cfb90 (LWP 19433)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb414c8c6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb418a26c in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb72da13e in SignalMonitor::MonitorLoop (this=0xa7728a08) at signalmonitor.cpp:327
#4  0xb72d5b8f in SignalMonitor::SpawnMonitorLoop (self=0xa7728a08) at signalmonitor.cpp:350
#5  0xb523c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb41915ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb1be9730 (LWP 6203)):
#0  0xb7748424 in __kernel_vsyscall ()
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb438b012 in QMutexPrivate::wait (this=0x8d11e68, timeout=-1) at thread/qmutex_unix.cpp:80
#3  0xb438655d in QMutex::lock (this=0x8d114e0) at thread/qmutex.cpp:169
---Type <return> to continue, or q <return> to quit---
#4  0x080f7185 in Scheduler::GetRecStatus (this=0x8d33500, pginfo=@0xbff971b4) at /usr/include/qt4/QtCore/qmutex.h:120
#5  0x080e9d3d in MainServer::customEvent (this=0x8d39298, e=0x8ecd9f0) at mainserver.cpp:1019
#6  0xb44903ff in QObject::event (this=0x8d39298, e=0x8ecd9f0) at kernel/qobject.cpp:1149
#7  0xb447edb3 in QCoreApplicationPrivate::notify_helper (this=0x8c9fc88, receiver=0x8d39298, event=0x8ecd9f0)
    at kernel/qcoreapplication.cpp:738
#8  0xb447f473 in QCoreApplication::notify (this=0xbff97a8c, receiver=0x8d39298, event=0x8ecd9f0) at kernel/qcoreapplication.cpp:684
#9  0xb447fa3b in QCoreApplication::notifyInternal (this=0xbff97a8c, receiver=0x8d39298, event=0x8ecd9f0)
    at kernel/qcoreapplication.cpp:602
#10 0xb4480695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c82bd8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#11 0xb448088d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#12 0xb44ab7ef in postEventSourceDispatch (s=0x8ca7590) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#13 0xb1e4ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb1e4e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#15 0xb1e4e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0xb44ab438 in QEventDispatcherGlib::processEvents (this=0x8ca5c10, flags={i = -1074169768}) at kernel/qeventdispatcher_glib.cpp:323
#17 0xb447e06a in QEventLoop::processEvents (this=0xbff978d0, flags={i = -1074169704}) at kernel/qeventloop.cpp:149
#18 0xb447e4aa in QEventLoop::exec (this=0xbff978d0, flags={i = -1074169640}) at kernel/qeventloop.cpp:200
#19 0xb4480959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#20 0x0818c61c in run_backend (cmdline=@0x0) at main_helpers.cpp:791
#21 0x08090339 in main (argc=147526992, argv=0xbff97a84) at main.cpp:184
#0  0xb7748424 in __kernel_vsyscall ()
(gdb) thread 15
[Switching to thread 15 (Thread 0xad6fdb90 (LWP 6224))]#0  0xb7748424 in __kernel_vsyscall ()
(gdb) up
#1  0xb5242e1c in __lll_unlock_wake () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) 
#2  0xb523f4bb in _L_unlock_94 () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) 
#3  0xb523f0cc in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) 
#4  0xb438c5e5 in QWaitCondition::wakeAll (this=0x8cf5eb0) at thread/qwaitcondition_unix.cpp:143
143     thread/qwaitcondition_unix.cpp: No such file or directory.
        in thread/qwaitcondition_unix.cpp
(gdb) 
#5  0xb73808ce in TVRec::WakeEventLoop (this=0x8cf5dc8) at tv_rec.cpp:313
313         triggerEventLoopWait.wakeAll();
(gdb) p this
$1 = (TVRec * const) 0x8cf5dc8
(gdb) thread 18
[Switching to thread 18 (Thread 0xaf04ab90 (LWP 6220))]#0  0xb7748424 in __kernel_vsyscall ()
(gdb) up
#1  0xb5240412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) 
#2  0xb438c98c in QWaitCondition::wait (this=0x8ce5208, mutex=0x8ce5204, time=1000) at thread/qwaitcondition_unix.cpp:85
85      thread/qwaitcondition_unix.cpp: No such file or directory.
        in thread/qwaitcondition_unix.cpp
(gdb) 
#3  0xb73b9dd7 in TVRec::RunTV (this=0x8ce5120) at tv_rec.cpp:1583
1583                            &triggerEventLoopLock, 1000 /* ms */);
(gdb) p this
$2 = (TVRec * const) 0x8ce5120
(gdb) thread 17
[Switching to thread 17 (Thread 0xae6ffb90 (LWP 6222))]#0  0xb7748424 in __kernel_vsyscall ()
(gdb) up
#1  0xb52400e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) 
#2  0xb438b012 in QMutexPrivate::wait (this=0x8cf6ab0, timeout=-1) at thread/qmutex_unix.cpp:80
80      thread/qmutex_unix.cpp: No such file or directory.
        in thread/qmutex_unix.cpp
(gdb) 
#3  0xb43865ca in QMutex::lock (this=0x8cf5eac) at thread/qmutex.cpp:207
207     thread/qmutex.cpp: No such file or directory.
        in thread/qmutex.cpp
(gdb) up
#4  0xb438ca64 in QWaitCondition::wait (this=0x8cf5eb0, mutex=0x8cf5eac, time=1000) at thread/qwaitcondition_unix.cpp:161
161     thread/qwaitcondition_unix.cpp: No such file or directory.
        in thread/qwaitcondition_unix.cpp
(gdb) 
#5  0xb73b9dd7 in TVRec::RunTV (this=0x8cf5dc8) at tv_rec.cpp:1583
1583                            &triggerEventLoopLock, 1000 /* ms */);
(gdb) p this
$3 = (TVRec * const) 0x8cf5dc8
(gdb) p this->recorder
$4 = (class RecorderBase *) 0x0
(gdb) p this->channel
$5 = (class ChannelBase *) 0x8d15480
(gdb) p this->channel->device
There is no member or method named device.
(gdb) p this->channel->m_cardid
$6 = 0
(gdb) p this->cardid
$7 = 56
(gdb)


mysql> select * from capturecard where cardid=56;
+--------+-----------------------------+-------------+-----------+----------+--------------+----------------+-------------------------+--------------+--------------+-----------------------+-------------+---------------+-----------------+----------------+----------------+---------------------+----------------+-----------------+------------------+----------+------------+--------+-----+----------+-------------+
| cardid | videodevice                 | audiodevice | vbidevice | cardtype | defaultinput | audioratelimit | hostname                | dvb_swfilter | dvb_sat_type | dvb_wait_for_seqstart | skipbtaudio | dvb_on_demand | dvb_diseqc_type | firewire_speed | firewire_model | firewire_connection | signal_timeout | channel_timeout | dvb_tuning_delay | contrast | brightness | colour | hue | diseqcid | dvb_eitscan |
+--------+-----------------------------+-------------+-----------+----------+--------------+----------------+-------------------------+--------------+--------------+-----------------------+-------------+---------------+-----------------+----------------+----------------+---------------------+----------------+-----------------+------------------+----------+------------+--------+-----+----------+-------------+
|     56 | /dev/dvb/adapter1/frontend0 | NULL        | NULL      | DVB      | DVBInput     |           NULL | living.kristjansson.com |            0 |            0 |                     1 |           0 |             0 |            NULL |              0 | NULL           |                   0 |            500 |            3000 |                0 |        0 |          0 |      0 |   0 |        0 |           1 | 
+--------+-----------------------------+-------------+-----------+----------+--------------+----------------+-------------------------+--------------+--------------+-----------------------+-------------+---------------+-----------------+----------------+----------------+---------------------+----------------+-----------------+------------------+----------+------------+--------+-----+----------+-------------+
1 row in set (0.00 sec)

