opdenkamp/xbmc — Issue #367: Deadlock on bringing up TV in XBMC
Author: emilm
Created: 2011-12-14 21:11:03+00:00
State: open

Thread 15 (Thread 0x59fbb70 (LWP 1759)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b2884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08ae5433 in wait (this=0x8efaf00, milliseconds=2000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:74
#3 wait (this=0x8efaf00, milliseconds=2000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66
#4 WaitMSec (this=0x8efaf00, milliseconds=2000) at Event.h:84
#5 CThread::Sleep (this=0x8efaf00, milliseconds=2000) at Thread.cpp:530
#6 0x08ade21f in MEDIA_DETECT::CDetectDVDMedia::Process (this=0x8efaf00) at DetectDVDType.cpp:110
#7 0x08ae57c1 in CThread::staticThread (data=0x8efaf00) at Thread.cpp:177
#8 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#9 0x01a1f69e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb75ffb70 (LWP 1761)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b2884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08abde18 in wait (this=0x8ef91e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:74
#3 wait (this=0x8ef91e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66
#4 WaitMSec (this=0x8ef91e0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Event.h:84
#5 PVR::CPVRManager::Process (this=0x8ef91e0) at PVRManager.cpp:215
#6 0x08ae57c1 in CThread::staticThread (data=0x8ef91e0) at Thread.cpp:177
#7 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#8 0x01a1f69e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb6dfeb70 (LWP 1763)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b5de6 in nanosleep () from /lib/libpthread.so.0
#2 0x0823fa79 in Sleep (dwMilliSeconds=5) at XTimeUtils.cpp:63
#3 0x08ae5367 in CThread::Sleep (this=0xacfa2d0, milliseconds=5) at Thread.cpp:532
#4 0x089eb0e9 in addon_music_spotify::BackgroundThread::Process (this=0xacfa2d0) at spotyXBMC/session/BackgroundThread.cpp:59
#5 0x08ae57c1 in CThread::staticThread (data=0xacfa2d0) at Thread.cpp:177
#6 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#7 0x01a1f69e in clone () from /lib/libc.so.6

Thread 12 (Thread 0x2d53b70 (LWP 1764)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b4895 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2 0x003bc2de in ?? () from /usr/local/lib/libspotify.so.9
#3 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#4 0x01a1f69e in clone () from /lib/libc.so.6

Thread 11 (Thread 0x2e1fb70 (LWP 1765)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a10df6 in poll () from /lib/libc.so.6
#2 0x005c5cc3 in ?? () from /usr/local/lib/libspotify.so.9
#3 0x005c5b7c in ?? () from /usr/local/lib/libspotify.so.9
#4 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#5 0x01a1f69e in clone () from /lib/libc.so.6

Thread 10 (Thread 0x6b33b70 (LWP 1767)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b2884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08ae5433 in wait (this=0xad24230, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:74
#3 wait (this=0xad24230, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66
#4 WaitMSec (this=0xad24230, milliseconds=1000) at Event.h:84
#5 CThread::Sleep (this=0xad24230, milliseconds=1000) at Thread.cpp:530
#6 0x0844f7b9 in PVR::CPVRClients::Process (this=0xad24200) at PVRClients.cpp:1209
#7 0x08ae57c1 in CThread::staticThread (data=0xad24230) at Thread.cpp:177
#8 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#9 0x01a1f69e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb5bffb70 (LWP 1768)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a18371 in select () from /lib/libc.so.6
#2 0x0171df57 in ?? () from /usr/lib/libpython2.6.so.1.0
#3 0x016813b2 in PyCFunction_Call () from /usr/lib/libpython2.6.so.1.0
#4 0x016e1a4f in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#5 0x016e1b66 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#6 0x016e1b66 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#7 0x016e32b9 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#8 0x016e33d3 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#9 0x01703551 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#10 0x0890a300 in XBPyThread::Process (this=0xb7602e88) at XBPyThread.cpp:256
#11 0x08ae57c1 in CThread::staticThread (data=0xb7602e88) at Thread.cpp:177
#12 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#13 0x01a1f69e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb4bfdb70 (LWP 1772)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a10df6 in poll () from /lib/libc.so.6
#2 0x08642b14 in tcp_read_timeout (fdSock=25, buf=0xb4bfd20c, nLen=4, nTimeout=250) at linux/net_posix.c:212
#3 0x02092805 in CHTSPConnection::ReadMessage (this=0xb76ebc10, timeout=250) at HTSPConnection.cpp:147
#4 0x020995cb in CHTSPData::Action (this=0xb760b028) at HTSPData.cpp:642
#5 0x0209f1f9 in cThread::StartThread (Thread=0xb760b028) at thread.cpp:259
#6 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#7 0x01a1f69e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb3bfbb70 (LWP 1774)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a18371 in select () from /lib/libc.so.6
#2 0x00a5240c in ?? () from /usr/lib/libmicrohttpd.so.5
#3 0x00a5269f in ?? () from /usr/lib/libmicrohttpd.so.5
#4 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#5 0x01a1f69e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb33fab70 (LWP 1775)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a10df6 in poll () from /lib/libc.so.6
#2 0x009e1cae in ?? () from /usr/lib/libavahi-common.so.3
#3 0x009e045c in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#4 0x009e0ca0 in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#5 0x009e0cf0 in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#6 0x009e1a9b in ?? () from /usr/lib/libavahi-common.so.3
#7 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#8 0x01a1f69e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb2bf9b70 (LWP 1776)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a18371 in select () from /lib/libc.so.6
#2 0x08257020 in SOCKETS::CSocketListener::Listen (this=0xb2bf90e8, timeout=1000) at Socket.cpp:195
#3 0x0824e698 in EVENTSERVER::CEventServer::Run (this=0xa636518) at EventServer.cpp:209
#4 0x0824e9e8 in EVENTSERVER::CEventServer::Process (this=0xa636518) at EventServer.cpp:147
#5 0x08ae57c1 in CThread::staticThread (data=0xa636518) at Thread.cpp:177
#6 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#7 0x01a1f69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb23f8b70 (LWP 1777)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x01a18371 in select () from /lib/libc.so.6
#2 0x082591be in JSONRPC::CTCPServer::Process (this=0xa636638) at TCPServer.cpp:120
#3 0x08ae57c1 in CThread::staticThread (data=0xa636640) at Thread.cpp:177
#4 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#5 0x01a1f69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb17ffb70 (LWP 1835)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b2884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08ae5433 in wait (this=0xad24db0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/Condition.h:74
#3 wait (this=0xad24db0, milliseconds=1000) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Condition.h:66
#4 WaitMSec (this=0xad24db0, milliseconds=1000) at Event.h:84
#5 CThread::Sleep (this=0xad24db0, milliseconds=1000) at Thread.cpp:530
#6 0x08aba7dd in PVR::CPVRGUIInfo::Process (this=0xad24db0) at PVRGUIInfo.cpp:233
#7 0x08ae57c1 in CThread::staticThread (data=0xad24db0) at Thread.cpp:177
#8 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#9 0x01a1f69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb0ffeb70 (LWP 1836)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b5169 in __lll_lock_wait () from /lib/libpthread.so.0
#2 0x002b05d9 in _L_lock_839 () from /lib/libpthread.so.0
#3 0x002b046b in pthread_mutex_lock () from /lib/libpthread.so.0
#4 0x08acca22 in lock (this=0xb06785e8, tag=0x0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/platform/pthreads/CriticalSection.h:50
#5 lock (this=0xb06785e8, tag=0x0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Lockables.h:60
#6 UniqueLock (this=0xb06785e8, tag=0x0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/Lockables.h:117
#7 CSingleLock (this=0xb06785e8, tag=0x0) at /mnt/disk1/apps/xbmc-pvr-main/xbmc/threads/SingleLock.h:37
#8 PVR::CPVRTimerInfoTag::SetEpgInfoTag (this=0xb06785e8, tag=0x0) at PVRTimerInfoTag.cpp:435
#9 0x0876caad in EPG::CEpgInfoTag::SetTimer (this=0xb186e958, newTimer=0x0) at EpgInfoTag.cpp:674
#10 0x0876cb22 in EPG::CEpgInfoTag::~CEpgInfoTag (this=0xb186e958, __in_chrg=) at EpgInfoTag.cpp:148
#11 0x08774276 in EPG::CEpg::Cleanup (this=0xb76dea48, Time=...) at Epg.cpp:235
#12 0x08778e92 in EPG::CEpgContainer::RemoveOldEntries (this=0x8ef3cc0) at EpgContainer.cpp:291
#13 0x0877920f in EPG::CEpgContainer::Process (this=0x8ef3cc0) at EpgContainer.cpp:189
#14 0x08ae57c1 in CThread::staticThread (data=0x8ef3d20) at Thread.cpp:177
#15 0x002adcc9 in start_thread () from /lib/libpthread.so.0
#16 0x01a1f69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xa06970 (LWP 1663)):
#0 0x00e5a416 in __kernel_vsyscall ()
#1 0x002b5169 in __lll_lock_wait () from /lib/libpthread.so.0
#2 0x002b05d9 in _L_lock_839 () from /lib/libpthread.so.0
#3 0x002b046b in pthread_mutex_lock () from /lib/libpthread.so.0
#4 0x0877507e in lock (this=0xb76dea48, tag=...) at ../threads/platform/pthreads/CriticalSection.h:50
#5 lock (this=0xb76dea48, tag=...) at ../threads/Lockables.h:60
#6 UniqueLock (this=0xb76dea48, tag=...) at ../threads/Lockables.h:117
#7 CSingleLock (this=0xb76dea48, tag=...) at ../threads/SingleLock.h:37
#8 EPG::CEpg::InfoTagNow (this=0xb76dea48, tag=...) at Epg.cpp:250
#9 0x08a8d154 in PVR::CPVRChannel::GetEPGNow (this=0xabe1f10, tag=...) at PVRChannel.cpp:719
#10 0x08b6d151 in CFileItem::CFileItem (this=0xbe58640, channel=...) at FileItem.cpp:180
#11 0x08a98336 in PVR::CPVRChannelGroupInternal::GetMembers (this=0xaf707120, results=..., bGroupMembers=true) at PVRChannelGroupInternal.cpp:215
#12 0x08a9dbe6 in PVR::CPVRChannelGroupsContainer::GetDirectory (this=0xabb01e8, strPath=..., results=...) at PVRChannelGroupsContainer.cpp:227
#13 0x0882d138 in XFILE::CPVRDirectory::GetDirectory (this=0xbe56420, strPath=..., items=...) at PVRDirectory.cpp:97
#14 0x087af8ce in XFILE::CDirectory::GetDirectory (strPath=..., items=..., strMask=..., bUseFileDirectories=, allowPrompting=, cacheDirectory=XFILE::DIR_CACHE_ONCE,
extFileInfo=, allowThreads=false, getHidden=false) at Directory.cpp:177
#15 0x08858795 in XFILE::CVirtualDirectory::GetDirectory (this=0xa643adc, strPath=..., items=..., bUseFileDirectories=128) at VirtualDirectory.cpp:80
#16 0x08857687 in XFILE::CVirtualDirectory::GetDirectory (this=0xa643adc, strPath=..., items=...) at VirtualDirectory.cpp:75
#17 0x08b07a25 in CGUIMediaWindow::GetDirectory (this=0xa643830, strDirectory=..., items=...) at GUIMediaWindow.cpp:643
#18 0x08b048ea in CGUIMediaWindow::Update (this=0xa643830, strDirectory=...) at GUIMediaWindow.cpp:717
#19 0x08affadc in CGUIMediaWindow::OnInitWindow (this=0xa643830) at GUIMediaWindow.cpp:1337
#20 0x08454c6a in PVR::CGUIWindowPVR::OnInitWindow (this=0xa643830) at GUIWindowPVR.cpp:126
#21 0x0850cd22 in CGUIWindow::OnMessage (this=0xa643830, message=...) at GUIWindow.cpp:506
#22 0x08b08c0c in CGUIMediaWindow::OnMessage (this=0xa643830, message=...) at GUIMediaWindow.cpp:417
#23 0x08454327 in PVR::CGUIWindowPVR::OnMessage (this=0xa643830, message=...) at GUIWindowPVR.cpp:132
#24 0x0851585b in CGUIWindowManager::ActivateWindow_Internal (this=0x8efa740, iWindowID=10600, params=..., swappingWindows=false) at GUIWindowManager.cpp:431
#25 0x08515b35 in CGUIWindowManager::ActivateWindow (this=0x8efa740, iWindowID=10600, params=..., swappingWindows=false) at GUIWindowManager.cpp:350
#26 0x088b6384 in CBuiltins::Execute (execString=...) at Builtins.cpp:346
#27 0x08b36abb in CApplication::OnAction (this=0x8efaee0, action=...) at Application.cpp:2400
#28 0x08b38758 in CApplication::OnKey (this=0x8efaee0, key=...) at Application.cpp:2297
#29 0x08b3927f in CApplication::ProcessRemote (this=0x8efaee0, frameTime=0.0200000014) at Application.cpp:2842
#30 0x08b3a3d1 in CApplication::FrameMove (this=0x8efaee0, processEvents=true) at Application.cpp:2723
#31 0x08bd8a70 in CXBApplicationEx::Run (this=0x8efaee0) at XBApplicationEx.cpp:121
#32 0x08bdf184 in main (argc=3, argv=0xbfa1c934) at xbmc.cpp:93