[Bug 51821] EVE Online Sisi Client Crashes Due to differences in how Wine and Windows handle LoadLibraryExW Undefined Behavior

WineHQ Bugzilla wine-bugs at winehq.org
Sat Oct 2 22:51:26 CDT 2021


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

--- Comment #5 from algebro at tuta.io ---
I've been digging through the loader.c source and am still trying to understand
what the problem is. In a debugging session, I was able to verify that
LdrGetDllPath() within load_library() does not return the executable directory
in the path for this module, but it does with all the others:

```
Stopped on breakpoint 1 at 0x000000007b027ee8
Wine-dbg>x/u $rcx
C:\EVE\SharedCache\sisi\bin64;C:\windows\system32;C:\windows\system;C:\windows;.;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\w
indows\system32\WindowsPowershell\v1.0
Wine-dbg>x/x $r8 + 8
 077c6440
Wine-dbg>x/u 0x077c6440
C:\EVE\SharedCache\sisi\bin64\factionsLoader.pyd

[...]

```
Stopped on breakpoint 1 at 0x000000007b027ee8
Wine-dbg>x/x $r8 + 8
 1584b780
Wine-dbg>x/u 0x1584b780
launchdarkly_client.pyd
Wine-dbg>x/u $rcx
C:\windows\system32;C:\windows\system;C:\windows;.;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowersh
ell\v1.0
```

I guess the problem is somewhere in LdrGetDllPath() or get_dll_load_path(), but
I don't see any comments that look like they would've directly broken something
that was working before...

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