https://bugs.winehq.org/show_bug.cgi?id=45424
Bug ID: 45424 Summary: game close just after launching maybe stack overflow error Product: Wine Version: 3.11 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tbonhoure@ymail.com
Created attachment 61747 --> https://bugs.winehq.org/attachment.cgi?id=61747 wine Trailmakers >> log_1.txt 2>&1
I am trying to play Trailmakers. I installed it through steam but it close just after launching. I put logs of it using wine 3.11 staging in 64-bit using respectively wine Trailmakers >> log_1.txt 2>&1 and WINEDEBUG=+all wine Trailmakers >> log.txt 2>&1 there is an stack overflow but keep working after and then stop without any other error
i also tried windbg but only got WineDbg starting on pid 0040 winedbg: Internal crash at 0x6a918995
https://bugs.winehq.org/show_bug.cgi?id=45424
--- Comment #1 from Timothe tbonhoure@ymail.com --- Created attachment 61748 --> https://bugs.winehq.org/attachment.cgi?id=61748 part of the full log around stack overflow and the end (
https://bugs.winehq.org/show_bug.cgi?id=45424
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE Component|-unknown |kernel32 URL| |https://store.steampowered. | |com/app/585420/Trailmakers/ Summary|game close just after |Trailmakers (Steam) crashes |launching maybe stack |on unimplemented function |overflow error |api-ms-win-core-timezone-l1 | |-1-0.dll.GetDynamicTimeZone | |InformationEffectiveYears
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
fortunately there seems to be a demo for the early access game:
https://store.steampowered.com/app/840460
Full early access is at: https://store.steampowered.com/app/585420
It seems you posted only the parts that follow up (errors chaining up until final crashes/overflow).
64-bit 'Windows 7' Steam WINEPREFIX and vanilla Wine 3.11
Crash dump/log files created by the game:
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-steam/drive_c/users/focht/AppData/LocalLow/Flashbulb/Trailmakers/Crashes/Crash_2018-07-08_123050
$ ls -1sh total 4.3M 4.2M crash.dmp 40K error.log --- snip ---
--- snip --- Trailmakers [version: Unity 2017.4.1f1 (9231f953d9d3)]
KERNEL32.dll caused an Unknown exception type (0x80000100) in module KERNEL32.dll at 0033:7b4941a1.
Error occurred at 2018-07-08_123114. C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe, run by focht. 28% memory in use. 4096 MB physical memory [4096 MB free]. 4096 MB paging file [-2048 MB free]. 4096 MB user address space [4096 MB free].
Context: RDI: 0x0023d490 RSI: 0x0023d600 RAX: 0x7b474ee0 RBX: 0x00000000 RCX: 0x0023d470 RDX: 0x00000010 RIP: 0x7b4941a1 RBP: 0x0023d5c0 SegCs: 0x00000033 EFlags: 0x00000206 RSP: 0x0023d450 SegSs: 0x0000002b R8: 0x00000002 R9: 0x0023d600 R10: 0x1caf1acf R11: 0x03d3f080 R12: 0x0023ea20 R13: 0x00000000 R14: 0x006fe980 R15: 0x0023df20
Bytes at CS:EIP: 90 0f 28 b4 24 c0 00 00 00 0f 28 bc 24 d0 00 00 --- snip ---
Trace log:
--- snip --- $ WINEDEBUG=+seh,+loaddll,+process,+debugstr,+relay wine ./steam.exe -applaunch 840460 -no-cef-sandbox -nominidumps -nobreakpad -noassert -nocrashdialog -windowed >>log.txt 2>&1 ... 0045:Call KERNEL32.CreateProcessW(025cec40 L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe",021fd200 L""C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" -no-cef-sandbox -nominidumps -nobreakpad -noassert -nocrashdialog -windowed",00000000,00000000,00000000,00000404,1b21cea8,02532000 L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo",1902bd60,1902bfc0) ret=38441ef3 0045:trace:process:create_process_impl app L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" cmdline L""C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" -no-cef-sandbox -nominidumps -nobreakpad -noassert -nocrashdialog -windowed" 0045:trace:process:open_exe_file looking for L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" 0045:trace:process:create_process_impl starting L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" as Win64 binary (140000000-1400a4000, arch 8664) ... 00aa:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\KERNEL32.dll" at 0x7b460000: builtin 00aa:Call KERNEL32.__wine_kernel_init() ret=7bcdc544 009c:Ret KERNEL32.WaitForSingleObject() retval=00000102 ret=3f01410b 00aa:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\" 0x20 009c:Call KERNEL32.WaitForSingleObject(00000258,000000fa) ret=3f01410b 00aa:trace:process:__wine_kernel_init starting process name=L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" argv[0]=L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" 00aa:trace:loaddll:load_native_dll Loaded L"C:\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe" at 0x140000000: native 0045:trace:process:create_process_impl started process pid 00a9 tid 00aa 0045:Ret KERNEL32.CreateProcessW() retval=00000001 ret=38441ef3 ... 0045:Call KERNEL32.CreateProcessW(00000000,1902b25c L""C:\Program Files (x86)\Steam\bin\x64launcher.exe" -hproc 598 -hthread 59c -baseoverlayname C:\Program Files (x86)\Steam\gameoverlayrenderer64.dll",00000000,00000000,00000001,00000000,00000000,00000000,1902ba88,1902bfd0) ret=3f015693 0045:trace:process:create_process_impl app (null) cmdline L""C:\Program Files (x86)\Steam\bin\x64launcher.exe" -hproc 598 -hthread 59c -baseoverlayname C:\Program Files (x86)\Steam\gameoverlayrenderer64.dll" 0045:trace:process:find_exe_file looking for L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" 0045:trace:process:find_exe_file Trying native exe L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" 0045:trace:process:create_process_impl starting L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" as Win64 binary (140000000-140067000, arch 8664) ... 00ac:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\KERNEL32.dll" at 0x7b460000: builtin 00ac:Call KERNEL32.__wine_kernel_init() ret=7bcdc544 00ac:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Steam\" 0x20 00ac:trace:process:__wine_kernel_init starting process name=L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" argv[0]=L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" 00ac:trace:loaddll:load_native_dll Loaded L"C:\Program Files (x86)\Steam\bin\x64launcher.exe" at 0x140000000: native 0045:trace:process:create_process_impl started process pid 00ab tid 00ac 0045:Ret KERNEL32.CreateProcessW() retval=00000001 ret=3f015693 ... 00aa:Call KERNEL32.RaiseException(80000100,00000001,00000002,0023d600) ret=7fb97219dbe1 00aa:trace:seh:NtRaiseException code=80000100 flags=1 addr=0x7b4941a1 ip=7b4941a1 tid=00aa 00aa:trace:seh:NtRaiseException info[0]=00007fb97219dbf1 00aa:trace:seh:NtRaiseException info[1]=00007fb97219dc34 wine: Call from 0x7b4941a1 to unimplemented function api-ms-win-core-timezone-l1-1-0.dll.GetDynamicTimeZoneInformationEffectiveYears, aborting ... --- snip ---
This is bug 44879
I've quickly implemented a semi-stub and the game works for me even with vanilla Wine 3.11+, I played some single player mission.
Tidbit: The game uses Unity engine with Mono for scripting engine.
ProtectionID scan for documentation:
--- snip --- -=[ ProtectionID v0.6.9.0 DECEMBER]=- (c) 2003-2017 CDKiLLER & TippeX Build 24/12/17-21:05:42 Ready... Scanning -> Z:\home\focht\wine-games\wineprefix64-steam\drive_c\Program Files (x86)\Steam\steamapps\common\Trailmakers Demo\Trailmakers.exe File Type : 64-Bit Exe (Subsystem : Win GUI / 2), Size : 650752 (09EE00h) Byte(s) | Machine: 0x8664 (AMD64) Compilation TimeStamp : 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) [TimeStamp] 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) | PE Header | - | Offset: 0x00000000:00000118 | VA: 0x00000001:40000118 | - [TimeStamp] 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) | Export | - | Offset: 0x00000000:00012344 | VA: 0x00000001:40013144 | - [TimeStamp] 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) | DebugDirectory | - | Offset: 0x00000000:000113E4 | VA: 0x00000001:400121E4 | - [TimeStamp] 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) | DebugDirectory | - | Offset: 0x00000000:00011400 | VA: 0x00000001:40012200 | - [TimeStamp] 0x5AB8C931 -> Mon 26th Mar 2018 10:19:29 (GMT) | DebugDirectory | - | Offset: 0x00000000:0001141C | VA: 0x00000001:4001221C | - [LoadConfig] Struct determined as v3 (Expected size 148 | Actual size 148) [LoadConfig] CFG (/Guard) - Handler @ 0x1:4000B230 [LoadConfig] CFG Table @ 0x0:00000000 | 0x00 (00) entries [LoadConfig] CFG Flags : 0x100 [LoadConfig] CFG Data Present, yet setting is not present in the DllCharacteristics.. patched out? [File Heuristics] -> Flag #1 : 00000100000001001101000100010000 (0x0404D110) [Entrypoint Section Entropy] : 6.39 (section #0) ".text " | Size : 0x9D10 (40208) byte(s) [DllCharacteristics] -> Flag : (0x8160) -> HEVA | ASLR | DEP | TSA [SectionCount] 7 (0x7) | ImageSize 0xA4000 (671744) byte(s) [Export] 100% of function(s) (2 of 2) are in file | 0 are forwarded | 0 code | 2 data | 0 uninit data | 0 unknown | [VersionInfo] Product Version : 2017.4.1.9581049 [VersionInfo] File Version : 2017.4.1.9581049 [ModuleReport] [IAT] Modules -> UnityPlayer.dll | KERNEL32.dll | ADVAPI32.dll [Debug Info] (record 1 of 3) (file offset 0x113E0) Characteristics : 0x0 | TimeDateStamp : 0x5AB8C931 (Mon 26th Mar 2018 10:19:29 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 2 (0x2) -> CodeView | Size : 0x93 (147) AddressOfRawData : 0x1238C | PointerToRawData : 0x1158C CvSig : 0x53445352 | SigGuid F054D37A-BC74-4981-BD7F7F392DB5FF0C Age : 0x1 (1) | Pdb : C:\buildslave\unity\build\build\WindowsStandaloneSupport\Variations\win64_nondevelopment_mono\WindowsPlayer_x64_Master.pdb [Debug Info] (record 2 of 3) (file offset 0x113FC) Characteristics : 0x0 | TimeDateStamp : 0x5AB8C931 (Mon 26th Mar 2018 10:19:29 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 12 (0xC) -> Undocumented | Size : 0x14 (20) AddressOfRawData : 0x12420 | PointerToRawData : 0x11620 [Debug Info] (record 3 of 3) (file offset 0x11418) Characteristics : 0x0 | TimeDateStamp : 0x5AB8C931 (Mon 26th Mar 2018 10:19:29 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 13 (0xD) -> Undocumented | Size : 0x350 (848) AddressOfRawData : 0x12434 | PointerToRawData : 0x11634 [c] Unity Version 2017.4.1f1_9231f953d9d3 detected [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.388 Second(s) [000000184h (388) tick(s)] [180 of 580 scan(s) done] --- snip ---
$ wine --version wine-3.11-151-g5e4addd873
Regards
*** This bug has been marked as a duplicate of bug 44879 ***
https://bugs.winehq.org/show_bug.cgi?id=45424
--- Comment #3 from Timothe tbonhoure@ymail.com --- that wasn't the bug i was pointing at i already look if it was this one but it wasn't i don't get problem with timezone i don't an exception of code=80000100 but exception code=c0000005 i'm not a genius those two are different and i can give you the full log so you can search for code=80000100 you won't find it
since you got it working on your side that is not likely to be a bug but only some mistake from me but please don't just say that it is a copy of some other that has nothing to do with it
https://bugs.winehq.org/show_bug.cgi?id=45424
Timothe tbonhoure@ymail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tbonhoure@ymail.com
https://bugs.winehq.org/show_bug.cgi?id=45424
--- Comment #4 from Timothe tbonhoure@ymail.com --- Hello,
Sorry for what i've just said that wasn't proper and you must have been wanting to help if you take the time to respond and by the way i was right that must have been mistakes from my part because the problem seem to have solve himself sorry again to have troubled you
https://bugs.winehq.org/show_bug.cgi?id=45424
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate