[Bug 45424] Trailmakers (Steam) crashes on unimplemented function api-ms-win-core-timezone-l1-1-0.dll.GetDynamicTimeZoneInformationEffectiveYears

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 8 06:41:16 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45424

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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 ***

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list