Page 1 of 1

OpenTTD crashes on new computer while recording with OBS

Posted: 09 Mar 2019 16:04
by flp
Hello,

since i have my new computer with Windows 10 x64, OpenTTD crashes while playing and recording a game with OBS started on my old Windows 7 computer.

Mostly it happend at the moment the game autosaves.

What i have done already:
Reinstalled the game
Running the game under Administrator privileges
Running the game under Windows 7 compatibility mode
Checked if all needed GRF are installed, they are

The game crashes not, when OBS is not started or active.

Here is my crash.log:

Code: Select all

*** OpenTTD Crash Report ***

Crash at: Sat Mar 09 15:53:10 2019
In game date: 2038-07-01 (14)

Crash reason:
 Exception: C0000005
 Location:  00007FF72EE31A2A
 Message:   <none>

OpenTTD version:
 Version:    1.8.0 (0)
 NewGRF ver: 18086d62
 Bits:       64
 Endian:     little
 Dedicated:  no
 Build date: Apr  1 2018 13:23:25

Registers:
 RAX: 00000000000000F1 RBX: 0000000000000000 RCX: 000000002FD40477 RDX: 000000000000003A
 RSI: 000000002AF8FFF0 RDI: 000000002FD30486 RBP: 0000000000F5DAE0 RSP: 0000000000F5D970
 R8:  000000002AF8FFF0 R9:  0000000000F5DA28 R10: 0000000000000000 R11: 0000000000000001
 R12: 000000002FD2FDE2 R13: 000000000000003A R14: 0000000000F5DE10 R15: 0000000000F5E330
 RIP: 00007FF72EE31A2A EFLAGS: 00010202

 Bytes at instruction pointer:
 0F B7 01 49 8B F9 49 8B D8 44 0F B6 D0 66 89 44 24 40 0F B6 44 24 41 66

Stack trace:
 00000000 00000000 2EE27BE9 00007FF7 0000B406 00000000 00000000 00000000
 0000027F 00000000 7AF5F157 00007FFC 2FD30486 00000000 2EE31B6F 00007FF7
 47504F53 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00F5DE10 00000000 2EE2DFC8 00007FF7 00F5DC28 00000000 2AF8FFF0 00000000
 0000F1FF 00000000 2EE27BE9 00007FF7 00F5DA28 00000000 00000000 00000000
 000001B8 00000000 0000003A 00007FF7 FFFFFFFE FFFFFFFF 2AF8FFF0 00000000
 47504F53 00000000 FFFFFFFE FFFFFFFF 2FD2A1A0 00000000 000121C6 00000000
 00000004 00000000 2EE2E786 00007FF7 00F5E330 00000000 267C4BA0 00000000
 00003CBC 00000000 7EBBE017 00007FFC 00F5E330 00000000 267C4BA0 00000000
 FFFFFFFE FFFFFFFF 2AF8FFF0 00000000 47504F53 00000000 00F5DBB8 00000000
 2FD1E564 00000000 0001DE02 00000000 2F6255E0 00007FF7 00000001 00000048
 2AF8FFF0 00000000 47504F53 00000000 00F5DC28 00000000 2FD2FDE2 00000000
 0000C584 00000000 00000000 00000000 2AF8FFF0 00000000 7E7E7E7E 00000000
 26803A18 00000000 054ACE6C 00000000 0000032E 00000000 2AF8FFF0 00000000
 7E7E7E7E 00000000 26803A18 00000000 054AD0D0 00000000 000000CA 00000000
 00F5DE10 00000000 47504F53 00000000 00F5DF50 00000000 2AF8FFF0 00000000
 00F5DE10 00000000 2EE2EB14 00007FF7 00F5E330 00000000 00F5E330 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00F5DE10 00000000 47504F53 00000000 00F5DF50 00000000
 00F5DE10 00000000 00000004 00000000 00F5DC50 00000000 2EE28253 00007FF7
 0000A406 00000000 00F5DC28 00000000 00F5E330 00000000 0000003A 00000000
 00F5E330 00000000 00000050 00000000 FFFFFFFE FFFFFFFF 2AF8FFF0 00000000
 47504F53 FFFFFFFF 00F5DCC0 00000000 2FD2FDE2 00000000 0000C584 00000000
 00F5DCC9 00000000 2EE24BE6 00007FF7 00F5DF50 00000000 00000009 00000000

