Assertion failed at line 165 of /src/object_gui.cpp: !this->object_classes.empty()
OK
Here is the crash report:
OpenTTD Crash Report
Crash at: 2024-07-09 15:30:02 (UTC)
In game date: 3307-07-29 (6, 0) (DL: 1)
Calendar date: 3307-07-29 (6, 0)
Game loaded at: 3307-05-24 (61, 0), (4829 state ticks ago), 2024-07-09 15:27:22
Crash reason:
Exception: E1212012
Location: 00007FFE6E33F20C
Message: Assertion failed at line 165 of /src/object_gui.cpp: !this->object_classes.empty()
Version of OpenTTD
0.60.1
Steps to reproduce
This may be a duplicate of Issue 713
Then I get a Message:
Error!
Assertion failed at line 165 of /src/object_gui.cpp: !this->object_classes.empty()
OK
Here is the crash report: OpenTTD Crash Report
Crash at: 2024-07-09 15:30:02 (UTC) In game date: 3307-07-29 (6, 0) (DL: 1) Calendar date: 3307-07-29 (6, 0) Game loaded at: 3307-05-24 (61, 0), (4829 state ticks ago), 2024-07-09 15:27:22
Crash reason: Exception: E1212012 Location: 00007FFE6E33F20C Message: Assertion failed at line 165 of /src/object_gui.cpp: !this->object_classes.empty()
OpenTTD version: Version: jgrpp-0.60.1 (0) Release ver: 0.60.1 NewGRF ver: 1f006d64 Bits: 64 Endian: little Dedicated: no Build date: Jul 3 2024 22:12:10 Defines: FEWER_ASSERTS WITH_BITMATH_BUILTINS WITH_OVERFLOW_BUILTINS WITH_DEMANGLE WITH_BFD1 WITH_DBGHELP TTD_ENDIAN=TTD_LITTLE_ENDIAN WITH_PNG WITH_ZLIB WITH_LIBLZMA WITH_LZO WITH_ZSTD WITH_OPENGL WITH_PERSONAL_DIR WITH_SSE WITH_ASSERT UNICODE _UNICODE WITH_UNISCRIBE PSAPI_VERSION=1 POINTER_IS_64BIT
Decoded stack trace: [00] KERNELBASE 0x00007FFE6E33F20C RaiseException + 108 [01] openttd 0x00007FF66094F167 DoOSAbort (/src/os/windows/win32.cpp:69) [02] openttd 0x00007FF660AE9F82 fatalerror_common (/src/openttd.cpp:189) [03] openttd 0x00007FF660AE9FEC error (/src/openttd.cpp:208) [04] openttd 0x00007FF660F57C1F BuildObjectWindow AllocateWindowDescFront(WindowDesc , int, bool) [clone .constprop.0] + 140690790222127 (/src/object_gui.cpp:165)
[inlined] (/src/object_gui.cpp:104)
[inlined] (/src/window_gui.h:1092)
[05] openttd 0x00007FF6611864BD HandleMouseEvents() + 140690790227309 (/src/window.cpp:750)
[inlined] (/src/window.cpp:3052)
[inlined] HandleMouseEvents (/src/window.cpp:3152)
[06] openttd 0x00007FF661187795 WndProcGdi (/src/video/win32_v.cpp:445)
[07] USER32 0x00007FFE6EA389A1 DispatchMessageW + 1857
[08] USER32 0x00007FFE6EA381EB CallWindowProcW + 139
[09] OPENGL32 0x00007FFD9AA21EB4 wglSwapBuffers + 1092
[10] USER32 0x00007FFE6EA389A1 DispatchMessageW + 1857
[11] USER32 0x00007FFE6EA38461 DispatchMessageW + 513
[12] openttd 0x00007FF6611B7425 PollEvent (/src/video/win32_v.cpp:888)
[inlined] (/src/video/video_driver.cpp:165)
[inlined] MainLoop (/src/video/win32_v.cpp:900)
[13] openttd 0x00007FF6611BB45C openttd_main (/src/openttd.cpp:1111)
[14] openttd 0x00007FF6611BC763 WinMain + 140690790220467 (/src/os/windows/win32_main.cpp:82)
[15] openttd 0x00007FF6609313C4 __tmainCRTStartup + 140690790220340 (./build/x86_64-w64-mingw32-x86_64-w64-mingw32-crt/./mingw-w64-crt/crt/crtexe.c:333)
[16] openttd 0x00007FF6609314E6 WinMainCRTStartup + 140690790219798 (./build/x86_64-w64-mingw32-x86_64-w64-mingw32-crt/./mingw-w64-crt/crt/crtexe.c:186)
[17] KERNEL32 0x00007FFE6F42257D BaseThreadInitThunk + 29
[18] ntdll 0x00007FFE709AAF28 RtlUserThreadStart + 40
Registers: RAX: 00007FFD972683C8 RBX: 000000BF56BEE620 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00007FF66154B760 RDI: 0000000000000000 RBP: 0000000000000009 RSP: 000000BF56BEE4B0 R8: 0000000000000000 R9: 0000000000007811 R10: 00007FFE7098C350 R11: 0000000000000000 R12: 000000BF56BEE620 R13: 0000029C9E9F3BB8 R14: 0000000000000000 R15: 0000029C9E9F3B80 RIP: 00007FFE6E33F20C EFLAGS: 00000206
Bytes at instruction pointer: 0F 1F 44 00 00 48 8B 8C 24 C0 00 00 00 48 33 CC E8 0F 04 05 00 48 81 C4
Operating system: Name: Windows Release: 10.0.22631 () Compiler: GCC 10.0.0 "10-win32 20220113"
Configuration: Blitter: 40bpp-anim Graphics set: OpenGFX (7938) Language: C:\Program Files\OpenTTD\lang\german.lng Music driver: dmusic Music set: original_windows (1) Network: no Sound driver: win32 Sound set: original_windows (0) Video driver: win32-opengl (NVIDIA GeForce GTX 970/PCIe/SSE2, 4.5.0 NVIDIA 522.25) Pathfinder: YAPF YAPF YAPF Game mode: NORMAL
Fonts: Small: OpenTTD Small Medium: OpenTTD Sans Large: OpenTTD Serif Mono: sprite
Map size: 0x400000 (2048 x 2048)
AI Configuration (local: 4) (current: 4): 0: Human 1: Idle (v1) 2: Idle (v1) 3: Idle (v1) 4: IdleMoreMore (v2)
Libraries: LZMA: 5.2.12 ZSTD: 1.4.8 LZO: 2.10 PNG: 1.5.23 Zlib: 1.2.8
Non-default settings: soundsset: "original_windows" language: resolution: 1725,1037 small_size: 8 medium_size: 10 large_size: 16 mono_size: 10 transparency_options: 38 extra_transparency_options: 1 invisibility_options: 166 last_newgrf_count: 61 zoning_overlay_inner: 4 difficulty.max_no_competitors: 4 difficulty.competitors_interval: 1 difficulty.max_loan: 500000 difficulty.vehicle_costs: 2 difficulty.competitor_speed: 4 difficulty.vehicle_breakdowns: 0 difficulty.subsidy_multiplier: 1 difficulty.terrain_type: 2 difficulty.quantity_sea_lakes: 2 economy.found_town:
Upload crash files
crash-20240709T152709Z.log