https://bugs.winehq.org/show_bug.cgi?id=48773
Bug ID: 48773 Summary: RtlQueryEnvironmentVariable is missing from ntdll.dll? Product: Wine Version: 5.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: alon@skylinesoft.com Distribution: ---
Hi,
I tried to use a program that uses this library:
https://github.com/microsoft/mimalloc
this library uses a precompiled dll file named mimalloc-redirect.dll this dll can not load under wine since it have at least one missing dependency RtlQueryEnvironmentVariable
this dll loads fine under winodws.
compiling the samples/test from this project will give you the test program. even a simple program that just calls LoadLibrary will show the problem.
https://bugs.winehq.org/show_bug.cgi?id=48773
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=48773
alon@skylinesoft.com alon@skylinesoft.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
--- Comment #1 from alon@skylinesoft.com alon@skylinesoft.com --- I used release 1.6.1 of mimalloc from here:
https://github.com/microsoft/mimalloc/releases
https://bugs.winehq.org/show_bug.cgi?id=48773
alon@skylinesoft.com alon@skylinesoft.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=48773
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |zzhang@codeweavers.com Ever confirmed|0 |1
--- Comment #2 from Zhiyi Zhang zzhang@codeweavers.com --- Confirmed with wine-5.4. No RtlQueryEnvironmentVariable. It looks like a variant of RtlQueryEnvironmentVariable_U, which Wine has implemented.
https://bugs.winehq.org/show_bug.cgi?id=48773
--- Comment #3 from alon@skylinesoft.com alon@skylinesoft.com --- Still happens with wine 5.6 what can I do so it will be fixed?
https://bugs.winehq.org/show_bug.cgi?id=48773
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |058f86958cae87bd3e2f1dd55b0 | |605ff50306b4f Status|NEW |RESOLVED
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- RtlQueryEnvironmentVariable was added in https://source.winehq.org/git/wine.git/commit/058f86958cae87bd3e2f1dd55b0605ff50306b4f.
Marking FIXED.
https://bugs.winehq.org/show_bug.cgi?id=48773
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RtlQueryEnvironmentVariable |mimalloc needs |is missing from ntdll.dll? |ntdll.dll.RtlQueryEnvironme | |ntVariable
https://bugs.winehq.org/show_bug.cgi?id=48773
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |https://github.com/microsof | |t/mimalloc/releases/tag/v1. | |6.1
https://bugs.winehq.org/show_bug.cgi?id=48773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.11.