[Bug 49033] Inno Setup installer: runtime error with external dll - regression in msvcrt

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 19 02:53:10 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49033

Piotr Caban <piotr.caban at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piotr.caban at gmail.com
          Component|msvcrt                      |-unknown

--- Comment #2 from Piotr Caban <piotr.caban at gmail.com> ---
The exconfig.dll is a 32-bit dll so it will not work with current Wine on
Catalina.

I've done a quick test and the problem is that:
 - on Mac user32.dll.so is loaded at 0x69c00000
 - exconfig.dll base address is 0x69cc0000, because of that the dll needs to be
relocated
 - I don't know how exconfig.dll was created but it fails to relocate both on
Windows and in Wine even so the dll have relocation data

The relocation test I have written looks as follows:
VirtualAlloc((void*)0x69CC0000, 0x4096, MEM_RESERVE | MEM_COMMIT,
PAGE_NOACCESS);
LoadLibraryA("exconfig.dll");

I'm not familiar with this part of wine but in order to fix it we will need to
make sure that 0x69cc0000-0x69df4000 memory range is not used. Another option
of working around it is to recompile exconfig.dll so it contains valid
relocation data.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list