https://bugs.winehq.org/show_bug.cgi?id=51083
--- Comment #9 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Damjan Jovanovic from comment #8)
Please start winedbg during the deadlock, run "bt all" and post the output. Hopefully we can see what that other thread is doing that's keeping it from releasing the lock (unless it leaked the lock instead).
My primary question is how to start winedbg ? Here's what the situation is at that moment.
ps -ef | grep pomocni root 367122 1303 0 07:10 pts/16 00:00:00 /bin/bash /asoft-src/ispp-64/linux/cross-compile/llvm-mingw/pomocni-cross-llvm-mingw/pomocni-cross-mingw64.sh root 367187 1 0 07:10 pts/16 00:00:00 C:\windows\system32\cmd.exe /C z:\tmp\vk-pomocni-cross-llvm-mingw.bat root 367191 1 0 07:10 pts/16 00:00:00 pomocni-llvm-mingw.exe DRIVER=PostgreSQL;DATABASE=ispp-pprostor-beograd;SERVER=localhost;UID=vlada;PWD=vladakk;MaxVarcharSize=65536;MaxLongVarcharSize=65536;ByteaAsLongVarBinary=1 root 367218 1305 0 07:14 pts/18 00:00:00 grep pomocni
pid threads executable (all id:s are in hex) 0000011c 1 'start.exe' 00000124 1 _ 'conhost.exe' 00000068 3 'explorer.exe' 00000038 7 'services.exe' 000000d4 6 _ 'rpcss.exe' 000000c0 3 _ 'svchost.exe' 00000080 7 _ 'winedevice.exe' 00000060 5 _ 'plugplay.exe' 00000044 4 _ 'winedevice.exe' 00000020 1 'start.exe' 00000100 1 _ 'cmd.exe' 00000110 2 _ 'pomocni-llvm-mingw.exe' 000000f8 1 _ 'conhost.exe'
0118:err:ntdll:RtlpWaitForCriticalSection section 000000007BC61540 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0118, blocked by 0114, retrying (60 sec) 0118:err:ntdll:RtlpWaitForCriticalSection section 000000007BC61540 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0118, blocked by 0114, retrying (60 sec) 0118:err:ntdll:RtlpWaitForCriticalSection section 000000007BC61540 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0118, blocked by 0114, retrying (60 sec)
0118 and 0114 do not exist !