https://bugs.winehq.org/show_bug.cgi?id=48784
Bug ID: 48784 Summary: Game won't open Product: Wine-staging Version: 5.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haytham.med@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 66685 --> https://bugs.winehq.org/attachment.cgi?id=66685 Lutris 5.4
When trying to run this war of mine game via lutris 5.4, i get backtrace below.
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Lutris and other patched versions of Wine are not supported in this bug tracker; please test with upstream Wine.
https://bugs.winehq.org/show_bug.cgi?id=48784
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- Lutris is not supported. Please use vanilla wine and attach the console output.
Does it exist a free downloadable demo of this game showing the problem?
https://bugs.winehq.org/show_bug.cgi?id=48784
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Game won't open |This War of Mine (EPIC) | |crashes on startup
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
well, the user was told to file a bug after entering appdb entry:
https://bugs.winehq.org/show_bug.cgi?id=48784
(incorrectly tagged as non-staging though)
I told him on IRC #winehq to install mainline Wine 5.x (https://wiki.winehq.org/Download) so I guess we have to wait for results.
Meanwhile I've downloaded some distributed "backup" ("This War of Mine Final Cut") but could only reproduce a crash in FAudio which can be worked around with native 64-bit components. Afterwards the game runs fine.
$ wine --version wine-5.4-205-g3ddf3a720f
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
apparently the crash is in 'eossdk-win64-shipping' which my game copy doesn't have. This seems to be some EPIC online service plugin.
Also:
--- snip --- 0000001a PnkBstrA.exe [C:\windows\syswow64\PnkBstrA.exe] 00000021 0 00000020 0 0000001b 0 --- snip ---
Does the game really install/require PunkBuster? Make sure you install the game properly in a clean (new!) WINEPREFIX. Do not reuse/recycle shared (default) prefixes, it makes bug reports automatically invalid.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #5 from haytham-med haytham.med@gmail.com --- Created attachment 66686 --> https://bugs.winehq.org/attachment.cgi?id=66686 Wine develop 5.4 backtrace
I installed plain wine devel 5.4 instead of lutris
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #6 from haytham-med haytham.med@gmail.com --- Created attachment 66687 --> https://bugs.winehq.org/attachment.cgi?id=66687 Wine develop 5.4 log
log after compressing it
https://bugs.winehq.org/show_bug.cgi?id=48784
haytham-med haytham.med@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #7 from haytham-med haytham.med@gmail.com --- Created attachment 66689 --> https://bugs.winehq.org/attachment.cgi?id=66689 -console argument
I attached argument -console to wine command and Got: [EpicStore] Failed to get Auth Token!
https://bugs.winehq.org/show_bug.cgi?id=48784
haytham-med haytham.med@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
--- snip --- ... [EpicStore] Initialized [EpicStore] Setting Logging Callback ... [EpicStore] Logging Callback Set [EpicStore] Platform Create [EpicStore] lvl: 500, category: LogEOS, message: Queuing task FGameStartupNotificationTask for basic auth [EpicStore] Failed to get Auth Token! ... --- snip ---
the auth token is mentioned in the Epic Online Services SDK here:
https://dev.epicgames.com/docs/services/INT/Interfaces/Auth/index.html
From the trace log it seems the crash is in a tear-down code path. Likely the
result of earlier failure which might have skipped some init code that is (de)referenced on uninit.
--- snip --- ... 0036:Call PE DLL (proc=0x144d9f0,module=0xf50000 L"EOSSDK-Win64-Shipping.dll",reason=PROCESS_ATTACH,res=0x22fb00) ... 0036:Starting process L"Z:\media\hay207\lmde2\home\haythammed\Games\Epic\ThisWarOfMine\x64\This War of Mine.exe" (entryproc=0x1404c06f4) ... 0036:Call ws2_32.WSAStartup(00000202,0022eb90) ret=013d04c9 0036:Ret ws2_32.WSAStartup() retval=00000000 ret=013d04c9 ... 0036:Call ws2_32.socket(00000017,00000002,00000000) ret=013d8a22 ... 0036:Ret ws2_32.socket() retval=000000f4 ret=013d8a22 0036:Call ws2_32.closesocket(000000f4) ret=013e3353 ... 0036:Ret ws2_32.closesocket() retval=00000000 ret=013e3353 ... 0036:Call KERNEL32.CreateThread(00000000,00020000,010fe400,0220aeb0,00010004,0220aef4) ret=010f46fd ... 0036:Ret KERNEL32.CreateThread() retval=000000f8 ret=010f46fd ... 0036:Call KERNEL32.SetThreadDescription(000000f8,0220afd0 L"HttpManagerThread") ret=010f4763 ... 0036:Ret KERNEL32.SetThreadDescription() retval=10000000 ret=010f4763 ... 0038:Starting thread proc 0x10fe400 (arg=0x220aeb0) ... 0036:Call ws2_32.WSAStartup(00000202,0022e0c0) ret=0141ec49 0036:Ret ws2_32.WSAStartup() retval=00000000 ret=0141ec49 ... 0036:Call ws2_32.gethostname(0222d5b8,0000007f) ret=01415dc6 0036:Ret ws2_32.gethostname() retval=00000000 ret=01415dc6 ... 0036:Call KERNEL32.CreateThread(00000000,00020000,010fe400,0222dd00,00010004,0222dd44) ret=010f46fd ... 0036:Ret KERNEL32.CreateThread() retval=00000100 ret=010f46fd 0036:Call KERNEL32.SetThreadDescription(00000100,0222de20 L"LibwebsocketsThread") ret=010f4763 ... 0036:Ret KERNEL32.SetThreadDescription() retval=10000000 ret=010f4763 ... 0039:Starting thread proc 0x10fe400 (arg=0x222dd00) ... 0036:Call advapi32.RegOpenKeyExW(ffffffff80000001,02237c70 L"Software\Epic Games\Unreal Engine\Identifiers",00000000,00020219,0022f008) ret=010fc3d7 ... 0036:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=010fc3d7 0036:Call advapi32.RegQueryValueExW(00000104,0223fb20 L"MachineId",00000000,00000000,00000000,0022f000) ret=010fc407 ... 0036:Ret advapi32.RegQueryValueExW() retval=00000000 ret=010fc448 ... 0036:Call ole32.CoCreateGuid(015e11c0) ret=010daa87 ... 0036:Ret ole32.CoCreateGuid() retval=00000000 ret=010daa87 ... 0036:Call ole32.CoCreateGuid(0022f210) ret=010daa87 ... 0036:Ret ole32.CoCreateGuid() retval=00000000 ret=010daa87 ... 0036:Call KERNEL32.GetProcessTimes(ffffffffffffffff,0022f400,0022f408,0022f430,0022f428) ret=010fdb77 0036:Ret KERNEL32.GetProcessTimes() retval=00000001 ret=010fdb77 .... 0036:Call user32.PostQuitMessage(00000000) ret=0101ef58 0036:Ret user32.PostQuitMessage() retval=00000000 ret=0101ef58 ... 0036:Call ws2_32.WSACleanup() ret=0111e776 0036:Ret ws2_32.WSACleanup() retval=00000000 ret=0111e776 ... 0036:Call KERNEL32.HeapFree(00010000,00000000,0229b550) ret=0026a8b0 0036:Ret KERNEL32.HeapFree() retval=00000001 ret=0026a8b0 0036:trace:seh:raise_exception code=c0000005 flags=0 addr=0x1073259 ip=1073259 tid=0036 0036:trace:seh:raise_exception info[0]=0000000000000000 0036:trace:seh:raise_exception info[1]=0000000000000000 0036:trace:seh:raise_exception rax=0000000000000000 rbx=00000001408d7e20 rcx=00000000000516f0 rdx=0000000000000004 0036:trace:seh:raise_exception rsi=00000001407dd510 rdi=0000000140810230 rbp=0000000000000000 rsp=000000000022f8a0 0036:trace:seh:raise_exception r8=0000000000000002 r9=000000014058d9c0 r10=0000000000000008 r11=00000001408d6f20 0036:trace:seh:raise_exception r12=0000000140573050 r13=00000001408fafb0 r14=0000000140000000 r15=000000000000000a ... 003e:Call user32.SetDlgItemTextA(00020060,00000067,008641a0 "Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x0000000001073259).\nRegister dump:\n rip:0000000001073259 rsp:000000000022f8a0 rbp:0000000000000000 eflags:00010202 ( R- -- I - - - )\n rax:0000000000000000 rbx:00000001408d7e20 rcx:00000000000516f0 rdx:00000"...) ret=7fab7ebbd364 --- snip ---
Hard to tell without live debugging. The 'Unreal Engine\Identifiers\MachineId' part might be relevant here.
Do you know by chance if there are any games that make use of Epic Online Services (EOS) that work with Wine?
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #9 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- This game requires FAudio 19.11 or greater to run.
Using an older FAudio library, would give the following when logging xaudio2
00cb:trace:xaudio2:IXAudio2Impl_CreateSourceVoice (0x130f0e0)->(0xfddc648, 0xfddbb20, 0x0, 2.000000, (nil), (nil), (nil)) wine: Unhandled page fault on read access to 0000000000000000 at address 00007FB7918EF86F (thread 00cb), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello Alistair,
--- quote --- This game requires FAudio 19.11 or greater to run. --- quote ---
yes, I've encountered this crash with 'This War of Mine: Final Cut' and FAudio 19.03 (mentioned it on IRC). My version doesn't have EOS integration so it was the only issue, otherwise the game runs fine.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed in FAudio 19.11 or greater.
https://bugs.winehq.org/show_bug.cgi?id=48784
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing. Fixed upstream.
https://bugs.winehq.org/show_bug.cgi?id=48784
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|CLOSED |REOPENED Summary|This War of Mine (EPIC) |This War of Mine (EPIC |crashes on startup |edition) crashes on startup | |(Epic Online Services (EOS) | |integration reports: | |'Failed to get Auth | |Token!') Resolution|NOTOURBUG |---
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello Alistair,
--- quote --- Fixed in FAudio 19.11 or greater. --- quote ---
if you read the backtraces in comment #0, comment #5 and follow up comments this has nothing to do with FAudio crash. OP bought the game from EPIC games store which comes with specific integration with Epic Online Services via a plugin (https://dev.epicgames.com/docs/services/INT/index.html). That one fails for him for currently unknown reasons.
Reopening and refining summary.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #14 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Anastasius Focht from comment #13)
Hello Alistair,
--- quote --- Fixed in FAudio 19.11 or greater. --- quote ---
if you read the backtraces in comment #0, comment #5 and follow up comments this has nothing to do with FAudio crash. OP bought the game from EPIC games store which comes with specific integration with Epic Online Services via a plugin (https://dev.epicgames.com/docs/services/INT/index.html). That one fails for him for currently unknown reasons.
Reopening and refining summary.
Thanks. I can reproduce the crash by running $ wine This\ War\ of\ Mine.exe -console
Running from the Epic store doesn't have this issue.
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
to clear up a misconception: does this even work in Windows if you start the game without the launcher from console?
After reading through the EOS SDK documentation and some example code I think the launcher is *supposed* to pass authentication method and parameters via command line. Something like this:
--- snip --- foobar.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=<hash> -AUTH_TYPE=exchangecode -epicapp=Cardinal -epicenv=Prod -EpicPortal -epicusername="myusername" -epicuserid=<hash> -epiclocale=en -console --- snip ---
If you don't do this and start the game outside of the launcher, the failure makes sense.
@OP Please use the EPIC games launcher and report back.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #16 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Anastasius Focht from comment #15)
to clear up a misconception: does this even work in Windows if you start the game without the launcher from console?
Under windows, nothing happen when I ran from a command line. $ This\ War\ of\ Mine.exe -console
Application didn't run, even though epic was still running in the background.
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #17 from Anastasius Focht focht@gmx.net --- Hello Alistair,
--- quote --- Under windows, nothing happen when I ran from a command line. $ This\ War\ of\ Mine.exe -console --- quote ---
so the process starts and then just exits silently? The '-console' switch should at least result in some output (including the auth token error).
--- quote --- Application didn't run, even though epic was still running in the background. --- quote ---
You mean the launcher was running while you started the game manually via command line? I guess that's expected since the auth method is communicated via command line and not some shared memory/pipe mechanism.
The way I see it there is nothing to fix here if the game starts fine via EPIC launcher (in Windows and Wine). Only the crash in error case (tear down) is questionable but that's not really that important since the default start practice was not followed.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #18 from haytham-med haytham.med@gmail.com --- Well, have you tried to launch game from epic in linux ?
won't open from epic for me, and i can't see any errors in console / don't know how.
https://bugs.winehq.org/show_bug.cgi?id=48784
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20200322180025/https://epi | |cgames-download1.akamaized. | |net/Builds/UnrealEngineLaun | |cher/Installers/Win32/EpicI | |nstaller-10.12.3.msi Status|REOPENED |NEW Keywords| |download
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello,
--- quote --- won't open from epic for me, and i can't see any errors in console / don't know how. --- quote ---
I've installed most recent EPIC games launcher available in downloads and it works fine for me. Running app/games from the launcher (tested with Unreal4 Engine install).
https://epicgames-download1.akamaized.net/Builds/UnrealEngineLauncher/Instal...
* new 64-bit WINEPREFIX * 'winetricks -q dotnet47' (needed mainly for managed DirectX sub-installer) * 'winetricks -q arial' (optional) * 'winetricks -q d3dcompiler_47' (in case of Unreal4 Engine/Devkit -> bug 45871)
My guess would be that you have a broken/recycled WINEPREFIX (see also my comment #4)
$ sha1sum EpicInstaller-10.12.3.msi c5f6b07e8584805d859056a8187eaa723a71362d EpicInstaller-10.12.3.msi
$ du -sh EpicInstaller-10.12.3.msi 42M EpicInstaller-10.12.3.msi
$ wine --version wine-5.4-205-g3ddf3a720f
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #20 from haytham-med haytham.med@gmail.com --- I can launch other games from epic, this one only i have trouble with, don't know why.
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #21 from haytham-med haytham.med@gmail.com --- Latest updates, i copied lutris command when launching game which includes AUTH_LOGIN, password, id, etc, then pasted it in wine command and game launched successfully outside epic.
https://bugs.winehq.org/show_bug.cgi?id=48784
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|z.figura12@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #22 from haytham-med haytham.med@gmail.com --- Created attachment 66697 --> https://bugs.winehq.org/attachment.cgi?id=66697 lutris_stuck
I tried too AUTH credentials in lutris but not from epic, game stuck at Windowed line.
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- The content of attachment 66697 has been deleted for the following reason:
Contains private info
https://bugs.winehq.org/show_bug.cgi?id=48784
--- Comment #24 from haytham-med haytham.med@gmail.com --- Created attachment 66702 --> https://bugs.winehq.org/attachment.cgi?id=66702 Lutris_hangs
Sorry about that, deleted private info
https://bugs.winehq.org/show_bug.cgi?id=48784
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://web.archive.org/web |https://epicgames-download1 |/20200322180025/https://epi |.akamaized.net/Builds/Unrea |cgames-download1.akamaized. |lEngineLauncher/Installers/ |net/Builds/UnrealEngineLaun |Win32/EpicInstaller-10.12.3 |cher/Installers/Win32/EpicI |.msi |nstaller-10.12.3.msi |
--- Comment #25 from Anastasius Focht focht@gmx.net --- Hello,
Lutris_hangs
the log captured by Lutris is not very useful. Please always always test without Lutris (Wine 5.4 devel package). Please start the EPIC games launcher and try to run the game from it as follows:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Epic Games/Launcher/Engine/Binaries/Win64
$ WINEDEBUG=+seh,+loaddll,+process wine ./EpicGamesLauncher.exe >>log.txt 2>&1 --- snip ---
Attach the log.
**Make sure you sanitize the log by removing credentials/auth info.**
There should be at least a game process start seen in the logs. The launcher uses 'OutputDebugString' facility which should be seen as well (via +seh).
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
haytham-med haytham.med@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #26 from haytham-med haytham.med@gmail.com --- I use wine 5.4 devel as runner in lutris, I tried running Epic from wine but got :There was a problem with your graphics card, please ensure your card meets the minimum system requirements and that you have the latest drivers installed.
Anyways , i don't like to try installing epic via plain wine, you can close the bug.
https://bugs.winehq.org/show_bug.cgi?id=48784
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- CC| |o.dierick@piezo-forte.be Status|RESOLVED |REOPENED
--- Comment #27 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to haytham-med from comment #26)
Anyways , i don't like to try installing epic via plain wine, you can close the bug.
Hello,
Bug is not fixed.
Please leave it open in case someone else can reproduce the issue.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48784
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|This War of Mine (EPIC |This War of Mine (EPIC |edition) crashes on startup |edition) fails to start via |(Epic Online Services (EOS) |launcher (Gfx card doesn't |integration reports: |meet minimum system |'Failed to get Auth |requirements) |Token!') | Status|REOPENED |RESOLVED Resolution|--- |INVALID
--- Comment #28 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- Bug is not fixed.
Please leave it open in case someone else can reproduce the issue. --- quote ---
the bug was invalid from start. Issues identified:
#1 - incorrect way of starting the game causes a crash -> it has to be started via EPIC launcher (non-issue) #2 - FAudio < 19.11 causes a crash (not encountered by OP, subject to different issue) #3 - Gfx card doesn't meets minimum system requirements (not a Wine bug)
Unfortunately multiple people wasted way too much time here. It should have belonged to WineHQ or Lutris user forums. Alistair confirmed the game runs when properly started via launcher.
Refining summary again and resolving.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48784
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #29 from André H. nerv@dawncrow.de --- closing invalid