010c:err:module:LdrInitializeThunk "CliExt.dll" failed to initialize, aborting

Questions about Wine on Linux
Locked
eskrest
Newbie
Newbie
Posts: 1
Joined: Thu May 25, 2023 6:04 am

010c:err:module:LdrInitializeThunk "CliExt.dll" failed to initialize, aborting

Post by eskrest »

Hello everyone. I'm quite lost here.
I'm trying to launch a game (Lineage 2 C4) of a specific server (la2era.com), and it fails on that DLL.
As I understand, that DLL is their custom built library, other Lineage 2 clients don't have it.
The ones that do not have this DLL, run perfectly.

Details:
Wine: 8.8 staging
OS: Debian testing (Bookworm)
Terminal output:

Code: Select all

002c:fixme:winediag:LdrInitializeThunk wine-staging 8.8 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
010c:err:module:LdrInitializeThunk "CliExt.dll" failed to initialize, aborting
010c:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\media\\data\\Games\\La2Era\\System\\L2.exe" failed, status c0000005
What I've tried:
1. install all dependencies from the the appdb page (corefonts / d3dx9 / dotnet20 / msxml6 / vcrun2008 / Tahoma fonts)
2. different Wine builds, including Proton, Proton GE, Wine GE
3. created a wine32 prefix and tried that
4. cleared the ~/.wine/ prefix fully
5. WINEDEBUG=+loaddll,+message,+msgbox,+seh wine L2.exe &>debug.log

Code: Select all

...
010c:trace:loaddll:build_module Loaded L"Z:\\media\\data\\Games\\La2Era\\System\\DSETUP.dll" at 06710000: native
010c:trace:loaddll:build_module Loaded L"Z:\\media\\data\\Games\\La2Era\\System\\CliExt.dll" at 3B500000: native
010c:trace:message:spy_enter_message (0x10020) L"{#32769}"      [0000] WM_NULL sent from tid 010c wp=00000000 lp=00000000
0060:trace:message:spy_enter_message (0x10020)  DefWindowProc:[0000] WM_NULL  wp=00000000 lp=00000000
0060:trace:message:spy_exit_message  (0x10020)  DefWindowProc: [0000] WM_NULL returned 00000000
010c:trace:message:spy_exit_message  (0x10020) L"{#32769}"      [0000] WM_NULL returned 00000000
010c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 6BB40000: builtin
010c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 70D80000: builtin
010c:trace:message:spy_enter_message (0x10020) L"{#32769}"      [0000] WM_NULL sent from tid 010c wp=00000000 lp=00000000
0060:trace:message:spy_enter_message (0x10020)  DefWindowProc:[0000] WM_NULL  wp=00000000 lp=00000000
0060:trace:message:spy_exit_message  (0x10020)  DefWindowProc: [0000] WM_NULL returned 00000000
010c:trace:message:spy_exit_message  (0x10020) L"{#32769}"      [0000] WM_NULL returned 00000000
010c:trace:seh:dispatch_exception code=40010006 flags=0 addr=7B012966 ip=7b012966
010c:trace:seh:dispatch_exception  info[0]=00000013
010c:trace:seh:dispatch_exception  info[1]=0671130c
010c:warn:seh:dispatch_exception "DLL_PROCESS_ATTACH"
010c:trace:seh:call_stack_handlers calling handler at 7B82EB40 code=40010006 flags=0
010c:trace:seh:__regs_RtlUnwind code=40010006 flags=2
010c:trace:seh:__regs_RtlUnwind eax=00000000 ebx=00000000 ecx=40010006 edx=0042f60c esi=0042f540 edi=0042f60c
010c:trace:seh:__regs_RtlUnwind ebp=0042f0a8 esp=0042f0a0 eip=7b82ead6 cs=0023 ds=002b fs=0063 gs=006b flags=00000206
010c:trace:seh:__regs_RtlUnwind calling handler at 7BC56DD0 code=40010006 flags=2
010c:trace:seh:__regs_RtlUnwind handler at 7BC56DD0 returned 1
010c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\dbghelp.dll" at 70000000: builtin
010c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\psapi.dll" at 63900000: builtin
010c:trace:seh:dispatch_exception code=c0000005 flags=0 addr=3B53979D ip=3b53979d
010c:trace:seh:dispatch_exception  info[0]=00000000
010c:trace:seh:dispatch_exception  info[1]=40000000
010c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
010c:trace:seh:dispatch_exception  eax=40000000 ebx=cc318bfa ecx=00000000 edx=00000000 esi=0042f36c edi=3b5d11d0
010c:trace:seh:dispatch_exception  ebp=0041c9f4 esp=0041c9c8 cs=0023 ss=002b ds=002b es=002b fs=0063 gs=006b flags=00010202
010c:trace:seh:call_stack_handlers calling handler at 3B571810 code=c0000005 flags=0
010c:trace:seh:__regs_RtlUnwind code=c0000027 flags=2
010c:trace:seh:__regs_RtlUnwind eax=00000000 ebx=3b590828 ecx=0041c9e4 edx=00000000 esi=3b590818 edi=0041c9f4
010c:trace:seh:__regs_RtlUnwind ebp=0041c430 esp=0041c424 eip=3b576c67 cs=0023 ds=002b fs=0063 gs=006b flags=00000283
010c:trace:seh:__regs_RtlUnwind calling handler at 7BC56DD0 code=c0000027 flags=2
010c:trace:seh:__regs_RtlUnwind handler at 7BC56DD0 returned 1
010c:trace:seh:dispatch_exception code=c0000005 flags=0 addr=3B53979D ip=3b53979d
010c:trace:seh:dispatch_exception  info[0]=00000000
010c:trace:seh:dispatch_exception  info[1]=40010000
...
The earliest c0000005 I've found is after psapi.dll
6. copied a psapi.dll library from a working Windows 10 system
7. unlinked the CliExt.dll from the L2.exe file with the help of CFF Explorer. The game launched, but it could not connect to the server
8. linked the dll back to the exe file, but added just one function from the dll. tried adding every single function from that dll, each of them break the game.

The game can be downloaded and installed from la2era.com. Registration is required for download. Files can be found inside the profile page in the "Download files" section
Locked