[mythtv-users] 0.24 backend still deadlocks

Brian J. Murrell brian at interlinx.bc.ca
Wed Nov 17 11:36:45 UTC 2010


The deadlocks that were in 0.23 that were thought to have been worked
out of 0.24 are still there, or there are new ones.  My 0.24 backend
locked up 3 times last night, apparently after, or perhaps during
recording.  Here's a threaded stacktrace of my backend currently as it's
locked up:

Thread 25 (Thread 0xb66e7b70 (LWP 16516)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0216eb86 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x024a74eb in IA__g_poll (fds=0x9f2ff28, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.24.1/glib/gpoll.c:127
No locals.
#3  0x0249a0ac in g_main_context_poll (context=0x9f30c18, block=<value optimized out>, dispatch=1, self=0x9f30f70) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2904
        poll_func = 0x24a74c0 <IA__g_poll>
#4  g_main_context_iterate (context=0x9f30c18, block=<value optimized out>, dispatch=1, self=0x9f30f70) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2586
        max_priority = 2147483647
        timeout = -1
        some_ready = <value optimized out>
        nfds = 1
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#5  0x0249a4b8 in IA__g_main_context_iteration (context=0x9f30c18, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
        retval = <value optimized out>
#6  0x035db5d5 in QEventDispatcherGlib::processEvents (this=0x9f31000, flags=...) at kernel/qeventdispatcher_glib.cpp:412
        d = 0x9f30560
        canWait = true
        result = <value optimized out>
#7  0x035ae059 in QEventLoop::processEvents (this=0xb66e7260, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
        d = 0x9f30a80
#8  0x035ae4aa in QEventLoop::exec (this=0xb66e7260, flags=...) at kernel/qeventloop.cpp:201
        d = 0x9f30a80
        app = <value optimized out>
#9  0x034aa5a8 in QThread::exec (this=0x9f25df8) at thread/qthread.cpp:487
        d = <value optimized out>
        locker = {{mtx = 0x9f2fd08, val = 166919432}}
        eventLoop = {<QObject> = {_vptr.QObject = 0x36c3448, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x365bee0 "QObject", data = 0x365bf80, extradata = 0x36be260}}, d_ptr = {d = 0x9f30a80}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x3664a20 "Qt", data = 0x3668040, extradata = 0x0}}}, static staticMetaObject = {d = warning: RTTI symbol not found for class 'InputInfo'
{superdata = 0x81a9fc0, stringdata = 0x366da80 "QEventLoop", data = 0x366daa0, extradata = 0x0}}}
        returnCode = <value optimized out>
#10 0x00291641 in WorkerThread::run() () from /usr/lib/libmythupnp-0.24.so.0
No symbol table info available.
#11 0x034ad32e in QThreadPrivate::start (arg=0x9f25df8) at thread/qthread_unix.cpp:248
        data = 0x9f30310
#12 0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 24 (Thread 0xb5ce6b70 (LWP 16517)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034acc1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
        mtx = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 1, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 16 times>, "\001\000\000\000\000\000\000", __align = 0}
        cnd = {__data = {__lock = 0, __futex = 1, __total_seq = 1, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0xb5ce6244, __nwaiters = 2, __broadcast_seq = 0}, __size = "\000\000\000\000\001\000\000\000\001", '\000' <repeats 23 times>, "Dbε\002\000\000\000\000\000\000\000\244bε", __align = 4294967296}
#3  0x034acd73 in QThread::msleep (msecs=100) at thread/qthread_unix.cpp:424
        tv = {tv_sec = 1289992967, tv_usec = 575655}
        ti = {tv_sec = 1289992967, tv_nsec = 675655000}
