https://bugs.winehq.org/show_bug.cgi?id=53288
Bug ID: 53288 Summary: Application compiled with MSVC 2022 ASan does not start, needs QueryVirtualMemoryInformation Product: Wine Version: 7.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: rpisl@seznam.cz Distribution: ---
Application compiled with MSVC 2022 ASan does not start in Wine 7.11 as it needs implementation of QueryVirtualMemoryInformation.
Console output: ==808==AddressSanitizer CHECK failed: D:\a_work\1\s\src\vctools\crt\asan\llvm\compiler-rt\lib\sanitizer_common\sanitizer_win.cpp:1108 "((QueryVirtualMemoryInformation && "ASan requires the Windows 10-only API, QueryVirtualMemoryInformation")) != (0)" (0x0, 0x0) <empty stack>
https://bugs.winehq.org/show_bug.cgi?id=53288
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Thanks, I'll take a look.
https://bugs.winehq.org/show_bug.cgi?id=53288
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- There is an older MR for this one https://gitlab.winehq.org/wine/wine/-/merge_requests/333. Could you test with it? Or maybe attach a compiled program that shows the issue.
https://bugs.winehq.org/show_bug.cgi?id=53288
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- There is a semi-stub in wine 7.20, but I don't have a test using ASan to verify if it's enough.
https://bugs.winehq.org/show_bug.cgi?id=53288
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
https://bugs.winehq.org/show_bug.cgi?id=53288
--- Comment #4 from Roman Pišl rpisl@seznam.cz --- Hi Nikolay, I just received notification for the status change, but not for your previous posts. I don't have the setup with asan and msvc2022 anymore, because it uses a modified version of llvm/compiler-rt which also needs patching (see bug 50993) and the source is not provided by ms.
If I remember correctly, the patch has already been posted on the old patch list and it worked for me i.e. the message was gone and then ran into bug 50993.
https://bugs.winehq.org/show_bug.cgi?id=53288
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |50993
https://bugs.winehq.org/show_bug.cgi?id=53288
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEEDINFO |RESOLVED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Thanks, let's close this one then, keeping more serious issue at bug 50993 open.
https://bugs.winehq.org/show_bug.cgi?id=53288
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.22.