https://bugs.winehq.org/show_bug.cgi?id=47045
Bug ID: 47045 Summary: unhandled page fault crash after ERROR: Could Not Get Primary Adapter Handle Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.hirsch@web.de Distribution: ---
Created attachment 64215 --> https://bugs.winehq.org/attachment.cgi?id=64215 backtrace of assassin's creed unity crash
The Uplay version of the game "Assassin's Creed: Unity" crashes on start. I think the interesting part of stdout is here:
2019-04-19 13:37:21 [ 187] [DEBUG] Hooks.cpp (36) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Assassin's Creed Unity\ACU.exe) 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'shell32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'xinput1_3.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'dinput8.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'dxgi.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'd3d9.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'user32.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked ERROR: Could Not Get Primary Adapter Handle wine: Unhandled page fault on read access to 0x00000000 at address 0x1422f78da (thread 00c3), starting debugger...
I attached the backtrace. And I wonder why the error messages contain references to 32bit and 64bit. The game seems to be in 32bit and I could fix missing DLL errors by installing 32bit libraries. However one of the main error messages is "page fault on read access to 0x00000000 in 64-bit code". So I guess the 64bit wine runtime crashed after it failed to start the 32bit game.
Anyway, here are some specs of my PC: - Ryzen 5 1600X, 16 GB RAM - Radeon RX 480 with 8GB, running with the kernel's AMDGPU driver - Arch Linux with kernel 5.0.7 - wine 4.6 with wine-mono, wine-nine (gallium)
The crash is reproducible no matter whether I chose Win7 or Win10 in winecfg. And it crashes when started in Uplay as well as when calling "wine ACU.exe" in the installation directory. Also going into Uplay's offline mode doesn't help (that was a suggestion I found in a youtube video). Uplay seems to work fine.