https://bugs.winehq.org/show_bug.cgi?id=49825
--- Comment #3 from Vladimir Koković vladimir.kokovic@gmail.com --- Hi, Realizing that, if I want this bug to be removed, I have to actively participate and find the reason, and if I can, solve it. It is normal that this can only be achieved by active debugging and normal if the debugger is working properly! However, I hope I'm the only one who's unlucky, because the winedbg GIT version really doesn't work! I did wine clone, build, install, made a script and tried winedbg:
export WINEPREFIX=/mnt/WD-Elements-25A1/src/wine-git/install64 export WINESERVER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wineserver export WINELOADER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wine64 export WINEDLLPATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine export LD_LIBRARY_PATH="$WINEPREFIX/lib64/wine:$LD_LIBRARY_PATH" /mnt/WD-Elements-25A1/src/wine-git/install64/bin/winedbg '/asoft-src/ispp-64/mingw64/GetNamedSecurityInfoA/GetNamedSecurityInfoA/dist/Debug/MinGW64-Windows/getnamedsecurityinfoa.exe'
/mnt/WD-Elements-25A1/src/wine-git/install64/bin/winedbg '/asoft-src/ispp-64/mingw64/GetNamedSecurityInfoA/GetNamedSecurityInfoA/dist/Debug/MinGW64-Windows/getnamedsecurityinfoa.exe' WineDbg starting on pid 00f8 RtlConvertToAutoInheritSecurityObject () at E:\src\wine-git\build64..\wine\dlls\ntdll\sec.c:1721 0x000000007bc58bf1 RtlConvertToAutoInheritSecurityObject+0x2d1 [E:\src\wine-git\build64..\wine\dlls\ntdll\sec.c:1721] in ntdll: ret 1721 } Wine-dbg>list main.cpp:19 Enter path to file 'main.cpp' (<cr> to end search): /asoft-src/ispp-64/mingw64/GetNamedSecurityInfoA/GetNamedSecurityInfoA 19 int main(int argc, char** argv) { 20 LPTSTR pszObjName = (CHAR *)"d:\jre-10.0.2"; 21 DWORD dwRes = 0; 22 PACL pOldDACL = NULL, pOldDACL1 = NULL; 23 PSECURITY_DESCRIPTOR pSD = NULL; 24 PACL Sacl = NULL; 25 26 // Get a pointer to the existing DACL. 27 28 dwRes = GetNamedSecurityInfo( 29 pszObjName, //LPCSTR pObjectName name of object Wine-dbg>b main.cpp:19 Unknown line number (either out of file, or no code at given line number) Wine-dbg>b main.cpp:28 Unknown line number (either out of file, or no code at given line number) Wine-dbg>
The question now is: what should I do, poor me?