Operating system:
 Name:     Windows
 Release:  6.1.7600 ()
 Compiler: MSVC 1600

Configuration:
 Blitter:      32bpp-anim
 Graphics set: OpenGFX (5580)
 Language:     E:\Spiele\OpenTTD\lang\german.lng
 Music driver: win32
 Music set:    original_windows (1)
 Network:      no
 Sound driver: win32
 Sound set:    original_dos (0)
 Video driver: win32

Fonts:
 Small:  Arial
 Medium: Tahoma
 Large:  Times New Roman
 Mono:   sprite

AI Configuration (local: 0):
  0: Human

Libraries:
 FreeType:   2.4.11
 ICU i18n:   51.2
 ICU lx:     51.2
 LZMA:       5.0.4
 LZO:        2.06
 PNG:        1.5.14
 Zlib:       1.2.7

Module information:
 E:\Spiele\OpenTTD\openttd.exe handle: 00007FF72EAA0000 size: 13549568 crc: DD9F7941 date: 2018-04-01 13:27:46
 C:\Windows\SYSTEM32\ntdll.dll handle: 00007FFC7EBB0000 size: 1994760 crc: 115266B6 date: 2019-03-01 22:25:28
 C:\Windows\System32\KERNEL32.DLL handle: 00007FFC7E860000 size: 726208 crc: 785B5B23 date: 2019-03-01 22:25:28
 C:\Windows\System32\KERNELBASE.dll handle: 00007FFC7AF40000 size: 2700792 crc: 9C22070A date: 2019-03-01 22:25:28
 C:\Windows\SYSTEM32\apphelp.dll handle: 00007FFC78F60000 size: 553984 crc: 617A03C1 date: 2019-03-01 22:25:27
 C:\Windows\SYSTEM32\AcLayers.DLL handle: 00007FFC3F540000 size: 314368 crc: C9BFBAE8 date: 2019-03-01 22:25:37
 C:\Windows\System32\msvcrt.dll handle: 00007FFC7E740000 size: 638056 crc: F511DEAE date: 2018-09-15 07:28:46
 C:\Windows\System32\USER32.dll handle: 00007FFC7E1A0000 size: 1664904 crc: D11E9020 date: 2019-01-08 01:12:10
 C:\Windows\System32\win32u.dll handle: 00007FFC7BDC0000 size: 125704 crc: 31F6ED6A date: 2018-09-15 07:28:38
 C:\Windows\System32\GDI32.dll handle: 00007FFC7E9C0000 size: 157024 crc: 644DFBE8 date: 2018-09-15 07:28:32
 C:\Windows\System32\gdi32full.dll handle: 00007FFC7B1E0000 size: 1671864 crc: D207B86B date: 2019-03-01 22:25:30
 C:\Windows\System32\msvcp_win.dll handle: 00007FFC7B380000 size: 646632 crc: 43B54E95 date: 2019-03-01 22:25:18
 C:\Windows\System32\ucrtbase.dll handle: 00007FFC7B4F0000 size: 1022616 crc: 4D24C74E date: 2019-03-01 22:25:18
 C:\Windows\System32\SHLWAPI.dll handle: 00007FFC7BDE0000 size: 329512 crc: AFA611E8 date: 2018-09-15 07:28:59
 C:\Windows\System32\combase.dll handle: 00007FFC7E410000 size: 3338328 crc: 6CF5562E date: 2019-01-08 01:12:04
 C:\Windows\System32\RPCRT4.dll handle: 00007FFC7D3B0000 size: 1180760 crc: 7D6F76AB date: 2019-01-08 01:12:14
 C:\Windows\System32\bcryptPrimitives.dll handle: 00007FFC7ACE0000 size: 513904 crc: A54B1C39 date: 2018-09-15 07:28:46
 C:\Windows\System32\ADVAPI32.dll handle: 00007FFC7DC00000 size: 659720 crc: DC66B12C date: 2018-09-15 07:28:26
 C:\Windows\System32\sechost.dll handle: 00007FFC7E920000 size: 641480 crc: 4FDB238B date: 2018-09-15 07:28:45
 C:\Windows\SYSTEM32\sfc.dll handle: 0000000000E30000 size: 3072 crc: DCF70A8B date: 2018-09-15 07:28:45
 C:\Windows\SYSTEM32\WINSPOOL.DRV handle: 00007FFC6F9A0000 size: 540672 crc: BC67256D date: 2018-09-15 07:28:25
 C:\Windows\System32\kernel.appcore.dll handle: 00007FFC7ABB0000 size: 58880 crc: AF6F50AA date: 2018-09-15 07:28:34
 C:\Windows\System32\bcrypt.dll handle: 00007FFC7B640000 size: 143632 crc: D0C21563 date: 2018-09-15 07:28:45
 C:\Windows\SYSTEM32\PROPSYS.dll handle: 00007FFC775F0000 size: 1742104 crc: 5AC935C3 date: 2019-03-01 22:25:18
 C:\Windows\System32\OLEAUT32.dll handle: 00007FFC7E340000 size: 822448 crc: DA2C0578 date: 2019-03-01 22:25:18
 C:\Windows\System32\shcore.dll handle: 00007FFC7DAD0000 size: 680728 crc: 2B0BFC53 date: 2018-09-15 07:28:38
 C:\Windows\SYSTEM32\IPHLPAPI.DLL handle: 00007FFC7A190000 size: 241712 crc: D181D0E3 date: 2018-09-15 07:28:46
 C:\Windows\SYSTEM32\sfc_os.DLL handle: 00007FFC624D0000 size: 50176 crc: E89C17BB date: 2018-09-15 07:28:45
 C:\Windows\SYSTEM32\SortWindows61.dll handle: 00007FFC68420000 size: 51200 crc: E3022F3B date: 2018-09-15 07:28:53
 C:\Windows\System32\IMM32.DLL handle: 00007FFC7DEC0000 size: 177384 crc: E835ECAC date: 2018-09-15 07:28:47
 C:\Windows\System32\WS2_32.dll handle: 00007FFC7DF20000 size: 434952 crc: 4E8BE6D1 date: 2018-09-15 07:28:45
 C:\Windows\System32\SHELL32.dll handle: 00007FFC7BE40000 size: 22114960 crc: 4DC4E3CC date: 2019-03-01 22:25:26
 C:\Windows\SYSTEM32\WINMM.dll handle: 00007FFC78CF0000 size: 129160 crc: 4526F9B0 date: 2018-09-15 07:28:22
 C:\Windows\System32\cfgmgr32.dll handle: 00007FFC7B5F0000 size: 293344 crc: B8CFBC8B date: 2018-09-15 07:28:46
 C:\Windows\System32\windows.storage.dll handle: 00007FFC7B670000 size: 7688088 crc: FE8607CD date: 2019-03-01 22:25:18
 C:\Windows\System32\profapi.dll handle: 00007FFC7ABD0000 size: 132464 crc: 039158DD date: 2018-09-15 07:28:46
 C:\Windows\System32\powrprof.dll handle: 00007FFC7AC20000 size: 369808 crc: 207CF850 date: 2018-09-15 07:28:45
 C:\Windows\System32\cryptsp.dll handle: 00007FFC7B4D0000 size: 80112 crc: 1AB1461D date: 2018-09-15 07:28:46
 C:\Windows\SYSTEM32\winmmbase.dll handle: 00007FFC78CC0000 size: 170960 crc: 5129F96A date: 2018-09-15 07:28:22
 C:\Windows\system32\uxtheme.dll handle: 00007FFC791F0000 size: 613376 crc: D7A94054 date: 2018-09-15 07:28:44
 C:\Windows\System32\MSCTF.dll handle: 00007FFC7D960000 size: 1481488 crc: 2183EF5E date: 2019-03-01 22:25:28
 C:\Windows\system32\dwmapi.dll handle: 00007FFC79520000 size: 168456 crc: ED7F4D94 date: 2018-09-15 07:28:44
 C:\Windows\System32\CRYPT32.dll handle: 00007FFC7AD60000 size: 1933200 crc: D30FE47C date: 2018-09-15 07:28:45
 C:\Windows\System32\MSASN1.dll handle: 00007FFC7AC00000 size: 63552 crc: 4B8328E4 date: 2018-09-15 07:28:46
 C:\Windows\System32\TextInputFramework.dll handle: 00007FFC6F210000 size: 603992 crc: 4876E1E9 date: 2018-09-15 07:28:32
 C:\Windows\System32\CoreUIComponents.dll handle: 00007FFC767B0000 size: 3292352 crc: DB3B23AA date: 2018-09-15 07:28:32
 C:\Windows\System32\CoreMessaging.dll handle: 00007FFC78BD0000 size: 918304 crc: D3437FC3 date: 2019-01-08 01:12:01
 C:\Windows\SYSTEM32\ntmarta.dll handle: 00007FFC79C70000 size: 185440 crc: F65EB8CD date: 2018-09-15 07:28:46
 C:\Windows\SYSTEM32\wintypes.dll handle: 00007FFC76610000 size: 1387496 crc: C6FCA4CD date: 2019-01-08 01:12:03
 C:\Windows\system32\mswsock.dll handle: 00007FFC7A430000 size: 408800 crc: EB1734A7 date: 2019-03-01 22:25:18
 C:\Windows\SYSTEM32\MMDevAPI.DLL handle: 00007FFC74C30000 size: 443352 crc: F1D46F13 date: 2018-09-15 07:28:20
 C:\Windows\SYSTEM32\DEVOBJ.dll handle: 00007FFC7A9C0000 size: 156000 crc: EB1D6C5E date: 2018-09-15 07:28:46
 C:\Windows\SYSTEM32\wdmaud.drv handle: 00007FFC665A0000 size: 254976 crc: EE14B1C7 date: 2018-09-15 07:28:20
 C:\Windows\SYSTEM32\ksuser.dll handle: 00007FFC730A0000 size: 23264 crc: 2170E905 date: 2018-09-15 07:28:22
 C:\Windows\SYSTEM32\AVRT.dll handle: 00007FFC76E90000 size: 30664 crc: 6016FB30 date: 2018-09-15 07:28:20
 C:\Windows\SYSTEM32\AUDIOSES.DLL handle: 00007FFC753E0000 size: 1331536 crc: C8B8948E date: 2019-03-01 22:25:20
 C:\Windows\SYSTEM32\msacm32.drv handle: 00007FFC70B50000 size: 29184 crc: 73ADC987 date: 2018-09-15 07:28:22
 C:\Windows\SYSTEM32\MSACM32.dll handle: 00007FFC6FA30000 size: 107408 crc: 7FC74D75 date: 2018-09-15 07:28:20
 C:\Windows\SYSTEM32\midimap.dll handle: 00007FFC70970000 size: 25600 crc: 818DB366 date: 2018-09-15 07:28:22
 C:\Windows\System32\clbcatq.dll handle: 00007FFC7E0F0000 size: 644568 crc: 2FA3FC29 date: 2018-09-15 07:28:43
 C:\Windows\System32\Windows.UI.dll handle: 00007FFC6AA20000 size: 1287776 crc: 7BAE162D date: 2019-01-08 01:12:07
 C:\Windows\System32\InputHost.dll handle: 00007FFC6C940000 size: 833064 crc: ECCA9BD5 date: 2019-03-01 22:25:24
 C:\Windows\System32\twinapi.appcore.dll handle: 00007FFC792C0000 size: 2149368 crc: 0E13DAA1 date: 2019-03-01 22:25:18
 C:\Windows\System32\d2d1.dll handle: 00007FFC78090000 size: 6058232 crc: 880010A4 date: 2018-09-15 07:28:34
 C:\Windows\System32\d3d11.dll handle: 00007FFC77E10000 size: 2611944 crc: 539E0231 date: 2018-09-15 07:28:32
 C:\Windows\System32\RMCLIENT.dll handle: 00007FFC794D0000 size: 151872 crc: 795F7A1E date: 2019-01-08 01:12:10
 C:\Windows\System32\dxgi.dll handle: 00007FFC79A00000 size: 780608 crc: F33B581B date: 2018-09-15 07:28:32
 C:\Windows\SYSTEM32\mciseq.dll handle: 00007FFC78F30000 size: 30720 crc: B524B8C2 date: 2018-09-15 07:28:20
 C:\Windows\System32\psapi.dll handle: 00007FFC7E7E0000 size: 18816 crc: 26FAD1C6 date: 2018-09-15 07:28:42

