[Bug 40502] Global objects constructors fail when invoking standard libs

WineHQ Bugzilla wine-bugs at winehq.org
Fri Apr 3 18:03:27 CDT 2020


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

Fabian Maurer <dark.shadow4 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dark.shadow4 at web.de

--- Comment #7 from Fabian Maurer <dark.shadow4 at web.de> ---
Still an issue as of wine-5.5.

When the program is loaded, during wine_dlopen, the static constructors are
run. But only during main, wine gets a chance to fixup the imports by calling
LdrInitializeThunk.

So during static constructors no wine code can be called, since the imports are
not fixed up yet.

-- 
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