#4  0x00283cdb in TaskQueue::run() () from /usr/lib/libmythupnp-0.24.so.0
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9f2fbf0) at thread/qthread_unix.cpp:248
        data = 0x9f26bb8
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 23 (Thread 0xb52e5b70 (LWP 16518)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02146ce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x02146b10 in sleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x08151bf2 in ?? ()
No symbol table info available.
#4  0x08151c0b in ?? ()
No symbol table info available.
#5  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 22 (Thread 0xb48e4b70 (LWP 16519)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02175971 in select () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x0027d5d4 in SSDP::run() () from /usr/lib/libmythupnp-0.24.so.0
No symbol table info available.
#3  0x034ad32e in QThreadPrivate::start (arg=0x9f2f048) at thread/qthread_unix.cpp:248
        data = 0x9f2e638
#4  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 21 (Thread 0xb3ee3b70 (LWP 16525)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f31608, mutex=0x9f31604, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992966, tv_usec = 720543}
        ti = {tv_sec = 1289992967, tv_nsec = 720543000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f31608, mutex=0x9f31604, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 20 (Thread 0xb34e2b70 (LWP 16527)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f32f50, mutex=0x9f32f30, time=400) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 515685}
        ti = {tv_sec = 1289992967, tv_nsec = 915685000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f32f50, mutex=0x9f32f30, time=400) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b4dc5c in EITScanner::RunEventLoop() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b4ca90 in EITThread::run() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x034ad32e in QThreadPrivate::start (arg=0x9f32f40) at thread/qthread_unix.cpp:248
        data = 0x9f6b418
#7  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#8  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 19 (Thread 0xb2ae1b70 (LWP 16528)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f28a78, mutex=0x9f28a74, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 235413}
        ti = {tv_sec = 1289992968, tv_nsec = 235413000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f28a78, mutex=0x9f28a74, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 18 (Thread 0xb20e0b70 (LWP 16529)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f359c0, mutex=0x9f359bc, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992966, tv_usec = 815544}
        ti = {tv_sec = 1289992967, tv_nsec = 815544000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f359c0, mutex=0x9f359bc, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 17 (Thread 0xb16dfb70 (LWP 16530)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f31e28, mutex=0x9f31e24, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 37757}
        ti = {tv_sec = 1289992968, tv_nsec = 37757000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f31e28, mutex=0x9f31e24, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 16 (Thread 0xb0cdeb70 (LWP 16531)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f323b8, mutex=0x9f323b4, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 37774}
        ti = {tv_sec = 1289992968, tv_nsec = 37774000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f323b8, mutex=0x9f323b4, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 15 (Thread 0xb02ddb70 (LWP 16532)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f3e190, mutex=0x9f3e18c, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 35887}
        ti = {tv_sec = 1289992968, tv_nsec = 35887000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f3e190, mutex=0x9f3e18c, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 14 (Thread 0xaf8dcb70 (LWP 16533)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae20f in QWaitConditionPrivate::wait (this=0x9f3dbc0, mutex=0x9f3dbbc, time=1000) at thread/qwaitcondition_unix.cpp:85
        tv = {tv_sec = 1289992967, tv_usec = 37767}
        ti = {tv_sec = 1289992968, tv_nsec = 37767000}
        code = <value optimized out>
#3  QWaitCondition::wait (this=0x9f3dbc0, mutex=0x9f3dbbc, time=1000) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x00b89a60 in TVRec::RunTV() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x00b8710f in TVRec::EventThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 13 (Thread 0xaeedbb70 (LWP 16534)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ac8c2 in QMutexPrivate::wait (this=0x9fa1600, timeout=-1) at thread/qmutex_unix.cpp:84
        errorCode = 0
#3  0x034a8072 in QMutex::lock (this=0x9f5a370) at thread/qmutex.cpp:205
        lastSpinCount = <value optimized out>
        maximumSpinCount = 20
        self = <value optimized out>
#4  0x034ae24e in QWaitCondition::wait (this=0x9f5a378, mutex=0x9f5a370, time=1000) at thread/qwaitcondition_unix.cpp:161
        returnValue = <value optimized out>
#5  0x080fbceb in ?? ()
No symbol table info available.
#6  0x08107ff9 in ?? ()
No symbol table info available.
#7  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#8  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 12 (Thread 0xae4dab70 (LWP 16535)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02146ce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x02146b10 in sleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x0812c2b4 in ?? ()
No symbol table info available.
#4  0x08130067 in ?? ()
No symbol table info available.
#5  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 11 (Thread 0xadad9b70 (LWP 16536)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b7af5b in read () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x02a34ab8 in vio_read () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#3  0x02a34b16 in vio_read_buff () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#4  0x02a35d13 in ?? () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#5  0x02a360a7 in my_net_read () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#6  0x02a2fa3f in cli_safe_read () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#7  0x029fcf3e in cli_read_prepare_result () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#8  0x029fa40e in mysql_stmt_prepare () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#9  0x05a44592 in QMYSQLResult::prepare (this=0x9f24b40, query=...) at ../../../sql/drivers/mysql/qsql_mysql.cpp:883
        r = <value optimized out>
        encQuery = {static shared_null = {ref = {_q_value = 21}, alloc = 0, size = 0, data = 0x81aa0c0 "", array = ""}, static shared_empty = {ref = {_q_value = 18}, alloc = 0, size = 0, data = 0x36c43bc "", array = ""}, d = 0xa723f108}
#10 0x0208d061 in QSqlResult::savePrepare (this=0xa39b71c8, query=...) at kernel/qsqlresult.cpp:597
No locals.
#11 0x0207df80 in QSqlQuery::prepare (this=0xadad89e0, query=...) at kernel/qsqlquery.cpp:920
No locals.
#12 0x0191b590 in MSqlQuery::prepare(QString const&) () from /usr/lib/libmythdb-0.24.so.0
No symbol table info available.
#13 0x01c21f01 in ProgramInfo::LoadProgramFromRecorded(unsigned int, QDateTime const&) () from /usr/lib/libmyth-0.24.so.0
No symbol table info available.
#14 0x01c09da4 in ProgramInfo::ProgramInfo(unsigned int, QDateTime const&) () from /usr/lib/libmyth-0.24.so.0
No symbol table info available.
#15 0x08077f55 in ?? ()
No symbol table info available.
#16 0x08075b73 in ?? ()
No symbol table info available.
#17 0x0806e8b8 in ?? ()
No symbol table info available.
#18 0x0806dbc3 in ?? ()
No symbol table info available.
#19 0x08073651 in ?? ()
No symbol table info available.
#20 0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#21 0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 10 (Thread 0xad0d8b70 (LWP 16537)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02146ce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x02146b10 in sleep () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x00689d05 in JobQueue::ProcessQueue() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#4  0x006840a3 in JobQueue::RunQueueProcesser() () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#5  0x006840cd in JobQueue::QueueProcesserThread(void*) () from /usr/lib/libmythtv-0.24.so.0
No symbol table info available.
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 9 (Thread 0xac6d7b70 (LWP 16538)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0216eb86 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x024a74eb in IA__g_poll (fds=0x9f8ceb0, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.24.1/glib/gpoll.c:127
No locals.
#3  0x0249a0ac in g_main_context_poll (context=0x9fa8eb0, block=<value optimized out>, dispatch=1, self=0x9f8cbf0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2904
        poll_func = 0x24a74c0 <IA__g_poll>
#4  g_main_context_iterate (context=0x9fa8eb0, block=<value optimized out>, dispatch=1, self=0x9f8cbf0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2586
        max_priority = 2147483647
        timeout = -1
        some_ready = <value optimized out>
        nfds = 1
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#5  0x0249a4b8 in IA__g_main_context_iteration (context=0x9fa8eb0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
        retval = <value optimized out>
#6  0x035db5d5 in QEventDispatcherGlib::processEvents (this=0x9f898f8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
        d = 0x9fa8e40
        canWait = true
        result = <value optimized out>
#7  0x035ae059 in QEventLoop::processEvents (this=0xac6d72b0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
        d = 0x9fa9200
#8  0x035ae4aa in QEventLoop::exec (this=0xac6d72b0, flags=...) at kernel/qeventloop.cpp:201
        d = 0x9fa9200
        app = <value optimized out>
#9  0x034aa5a8 in QThread::exec (this=0x9f994b8) at thread/qthread.cpp:487
        d = <value optimized out>
        locker = {{mtx = 0x9fa5b70, val = 167402352}}
        eventLoop = {<QObject> = {_vptr.QObject = 0x36c3448, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x365bee0 "QObject", data = 0x365bf80, extradata = 0x36be260}}, d_ptr = {d = 0x9fa9200}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x3664a20 "Qt", data = 0x3668040, extradata = 0x0}}}, static staticMetaObject = {d = warning: RTTI symbol not found for class 'InputInfo'
{superdata = 0x81a9fc0, stringdata = 0x366da80 "QEventLoop", data = 0x366daa0, extradata = 0x0}}}
        returnCode = <value optimized out>
#10 0x034aa63d in QThread::run (this=0x9f994b8) at thread/qthread.cpp:546
No locals.
#11 0x034ad32e in QThreadPrivate::start (arg=0x9f994b8) at thread/qthread_unix.cpp:248
        data = 0x9fa6048
#12 0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 8 (Thread 0xabcd6b70 (LWP 16539)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9f2771c, mutex=0x9f27718, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9f2771c, mutex=0x9f27718, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x080dba01 in ?? ()
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9f27710) at thread/qthread_unix.cpp:248
        data = 0x9f27328
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 7 (Thread 0xab2d5b70 (LWP 16540)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9f99284, mutex=0x9f99280, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9f99284, mutex=0x9f99280, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x080dba01 in ?? ()
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9f99278) at thread/qthread_unix.cpp:248
        data = 0x9fa8bc8
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 6 (Thread 0xaa8d4b70 (LWP 16541)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9f31a5c, mutex=0x9f31a58, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9f31a5c, mutex=0x9f31a58, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x080dba01 in ?? ()
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9f31a50) at thread/qthread_unix.cpp:248
        data = 0x9f425c0
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 5 (Thread 0xa9ed3b70 (LWP 16542)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9f9f72c, mutex=0x9f9f728, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9f9f72c, mutex=0x9f9f728, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x080dba01 in ?? ()
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9f9f720) at thread/qthread_unix.cpp:248
        data = 0x9f44570
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 4 (Thread 0xa94d2b70 (LWP 16543)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9fa19b4, mutex=0x9fa19b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9fa19b4, mutex=0x9fa19b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x080dba01 in ?? ()
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9fa19a8) at thread/qthread_unix.cpp:248
        data = 0x9f45f58
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xa6cceb70 (LWP 16548)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ae287 in QWaitConditionPrivate::wait (this=0x9ee2100, mutex=0x9ee20fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
        code = -512
#3  QWaitCondition::wait (this=0x9ee2100, mutex=0x9ee20fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#4  0x0190fe41 in MythSocketThread::run() () from /usr/lib/libmythdb-0.24.so.0
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0x9ee20f0) at thread/qthread_unix.cpp:248
        data = 0x9ee2260
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xa4ecbb70 (LWP 16553)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034acc1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
        mtx = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 1, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 16 times>, "\001\000\000\000\000\000\000", __align = 0}
        cnd = {__data = {__lock = 0, __futex = 1, __total_seq = 1, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0xa4ecb124, __nwaiters = 2, __broadcast_seq = 0}, __size = "\000\000\000\000\001\000\000\000\001", '\000' <repeats 23 times>, "$\261\354\244\002\000\000\000\000\000\000\000'_\267\003", __align = 4294967296}
#3  0x034accdd in QThread::usleep (usecs=100000) at thread/qthread_unix.cpp:436
        tv = {tv_sec = 1289992967, tv_usec = 562160}
        ti = {tv_sec = 1289992967, tv_nsec = 662160000}
#4  0x0196baa3 in MythSystemReaper::run() () from /usr/lib/libmythdb-0.24.so.0
No symbol table info available.
#5  0x034ad32e in QThreadPrivate::start (arg=0xa0a4f18) at thread/qthread_unix.cpp:248
        data = 0xa0e5308
#6  0x03b7396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x0217ca4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb674b730 (LWP 16514)):
#0  0x00fbd422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03b78015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x034ac8c2 in QMutexPrivate::wait (this=0x9fa4f60, timeout=-1) at thread/qmutex_unix.cpp:84
        errorCode = 0
#3  0x034a8072 in QMutex::lock (this=0x9f29068) at thread/qmutex.cpp:205
        lastSpinCount = <value optimized out>
        maximumSpinCount = 20
        self = <value optimized out>
#4  0x08078993 in ?? ()
No symbol table info available.
#5  0x081167b7 in ?? ()
No symbol table info available.
#6  0x080a3ad1 in ?? ()
No symbol table info available.
#7  0x035c045c in QObject::event (this=0x9fab108, e=0x1) at kernel/qobject.cpp:1279
No locals.
#8  0x035aee23 in QCoreApplicationPrivate::notify_helper (this=0x9efc3f0, receiver=0x9fab108, event=0xa1eff90) at kernel/qcoreapplication.cpp:839
No locals.
#9  0x035af5a3 in QCoreApplication::notify (this=0xbf925f9c, receiver=0x9fab108, event=0xa1eff90) at kernel/qcoreapplication.cpp:785
No locals.
#10 0x035afa3b in QCoreApplication::notifyInternal (this=0xbf925f9c, receiver=0x9fab108, event=0xa1eff90) at kernel/qcoreapplication.cpp:704
        threadData = 0x9ee2380
        returnValue = <value optimized out>
        result = false
        cbdata = {0x9fab108, 0xa1eff90, 0xbf925aaf}
#11 0x035b2473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9ee2380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
No locals.
#12 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ee2380) at kernel/qcoreapplication.cpp:1345
        pe = @0xa0045c8
        e = 0xa1eff90
        r = 0x9fab108
        locker = {{mtx = 0x9ee23a8, val = 166601640}}
        startOffset = 0
        i = @0x9ee23a0
#13 0x035b25dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
        data = <value optimized out>
#14 0x035dbadf in QCoreApplication::sendPostedEvents (s=0x9efe6a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
No locals.
#15 postEventSourceDispatch (s=0x9efe6a0) at kernel/qeventdispatcher_glib.cpp:276
No locals.
#16 0x024965e5 in g_main_dispatch (context=0x9efe620) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
        dispatch = 0x35dbab0 <postEventSourceDispatch>
        user_data = 0x0
        callback = 0
        cb_funcs = 0x0
        cb_data = 0x0
        current_source_link = {data = 0x9efe6a0, next = 0x0}
        source = 0x9efe6a0
        current = 0x9efdb30
        i = 0
#17 IA__g_main_context_dispatch (context=0x9efe620) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
No locals.
#18 0x0249a2d8 in g_main_context_iterate (context=0x9efe620, block=<value optimized out>, dispatch=1, self=0x9efc4e8) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
        max_priority = 2147483647
        timeout = 27703
        some_ready = 1
        nfds = <value optimized out>
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#19 0x0249a4b8 in IA__g_main_context_iteration (context=0x9efe620, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
        retval = <value optimized out>
#20 0x035db5d5 in QEventDispatcherGlib::processEvents (this=0x9ef4528, flags=...) at kernel/qeventdispatcher_glib.cpp:412
        d = 0x9efc5d8
        canWait = true
        result = <value optimized out>
#21 0x035ae059 in QEventLoop::processEvents (this=0xbf925db4, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
        d = 0x9fb1508
#22 0x035ae4aa in QEventLoop::exec (this=0xbf925db4, flags=...) at kernel/qeventloop.cpp:201
        d = 0x9fb1508
        app = <value optimized out>
#23 0x035b269f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
        threadData = 0x9ee2380
        eventLoop = {<QObject> = {_vptr.QObject = 0x36c3448, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x365bee0 "QObject", data = 0x365bf80, extradata = 0x36be260}}, d_ptr = {d = 0x9fb1508}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x3664a20 "Qt", data = 0x3668040, extradata = 0x0}}}, static staticMetaObject = {d = warning: RTTI symbol not found for class 'InputInfo'
{superdata = 0x81a9fc0, stringdata = 0x366da80 "QEventLoop", data = 0x366daa0, extradata = 0x0}}}
        returnCode = -1
