https://bugs.winehq.org/show_bug.cgi?id=51083
Bug ID: 51083 Summary: Deadlock in llvm-mingw compiled app Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: vladimir.kokovic@gmail.com Distribution: ---
Created attachment 69945 --> https://bugs.winehq.org/attachment.cgi?id=69945 wine log
I have one test program (pomocni-llvm-mingw.exe) who acts very strangely in wine git version(Wine-6.7-175-G2Deb8C2825A) while in the Windows10 does not work at all.
What the most surprise is that although the wine64 call is terminated for the specified program, wine processes and the program itself remain in memory and after interruptions:
[root@vlada-kuci tmp 21:17:48]$ /asoft-src/ispp-64/linux/cross-compile/llvm-mingw/pomocni-cross-llvm-mingw/pomocni-cross-mingw64.sh
/tmp/pomocni-cross-mingw64.log 2>&1
^C[root@vlada-kuci tmp 01:00:13]$ [root@vlada-kuci tmp 01:00:15]$ [root@vlada-kuci tmp 01:00:15]$ ps -ef | grep pomocni root 419722 1 0 00:57 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 419932 1456 0 01:08 pts/16 00:00:00 grep pomocni [root@vlada-kuci tmp 01:08:41]$ ps -ef | grep win root 419631 1 0 00:55 ? 00:00:25 /mnt/WD-Elements-25A1/src/wine-git/install64/bin/wineserver root 419637 1 0 00:55 ? 00:00:00 C:\windows\system32\services.exe root 419640 1 0 00:55 ? 00:00:13 C:\windows\system32\winedevice.exe root 419647 1 0 00:55 ? 00:00:00 C:\windows\system32\plugplay.exe root 419655 1 1 00:55 ? 00:05:57 C:\windows\system32\winedevice.exe root 419672 1 0 00:55 ? 00:00:00 C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted root 419677 1 0 00:55 ? 00:00:00 C:\windows\system32\rpcss.exe root 419716 1 0 00:57 pts/16 00:00:00 C:\windows\system32\conhost.exe --unix --width 0 --height 0 --server 0x30 root 422318 1456 0 06:38 pts/16 00:00:00 grep win
The program is made with the latest version of llvm-mingw:Clang Version 11.0.0 (https://github.com/llvm/llvm-project.git 176249bd6732a8044d457092ed922768724a6f06).
That same program when it is made and performed in Linux works correctly as predicted.
In the attachment, I send the following files:
1. wine log - pomocni-cross-mingw64.log
2. exe characteristics - trt.log
3. test script - pomocni-cross-mingw64.sh
4. test program - testIsppRadenik.cpp
Vladimir Koković, DP senior(70),
Serbia, Belgrade, 1.May 2021