https://bugs.winehq.org/show_bug.cgi?id=46534
Bug ID: 46534 Summary: Just Cause 4 crashes on startup Product: Wine Version: 4.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ramy0zahran@gmail.com Distribution: ---
Created attachment 63387 --> https://bugs.winehq.org/attachment.cgi?id=63387 JC4backtrace
Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x0000000141926167).
https://bugs.winehq.org/show_bug.cgi?id=46534
Ramy Zahran ramy0zahran@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ramy0zahran@gmail.com Priority|P2 |P1
https://bugs.winehq.org/show_bug.cgi?id=46534
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Austin English austinenglish@gmail.com --- Not critical. Also looks pirated, given the path, but I can't be certain.
https://bugs.winehq.org/show_bug.cgi?id=46534
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #2 from Alexandr Oleynikov sashok.olen@gmail.com --- I can confirm the crash with a legitimate copy obtained from the EGS giveaway.
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #3 from Alexandr Oleynikov sashok.olen@gmail.com --- One interesting thing that I've noticed is that it's looking for some library that is missing from Wine:
040c:fixme:combase:RoGetActivationFactory (L"Windows.Networking.Connectivity.NetworkInformation", {5074f851-950d-4165-9c15-365619481eea}, 000000000021EFA0): semi-stub 040c:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Networking.Connectivity.NetworkInformation"
Perhaps it could work if there was a (better) stub for this or a proper implementation?
https://bugs.winehq.org/show_bug.cgi?id=46534
Anya maniikarabera@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=46534
Esdras Tarsis esdrastarsis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esdrastarsis@gmail.com
--- Comment #4 from Esdras Tarsis esdrastarsis@gmail.com --- I made an implementation of this dll (stub) based on the windows.gaming.input dll with some modifications in vector_view_QueryInterface and vector_view_GetRuntimeClassName (return S_OK), and the game (Epic Games Store version) worked very well, the patch is based on wine-staging-git, because it needs the IAgileObject interface implemented by the windows.gaming.input dll patchset.
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #5 from Esdras Tarsis esdrastarsis@gmail.com --- Created attachment 68082 --> https://bugs.winehq.org/attachment.cgi?id=68082 [PATCH 1/3] windows.networking.connectivity: Add stub dll.
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #6 from Esdras Tarsis esdrastarsis@gmail.com --- Created attachment 68083 --> https://bugs.winehq.org/attachment.cgi?id=68083 [PATCH 2/3] windows.networking.connectivity: Implement IActivationFactory stubs.
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #7 from Esdras Tarsis esdrastarsis@gmail.com --- Created attachment 68084 --> https://bugs.winehq.org/attachment.cgi?id=68084 [PATCH 3/3] windows.networking.connectivity: Implement INetworkInformationStatics stubs.
https://bugs.winehq.org/show_bug.cgi?id=46534
Cláudio Sampaio (Patola) patola@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |patola@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46534
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #8 from Alexandr Oleynikov sashok.olen@gmail.com --- Can confirm the game works with those patches applied on top of wine staging
https://bugs.winehq.org/show_bug.cgi?id=46534
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com, | |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46534
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/windows.networki | |ng.connectivity-new-dll
https://bugs.winehq.org/show_bug.cgi?id=46534
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=46534
Jonas Dittrich j.dittrich2303@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |j.dittrich2303@gmail.com
--- Comment #9 from Jonas Dittrich j.dittrich2303@gmail.com --- I think the patches were not correctly moved to wine staging. On current staging, I still see
00f8:fixme:combase:RoGetActivationFactory (L"Windows.Networking.Connectivity.NetworkInformation", {5074f851-950d-4165-9c15-365619481eea}, 00000000014D4248): semi-stub 00f8:err:combase:RoGetActivationFactory Failed to load module L"C:\windows\system32\windows.networking.connectivity.dll"
with many applications.
On github, the dll is registered with "MODULE = windows.networking.connectivity" (https://github.com/wine-staging/wine-staging/blob/master/patches/windows.net...)
while [Patch 1/3] in this bug report registers it with "MODULE = windows.networking.connectivity.dll" (https://bugs.winehq.org/attachment.cgi?id=68082)
I can confirm that "ls $WINEPREFIX/drive_c/windows/system32/windows.networking.connectivity*" only shows a file named "windows.networking.connectivity" without the ".dll" ending. If I change the corresponding line in the wine-staging patch, the dll is named and loaded correctly.
Since it is discouraged to open PRs for wine-staging, I don't know how to propose this fix.
Sadly, I cannot test with JC4, but in theory this bug should still occur in staging.
https://bugs.winehq.org/show_bug.cgi?id=46534
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |
https://bugs.winehq.org/show_bug.cgi?id=46534
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Thanks.
This should now be fixed in wine-staging.