#24 0x0815d9f8 in ?? ()
No symbol table info available.
#25 0x08098af8 in ?? ()
No symbol table info available.
#26 0x020c5bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#27 0x0806a341 in ?? ()

My apologies for not having the debug symbols available.  I will upgrade
my 0.24-fixes today and be sure to install the debug symbols.

When this deadlock occurs the log typically looks like:

2010-11-16 23:20:44.244 MythCoreContext: Connecting to backend server: 10.75.22.2:6543 (try 1 of 5)
2010-11-16 23:20:51.249 MythSocket(906f670:11): readStringList: Error, timed out after 7000 ms.
2010-11-16 23:20:51.250 Protocol version check failure.
			The response to MYTH_PROTO_VERSION was empty.
			This happens when the backend is too busy to respond,
			or has deadlocked in due to bugs or hardware failure.
2010-11-16 23:20:51.291 ~MythContext waiting for threads to exit.
2010-11-16 23:20:51.301 MythCoreContext: Connecting to backend server: 10.75.22.2:6543 (try 1 of 5)
2010-11-16 23:20:58.308 MythSocket(8adaee8:8): readStringList: Error, timed out after 7000 ms.
2010-11-16 23:20:58.309 Protocol version check failure.
			The response to MYTH_PROTO_VERSION was empty.
			This happens when the backend is too busy to respond,
			or has deadlocked in due to bugs or hardware failure.
2010-11-16 23:21:22.862 commflag: Commercial Detection Finished: "Detroit 1-8-7":"Deja Vu; All In" recorded from channel 2936 at 2010-11-16T22:01:00 (2 commercial break(s))

I can provide the evening's full log if requested.  I didn't want to
attach it to here for fear of exceeding message size limits of this
list.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101117/980aa300/attachment.pgp>


More information about the mythtv-users mailing list