id summary reporter owner description type status priority milestone component version severity resolution keywords cc mlocked 11473 Mythbackend deadlocks listing recordings qbasicer@… "New to MythTV - I have a master backend that records the TV (it has a better driver for the 950q). Everything has been working fine for weeks with not much issue, until last night. I apologize that I don't quite know where this should be filed, and have tried to include as much information as I can. I'm basically dead in the water until I get a resolution here so I hope something is found quickly! I had a recording setup to record a hockey game, and after that, the backend would deadlock listing the recordings. The master is Gentoo, with MythTV version: mythbackend version: fixes/0.26 [v0.26.0] www.mythtv.org media-tv/mythtv-0.26.0_p20130207 The slave is Mythbuntu running: {{{ mythbackend version: fixes/0.26 [v0.26.0-138-g69cd78b] www.mythtv.org The frontends (both of them, the slave AND the master), both keep repeating: 2013-03-31 21:53:30.419732 E Connection to master server timed out. Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address 2013-03-31 21:53:35.419907 I MythCoreContext: Connecting to backend server: 192.168.1.201:6543 (try 1 of 1) }}} The backend logs don't really show much: {{{ 2013-03-31 21:33:25.096039 I [2459/2829] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:25.096055 I [2459/2829] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 0) 2013-03-31 21:33:25.097485 I [2459/2829] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:25.097501 I [2459/2829] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 1) 2013-03-31 21:33:33.149038 N [2459/2747] Expire autoexpire.cpp:264 (CalcParams) - AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min 2013-03-31 21:33:57.433218 I [2459/2830] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:57.433234 I [2459/2830] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 2) 2013-03-31 21:33:59.313830 I [2459/2830] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:59.313843 I [2459/2830] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 0) 2013-03-31 21:33:59.315347 I [2459/2830] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:59.315366 I [2459/2830] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 1) 2013-03-31 21:33:59.401235 I [2459/2831] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:33:59.401249 I [2459/2831] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 2) 2013-03-31 21:34:29.322178 I [2459/2832] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:34:29.322191 I [2459/2832] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 0) 2013-03-31 21:34:59.428826 I [2459/2832] ProcessRequest mainserver.cpp:1395 (HandleAnnounce) - MainServer::ANN Monitor 2013-03-31 21:34:59.428839 I [2459/2832] ProcessRequest mainserver.cpp:1397 (HandleAnnounce) - adding: pancake as a client (events: 2) }}} GDB locked up when I both attached or ran under GDB, so I set it up to core dump on a signal and captured this stacktrace. Sorry I can't tell you what looks good and what doesn't. {{{ Thread 26 (Thread 0x7f09a53ea700 (LWP 3052)): #0 0x00007f09ee952523 in select () from /lib64/libc.so.6 #1 0x00007f09f87261ab in SSDP::run() () from /usr/lib64/libmythupnp-0.26.so.0 #2 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7f09a4be9700 (LWP 3053)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdfded8 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09efdfe6c0 in QThread::msleep(unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09f872868a in TaskQueue::run() () from /usr/lib64/libmythupnp-0.26.so.0 #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7f090e7fc700 (LWP 3057)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f83652c2 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7f09c4b0a700 (LWP 3046)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f902b0b6 in TVRec::run() () from /usr/lib64/libmythtv-0.26.so.0 #3 0x00007f09f835eb07 in MThread::run() () from /usr/lib64/libmythbase-0.26.so.0 #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7f09a67fc700 (LWP 3050)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f8b2da25 in JobQueue::ProcessQueue() () from /usr/lib64/libmythtv-0.26.so.0 #3 0x00007f09f835eb07 in MThread::run() () from /usr/lib64/libmythbase-0.26.so.0 #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7f090f7fe700 (LWP 3055)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x000000000048f5ba in ?? () #3 0x00007f09f8365116 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7f09c67fc700 (LWP 3045)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f902b0b6 in TVRec::run() () from /usr/lib64/libmythtv-0.26.so.0 #3 0x00007f09f835eb07 in MThread::run() () from /usr/lib64/libmythbase-0.26.so.0 #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7f09c57fa700 (LWP 3040)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f83a554f in MythSignalingTimer::run() () from /usr/lib64/libmythbase-0.26.so.0 #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7f090ffff700 (LWP 3054)): #0 0x00007f09ee94ff1d in poll () from /lib64/libc.so.6 #1 0x00007f09ef697956 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f09ef697a74 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f09eff2f096 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09efefea42 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09efefec97 in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f09efdfc1f7 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f09f835eb19 in MThread::run() () from /usr/lib64/libmythbase-0.26.so.0 #8 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7f090effd700 (LWP 3056)): #0 0x00007f09ee952523 in select () from /lib64/libc.so.6 #1 0x00007f09f8375b33 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #2 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7f09c6ffd700 (LWP 3036)): #0 0x00007f09ef43ce0c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff7cb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f8488b62 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7f09c77fe700 (LWP 3034)): #0 0x00007f09ef4404bd in nanosleep () from /lib64/libpthread.so.0 #1 0x00007f09f8489433 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #2 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7f09a5ffb700 (LWP 3051)): #0 0x00007f09ef43ce0c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09f1865522 in ?? () from /usr/lib64/qt4/libQtScript.so.4 #2 0x00007f09f1865559 in ?? () from /usr/lib64/qt4/libQtScript.so.4 #3 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7f09dac59700 (LWP 3028)): #0 0x00007f09ee95a033 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f09f22fad30 in ?? () from /usr/lib64/libmythzmq.so.1 #2 0x00007f09f230b576 in ?? () from /usr/lib64/libmythzmq.so.1 #3 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7f09c5ffb700 (LWP 3037)): #0 0x00007f09ef43ce0c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff7cb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f8488b62 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f090dffb700 (LWP 3058)): #0 0x00007f09ee94a7d5 in __xstat64 () from /lib64/libc.so.6 #1 0x00007f09efed7490 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09efe8e301 in QFileInfo::exists() const () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09f83d9c6c in StorageGroup::FindFileDir(QString) () from /usr/lib64/libmythbase-0.26.so.0 #4 0x00007f09f83da530 in StorageGroup::FindFileDir(QString) () from /usr/lib64/libmythbase-0.26.so.0 #5 0x00007f09f83daaad in StorageGroup::FindFile(QString) () from /usr/lib64/libmythbase-0.26.so.0 #6 0x00007f09f7aa151e in ProgramInfo::GetPlaybackURL(bool, bool) const () from /usr/lib64/libmyth-0.26.so.0 #7 0x00000000004dbf94 in GetPlaybackURL(ProgramInfo*, bool) () #8 0x0000000000469e6b in ?? () #9 0x000000000048853e in ?? () #10 0x000000000048acf8 in ?? () #11 0x000000000048fc91 in ?? () #12 0x00007f09f8365116 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #13 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #15 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f09d9c57700 (LWP 3030)): #0 0x00007f09ee95a033 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f09f22fad30 in ?? () from /usr/lib64/libmythzmq.so.1 #2 0x00007f09f230b576 in ?? () from /usr/lib64/libmythzmq.so.1 #3 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f09d8c55700 (LWP 3032)): #0 0x00007f09ee95a033 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f09f22fad30 in ?? () from /usr/lib64/libmythzmq.so.1 #2 0x00007f09f230b576 in ?? () from /usr/lib64/libmythzmq.so.1 #3 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f09d9456700 (LWP 3031)): #0 0x00007f09ee95a033 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f09f22fad30 in ?? () from /usr/lib64/libmythzmq.so.1 #2 0x00007f09f230b576 in ?? () from /usr/lib64/libmythzmq.so.1 #3 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f09da458700 (LWP 3029)): #0 0x00007f09ee95a033 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f09f22fad30 in ?? () from /usr/lib64/libmythzmq.so.1 #2 0x00007f09f230b576 in ?? () from /usr/lib64/libmythzmq.so.1 #3 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f09c7fff700 (LWP 3033)): #0 0x00007f09ef4404bd in nanosleep () from /lib64/libpthread.so.0 #1 0x00007f09f848a142 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #2 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f09a6ffd700 (LWP 3049)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x0000000000427ba2 in ?? () #3 0x0000000000434e04 in ?? () #4 0x0000000000435262 in ?? () #5 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f09a77fe700 (LWP 3048)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00000000004da8cd in ?? () #3 0x00000000004db3d2 in ?? () #4 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f09a7fff700 (LWP 3047)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00000000004ce446 in ?? () #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f09db465700 (LWP 3027)): #0 0x00007f09ef43d1de in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f09efdff72f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f09f84415a3 in ?? () from /usr/lib64/libmythbase-0.26.so.0 #3 0x00007f09efdff25c in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09f1c301b4 in ?? () from /usr/lib64/libGL.so.1 #5 0x00007f09ef438eb7 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f09ee95999d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f09e1b4f7c0 (LWP 3026)): #0 0x00007f09ee94ff1d in poll () from /lib64/libc.so.6 #1 0x00007f09ef697956 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f09ef697a74 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f09eff2f02f in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f09efefea42 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f09efefec97 in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f09eff03ab5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x000000000050d7f8 in ?? () #8 0x00000000004267b3 in main () }}} " Bug Report - Hang/Deadlock closed major 0.26.1 MythTV - General 0.26-fixes high Invalid 0