---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.8.0, savegame version 197, not modified, _openttd_newgrf_version = 0x18086d62
New game mode: 1 landscape: 0
Added NewGRF: GRF ID 74677563, checksum 8A53DE2FF752868097FBE403FACD8DA4, filename: total_bridge_renewal_japan-1.12\total_bridgesw.grf (md5sum matches)
Added NewGRF: GRF ID 45520C00, checksum FCF4EE39F19C02D9E8603D07621DDD99, filename: ottdc_grfpack\1_other\townnames\japanese\jpset_namw.GRF (md5sum matches)
Added NewGRF: GRF ID 52453400, checksum B2E27B74A3894198A00139CFCF09D011, filename: japanese_buildings-3.1\jpbuild.grf (md5sum matches)
Added NewGRF: GRF ID 474C0000, checksum 1E5E4C815B905749AAE94142C1A67B8B, filename: japanese_faces-3.0\jpfaces.grf (md5sum matches)
Added NewGRF: GRF ID 52453200, checksum A222F0B3BCF0CFE187A7868116A00C49, filename: japanset_landscape-3.2\jpland.grf (md5sum matches)
Added NewGRF: GRF ID 2C320A01, checksum 065916BDB63F43BBB4A686E1B4954004, filename: japanese_signals-3.0\jpsignals.grf (md5sum matches)
Added NewGRF: GRF ID 45530500, checksum D9BE5AFA481FC3E0A96E6EB72B455612, filename: japanese_stations-3.6\jpstations.grf (md5sum matches)
Added NewGRF: GRF ID 44503000, checksum 0BF5A48500990CF4CBFED5D7CC6ED120, filename: japanese_tracks-3.2\jptracks.grf (md5sum matches)
Added NewGRF: GRF ID 535A0D00, checksum 21AC703CAB2BE6A80FAF2344366FE0C1, filename: japanese_train_set-3.3\jptrains.grf (md5sum matches)
Added NewGRF: GRF ID 44501401, checksum 5B9D588504701CCC2BB14CDB1F18D06B, filename: japanese_maglevs-3.1\jptrainsadd.grf (md5sum matches)
Added NewGRF: GRF ID 52453300, checksum EF6A4519AD4C18B9B9112B8D7083862D, filename: japanese_trees-3.0\jptrees.grf (md5sum matches)
Added NewGRF: GRF ID 44440A01, checksum FCEEC76CF44EC23E7FE9C88048CF11CC, filename: av8_aviators_aircraft_set-2.21\pb_av8w.grf (md5sum matches)
Added NewGRF: GRF ID 44440A03, checksum 6205E0297104502240D946EC26B195CA, filename: av8_extra_aircraft.1.501\pb_av8exw.grf (md5sum matches)
Added NewGRF: GRF ID 414E0101, checksum 5D665C64693A438E3046C22666F46E08, filename: fish_ship_set-0.9.2\fish.grf (md5sum matches)
Added NewGRF: GRF ID 9787EAFE, checksum 0B374FD6416A345D738108B6D98F2CBF, filename: road-hog-1.4.1\road-hog-1.4.1\road-hog.grf (md5sum matches)
Tick 3556: GRF config changed
GRF order changed: 74677563 moved 4 places downGRF ID 74677563, filename: total_bridge_renewal_japan-1.12\total_bridgesw.grf (md5sum matches)
Tick 4265: GRF config changed
Removed NewGRF: GRF ID 44440A03, filename: av8_extra_aircraft.1.501\pb_av8exw.grf (md5sum matches)
Tick 5095: GRF config changed
GRF parameter changed: GRF ID 52453200, filename: japanset_landscape-3.2\jpland.grf (md5sum matches)
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] openttd              0x00007FF72EE31A2A
[01] openttd              0x00007FF72EE31B6F
[02] openttd              0x00007FF72EE2DFC8
[03] openttd              0x00007FF72EE28253
[04] openttd              0x00007FF72EE24BE6
[05] openttd              0x00007FF72EE28343
[06] openttd              0x00007FF72EE1E2D8
[07] openttd              0x00007FF72EE1FC5D
[08] openttd              0x00007FF72EE1B1DB
[09] openttd              0x00007FF72EE168CF
[10] openttd              0x00007FF72EDEFE97
[11] openttd              0x00007FF72EAD0BA0
[12] openttd              0x00007FF72EACB957
[13] openttd              0x00007FF72EACB9EC
[14] openttd              0x00007FF72EB6EF2B
[15] openttd              0x00007FF72EB260B1
[16] openttd              0x00007FF72EB23A68
[17] openttd              0x00007FF72EB2465F
[18] openttd              0x00007FF72EB23A68
[19] openttd              0x00007FF72EB2A642
[20] openttd              0x00007FF72EB6ECDB
[21] openttd              0x00007FF72EB6F585
[22] openttd              0x00007FF72EB6FC5A
[23] openttd              0x00007FF72EAF733E
[24] openttd              0x00007FF72EAF758B
[25] openttd              0x00007FF72ED09D1C
[26] openttd              0x00007FF72EAF5EF8
[27] openttd              0x00007FF72ED0C3D5
[28] openttd              0x00007FF72EDF87F0
[29] KERNEL32             0x00007FFC7E8781F4 BaseThreadInitThunk + 20
[30] ntdll                0x00007FFC7EC1A251 RtlUserThreadStart + 33

*** End of additional info ***
What could be the problem?

Re: OpenTTD crashes on new computer while recording with OBS

Posted: 09 Mar 2019 17:33
by Eddi
We also need crash.dmp and crash.sav

and can you please test whether it still happens with 1.9.0-RC1?

Re: OpenTTD crashes on new computer while recording with OBS

Posted: 09 Mar 2019 17:45
by flp
I just have a crash dump file which i attached to this post.

As i changed from OpenGFX to the original DOS GFX, the game doesn't crash under the named conditions. I am not sure, if this is the problem or if this is just random luck or so, but i could record 90 minutes of the game with OBS without crash.

I will also test with 1.9 RC soon.

Re: OpenTTD crashes on new computer while recording with OBS

Posted: 09 Mar 2019 22:55
by jfs
The crash appears to be inside code from the ICU library, which in 1.8 and earlier is used when you use TrueType fonts for the game. There are some crash bugs in ICU, and you've hit one of them. Version 1.9 no longer uses ICU on Windows, so this class of crashes won't occur with that.

Another workaround is to modify your openttd.cfg file and clear out the small_font, medium_font, and large_font lines, so OpenTTD will use the built-in sprite font instead. That never calls into ICU.