All pastes #2044391 Raw Edit

anssi

public text v1 · immutable
#2044391 ·published 2011-02-08 01:15 UTC
rendered paste body
m_sounds[x] is locked  (playback of a sound I guess)Thread 8 at CSoftAE::Run() => OpenSink() has locked m_soundlock and tries to lock an m_sounds[x]->Lock().The above results in a deadlock, as CSoftAE::Run() would normally releasem_sounds[x] when the playback is done. However, Run() is stuck here.The following do not seem related:Thread 2 has locked DVDAudio from DVDAudio::Create, has called AE.GetStream() => OpenSink() which tries to lock m_soundlock.Thread 1 tries to lock DVDAudio at GetCacheTime().Thread 8 (Thread 0x7fdf59e3a710 (LWP 9204)):#0  0x00007fdf691300bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0#1  0x00007fdf64405e7e in SDL_CondWait () from /usr/lib64/libSDL-1.2.so.0#2  0x000000000060717d in WaitForEvent (hHandle=0x314e5b0, dwMilliseconds=4294967295) at XSyncUtils.cpp:218#3  0x00000000006072f9 in WaitForSingleObject (hHandle=0x314e5b0, dwMilliseconds=<value optimized out>) at XSyncUtils.cpp:275#4  0x0000000000bcd9a6 in CSharedSection::EnterExclusive (this=0x314e478) at SharedSection.cpp:67#5  0x00000000009d7fdd in Lock (this=0x23ec550, sampleRate=<value optimized out>, forceRaw=<value optimized out>) at Engines/SoftAESound.h:48#6  CSoftAE::OpenSink (this=0x23ec550, sampleRate=<value optimized out>, forceRaw=<value optimized out>) at Engines/SoftAE.cpp:127#7  0x00000000009d915a in CSoftAE::Run (this=0x23ec550) at Engines/SoftAE.cpp:834#8  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#9  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#10 0x00007fdf637c915d in clone () from /lib64/libc.so.6#11 0x0000000000000000 in ?? ()Thread 7 (Thread 0x7fdf58b54710 (LWP 9205)):#0  0x00007fdf637c1cf3 in select () from /lib64/libc.so.6#1  0x000000000061a756 in SOCKETS::CSocketListener::Listen (this=0x7fdf58b52bc0, timeout=<value optimized out>) at Socket.cpp:195#2  0x00000000006137a6 in EVENTSERVER::CEventServer::Run (this=0x31e9ab0) at EventServer.cpp:213#3  0x0000000000613a38 in EVENTSERVER::CEventServer::Process (this=0x31e9ab0) at EventServer.cpp:148#4  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#5  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#6  0x00007fdf637c915d in clone () from /lib64/libc.so.6#7  0x0000000000000000 in ?? ()Thread 6 (Thread 0x7fdf53fff710 (LWP 9211)):#0  0x00007fdf637c1cf3 in select () from /lib64/libc.so.6#1  0x000000000061bfcb in JSONRPC::CTCPServer::Process (this=0x32187d0) at TCPServer.cpp:83#2  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#3  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#4  0x00007fdf637c915d in clone () from /lib64/libc.so.6#5  0x0000000000000000 in ?? ()Thread 5 (Thread 0x7fdf537fe710 (LWP 9212)):#0  0x00007fdf637bf533 in poll () from /lib64/libc.so.6#1  0x00007fdf6cb4554a in ?? () from /usr/lib64/libavahi-common.so.3#2  0x00007fdf6cb4409e in avahi_simple_poll_run () from /usr/lib64/libavahi-common.so.3#3  0x00007fdf6cb4481d in avahi_simple_poll_iterate () from /usr/lib64/libavahi-common.so.3#4  0x00007fdf6cb4484d in avahi_simple_poll_loop () from /usr/lib64/libavahi-common.so.3#5  0x00007fdf6cb4539c in ?? () from /usr/lib64/libavahi-common.so.3#6  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#7  0x00007fdf637c915d in clone () from /lib64/libc.so.6#8  0x0000000000000000 in ?? ()Thread 4 (Thread 0x7fdf361e6710 (LWP 9244)):#0  0x00007fdf69132c64 in __lll_lock_wait () from /lib64/libpthread.so.0#1  0x00007fdf6912e0e0 in _L_lock_874 () from /lib64/libpthread.so.0#2  0x00007fdf6912dfc7 in pthread_mutex_lock () from /lib64/libpthread.so.0#3  0x0000000000600190 in XCriticalSection::Enter (this=0x3cf7f38) at XCriticalSection.cpp:116#4  0x0000000000bce083 in CSingleLock::Enter (this=0x7fdf361e4c20) at SingleLock.cpp:61#5  0x0000000000924367 in CDVDPlayer::UpdatePlayState (this=0x3aa9950, timeout=200) at DVDPlayer.cpp:3434#6  0x000000000092b878 in CDVDPlayer::Process (this=0x3aa9950) at DVDPlayer.cpp:977#7  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#8  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#9  0x00007fdf637c915d in clone () from /lib64/libc.so.6#10 0x0000000000000000 in ?? ()---Type <return> to continue, or q <return> to quit---Thread 3 (Thread 0x7fdf359e5710 (LWP 9245)):#0  0x00007fdf69130429 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0#1  0x00007fdf64405f37 in SDL_CondWaitTimeout () from /usr/lib64/libSDL-1.2.so.0#2  0x000000000060714a in WaitForEvent (hHandle=0x2d79530, dwMilliseconds=417) at XSyncUtils.cpp:228#3  0x00000000006072f9 in WaitForSingleObject (hHandle=0x2d79530, dwMilliseconds=<value optimized out>) at XSyncUtils.cpp:275#4  0x0000000000943c42 in CDVDMessageQueue::Get (this=0x3aa9f28, pMsg=0x7fdf359e3cb8, iTimeoutInMilliSeconds=417, priority=@0x7fdf359e3ce4) at DVDMessageQueue.cpp:213#5  0x0000000000938daa in CDVDPlayerVideo::Process (this=0x3aa9ed8) at DVDPlayerVideo.cpp:318#6  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#7  0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#8  0x00007fdf637c915d in clone () from /lib64/libc.so.6#9  0x0000000000000000 in ?? ()Thread 2 (Thread 0x7fdf52ffd710 (LWP 9246)):#0  0x00007fdf69132c64 in __lll_lock_wait () from /lib64/libpthread.so.0#1  0x00007fdf6912e0e0 in _L_lock_874 () from /lib64/libpthread.so.0#2  0x00007fdf6912dfc7 in pthread_mutex_lock () from /lib64/libpthread.so.0#3  0x0000000000600190 in XCriticalSection::Enter (this=0x23ec708) at XCriticalSection.cpp:116#4  0x0000000000bce083 in CSingleLock::Enter (this=0x7fdf52ffbb40) at SingleLock.cpp:61#5  0x00000000009d7fbf in CSoftAE::OpenSink (this=0x23ec550, sampleRate=<value optimized out>, forceRaw=true) at Engines/SoftAE.cpp:124#6  0x00000000009d94d0 in CSoftAE::GetStream (this=0x23ec550, dataFormat=AE_FMT_RAW, sampleRate=48000, channelCount=<value optimized out>, channelLayout=0x11694e0, options=<value optimized out>) at Engines/SoftAE.cpp:542#7  0x00000000009411b7 in CDVDAudio::Create (this=0x3aaa878, audioframe=..., codec=<value optimized out>) at DVDAudio.cpp:73#8  0x000000000093168e in CDVDPlayerAudio::Process (this=0x3aaa588) at DVDPlayerAudio.cpp:563#9  0x0000000000bce6e2 in CThread::staticThread (data=<value optimized out>) at Thread.cpp:202#10 0x00007fdf6912ba5d in start_thread () from /lib64/libpthread.so.0#11 0x00007fdf637c915d in clone () from /lib64/libc.so.6#12 0x0000000000000000 in ?? ()Thread 1 (Thread 0x7fdf6d74a800 (LWP 9186)):#0  0x00007fdf69132c64 in __lll_lock_wait () from /lib64/libpthread.so.0#1  0x00007fdf6912e0e0 in _L_lock_874 () from /lib64/libpthread.so.0#2  0x00007fdf6912dfc7 in pthread_mutex_lock () from /lib64/libpthread.so.0#3  0x0000000000600190 in XCriticalSection::Enter (this=0x3aaa898) at XCriticalSection.cpp:116#4  0x0000000000bce083 in CSingleLock::Enter (this=0x7fffdbb2bcb0) at SingleLock.cpp:61#5  0x0000000000940a31 in CDVDAudio::GetCacheTime (this=<value optimized out>) at DVDAudio.cpp:294#6  0x00000000009303c3 in CDVDPlayerAudio::GetPlayerInfo (this=0x3aaa588) at DVDPlayerAudio.cpp:854#7  0x0000000000924ca1 in CDVDPlayer::GetAudioInfo (this=0x3aa9950, strAudioInfo=...) at DVDPlayer.cpp:2270#8  0x00000000006357ca in CGUIWindowFullScreen::FrameMove (this=0x28cc870) at GUIWindowFullScreen.cpp:692#9  0x000000000081d0f4 in CGUIWindowManager::FrameMove (this=0x11a7d60) at GUIWindowManager.cpp:540#10 0x00000000008d5239 in CXBApplicationEx::Run (this=0x11a8a20) at XBApplicationEx.cpp:113#11 0x00000000008d5918 in main (argc=1, argv=<value optimized out>) at xbmc.cpp:172