OpenTTD

Tasklist

FS#4849 - Crash

Attached to Project: OpenTTD
Opened by HeiRos (HeiRos) - Monday, 21 November 2011, 20:16 GMT
Last edited by Remko Bijker (Rubidium) - Wednesday, 23 November 2011, 20:37 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The appended savegame crahes after some seconds. The last action was to remove bus stations while the game paused.

*** OpenTTD Crash Report ***

Crash at: Mon Nov 21 19:29:57 2011
In game date: 1879-07-23 (16)

Crash reason:
Exception: E1212012
Location: 000007FEFDA3CACD
Message: Assertion failed at line 266 of ..\src\station.cpp: !this->rect.IsEmpty()

OpenTTD version:
Version: r23190 (0)
NewGRF ver: 12005a96
Bits: 64
Endian: little
Dedicated: no
Build date: Nov 11 2011 19:09:47

Registers:
RAX: 00000000757DB512 RBX: 0000000000000016 RCX: 000000000018E6D0 RDX: 0000000000000000
RSI: 0000000000000000 RDI: 0000000000000008 RBP: 000000000018F0F0 RSP: 000000000018ECE0
R8: 0000000000000000 R9: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286
R12: 00000001400FE0B8 R13: 000000013F9FD9A4 R14: 0000000000000001 R15: 0000004E00000000
RIP: 000007FEFDA3CACD EFLAGS: 00000206

Bytes at instruction pointer:
48 81 C4 C8 00 00 00 C3 90 90 90 90 90 90 90 90 90 90 90 48 89 5C 24 18

Stack trace:
00000016 00000000 00000000 00000000 00000008 00000000 3F9BF5A3 00000001
E1212012 00000000 00000000 00000000 FDA3CACD 000007FE 00000000 00000000
4018AB70 00000001 7708146B 00000000 FFB5378A 000007FE 00100236 00000000
00000010 00000000 4007FBA8 00000001 00000050 00000000 00100236 00000000
00000000 00000000 77513BFA 00000000 4007FBA8 00000001 00000010 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000001 00000000 3FAF7BE9 00000001 00000016 00000000 F852DF93 00000000
00000001 00000000 77509C7A 00000000 00000000 00000000 00000000 0000004E
00000000 00000000 00000000 00000000 02177C0C 00000000 02177C2A 00000000
00000000 00000000 3FAF6F44 00000001 00000001 00000000 050DF030 00000000
0018F0C8 00000000 FFFFFFFF 00000000 050DF030 00000000 3F812FDF 00000001
050DF030 00000000 0018F0F0 00000000 0018F0C8 00000000 0018EED0 00000000
65737341 6F697472 6166206E 64656C69 20746120 656E696C 36363220 20666F20
735C2E2E 735C6372 69746174 632E6E6F 203A7070 69687421 723E2D73 2E746365
6D457349 28797470 00000029 00000000 00000000 00000000 0018EF70 00000000
00000000 00000000 3F9C8086 00000001 00000001 00000000 00000003 00000000
0535B900 00000000 05393540 00000000 05392E00 00000000 3F9C7FB0 00000001
00000000 00000000 0018EF70 00000000 00000000 00000000 3F9BF772 00000001
00000000 00000000 000000BF 00000000 000000C0 00000000 050441A0 00000000
050448E0 00000000 3F9BF887 00000001 00000000 00000000 0000031F 00000000
00000001 00000000 00000008 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000001 00000000 02138260 00000000
050448E0 00000000 050448E0 00000000 0200031F 00000000 0000579F 00000000
3F9BDD9C 00000001 3F9BDDC8 00000001 3F9BDDF4 00000001 3F9BF330 00000001

Operating system:
Name: Windows
Release: 6.1.7601 (Service Pack 1)
Compiler: MSVC 1600

Configuration:
Blitter: 8bpp-optimized
Graphics set: OpenGFX (746)
Language: D:\spiele\OpenTTD_Trunk\lang\german.lng
Music driver: win32
Music set: OpenMSX (96)
Network: no
Sound driver: win32
Sound set: OpenSFX (87)
Video driver: win32

AI Configuration (local: 0):
0: Human

Libraries:
FreeType: 2.4.5
ICU: 4.4.2
LZMA: 5.0.3
LZO: 2.05
PNG: 1.5.4
Zlib: 1.2.5

Module information:
D:\spiele\OpenTTD_Trunk\openttd.exe handle: 000000013F7D0000 size: 9892864 crc: D92CE02D date: 2011-11-11 18:12:44
C:\Windows\SYSTEM32\ntdll.dll handle: 00000000774E0000 size: 1731936 crc: 7AB8D690 date: 2010-11-20 13:28:37
C:\Windows\system32\kernel32.dll handle: 0000000077270000 size: 1162752 crc: 4F9F79FE date: 2011-07-16 05:37:12
C:\Windows\system32\KERNELBASE.dll handle: 000007FEFDA30000 size: 421888 crc: D7A16149 date: 2011-07-16 05:37:12
C:\Windows\system32\WINMM.dll handle: 000007FEFB9A0000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
C:\Windows\system32\msvcrt.dll handle: 000007FEFF110000 size: 634880 crc: 7F3E716F date: 2009-07-14 01:41:32
C:\Windows\system32\USER32.dll handle: 0000000077010000 size: 1008128 crc: 70FF7D7F date: 2010-11-20 13:27:27
C:\Windows\system32\GDI32.dll handle: 000007FEFF480000 size: 403968 crc: 3D5BC405 date: 2010-11-20 13:26:25
C:\Windows\system32\LPK.dll handle: 000007FEFF340000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
C:\Windows\system32\USP10.dll handle: 000007FEFDEA0000 size: 800256 crc: B511F4B9 date: 2010-11-20 13:27:27
C:\Windows\system32\WS2_32.dll handle: 000007FEFE180000 size: 297984 crc: 0F68689B date: 2010-11-20 13:27:29
C:\Windows\system32\RPCRT4.dll handle: 000007FEFF350000 size: 1219584 crc: 5217F07C date: 2010-11-20 13:27:24
C:\Windows\system32\NSI.dll handle: 000007FEFF1B0000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
C:\Windows\system32\ADVAPI32.dll handle: 000007FEFF240000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFF770000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
C:\Windows\system32\SHELL32.dll handle: 000007FEFE350000 size: 14174208 crc: EA53E806 date: 2010-11-20 13:27:25
C:\Windows\system32\SHLWAPI.dll handle: 000007FEFDD10000 size: 448512 crc: 086DF743 date: 2010-11-20 13:27:25
C:\Windows\system32\IMM32.DLL handle: 000007FEFF0E0000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
C:\Windows\system32\MSCTF.dll handle: 000007FEFDD90000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
C:\Windows\system32\SHFolder.dll handle: 000007FEFB6E0000 size: 10240 crc: 08A48DE3 date: 2009-07-14 01:41:54
C:\Windows\system32\ole32.dll handle: 000007FEFDF70000 size: 2086912 crc: 72F91CD0 date: 2010-11-20 13:27:23
C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFC740000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
C:\Windows\system32\PROPSYS.dll handle: 000007FEFC610000 size: 1212416 crc: B83FA3BE date: 2010-11-20 13:27:23
C:\Windows\system32\OLEAUT32.dll handle: 000007FEFE1D0000 size: 861696 crc: 1F331414 date: 2011-08-27 05:37:49
C:\Windows\system32\wdmaud.drv handle: 000007FEFB960000 size: 217088 crc: 12829973 date: 2010-11-20 13:24:21
C:\Windows\system32\ksuser.dll handle: 0000000074B80000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
C:\Windows\system32\AVRT.dll handle: 000007FEFC870000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
C:\Windows\system32\SETUPAPI.dll handle: 000007FEFF590000 size: 1900544 crc: A364BD6A date: 2010-11-20 13:27:25
C:\Windows\system32\CFGMGR32.dll handle: 000007FEFDC10000 size: 207872 crc: 1984C339 date: 2010-11-20 13:25:50
C:\Windows\system32\DEVOBJ.dll handle: 000007FEFDCF0000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
C:\Windows\system32\AUDIOSES.DLL handle: 000007FEFB7C0000 size: 296448 crc: 90389554 date: 2010-11-20 13:25:42
C:\Windows\system32\msacm32.drv handle: 000007FEFB7B0000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
C:\Windows\system32\MSACM32.dll handle: 000007FEFB790000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
C:\Windows\system32\midimap.dll handle: 000007FEFB710000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFD870000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFF4F0000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
C:\Windows\system32\mswsock.dll handle: 000007FEFD1B0000 size: 326144 crc: 136B1525 date: 2010-11-20 13:27:10
C:\Windows\System32\wshtcpip.dll handle: 000007FEFCB50000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
C:\Windows\system32\psapi.dll handle: 00000000776B0000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 0: new game started
Revision text changed to r23190, savegame version 163, not modified, _openttd_newgrf_version = 0x12005a96
New game mode: 2 landscape: 1
Added NewGRF: GRF ID 46727800, checksum 3B58B9177D1A1B54D356F64B93526116, filename: smits-1.0\smits.grf (md5sum matches)
Added NewGRF: GRF ID 32434353, checksum 1820C48040541B9E6FD4EA0F1D205438, filename: 2cc_subways_from_the_2cc_set-1.0\2cc_subways.grf (md5sum matches)
Added NewGRF: GRF ID FBFB0402, checksum C5D462B520ED5EEB3AF5619DA165DA35, filename: metro_track_set-1.1.0\metrotrk.grf (md5sum matches)
Added NewGRF: GRF ID 56430001, checksum 0CB8AD0B5E08C40893EDD63DBF49A192, filename: total_town_replacement_set-3.13\ttrs3w.grf (md5sum matches)
Added NewGRF: GRF ID 444A5901, checksum 23CEC795D97265752C21EA8F02564A61, filename: vacuum_tube_train-0.22\vactrain.grf (md5sum matches)
Added NewGRF: GRF ID 41501202, checksum 398D9063B804103AEE93BD0265CBD8E6, filename: heqs_heavy_equipment_set-1.4.1\heqs.grf (md5sum matches)
Added NewGRF: GRF ID 4D42000A, checksum 387A63393A072D5B3EB08CE4391707E6, filename: bats_v0.1-0.1\batsv0.1w.grf (md5sum matches)
Added NewGRF: GRF ID 4A530459, checksum 4567B275895E5B665FB51119A69ED140, filename: ottdc_grfpack\z_obsolete\planeset\planesetw_459.grf (md5sum matches)
Added NewGRF: GRF ID 44440302, checksum 439275017478C2E5E7AA25F5E191903D, filename: north_american_renewal_set.2_03\nars2w.grf (md5sum matches)
Added NewGRF: GRF ID 52571201, checksum C1C7D8C53EB7E74EEE2F0EF29638B466, filename: egrvts.1.0\egrvts.grf (md5sum matches)
Tick 0: game loaded
New game mode: 1 landscape: 1
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] KERNELBASE 0x000007FEFDA3CACD RaiseException + 61
[01] openttd 0x000000013FAF7BE9
[02] openttd 0x000000013FAF6F44
[03] openttd 0x000000013F812FDF
[04] openttd 0x000000013F826A3E
[05] openttd 0x000000013F8FC735
[06] openttd 0x000000013F8FC83C
[07] openttd 0x000000013F800F2D
[08] openttd 0x000000013F81689E
[09] openttd 0x000000013F816BD8
[10] openttd 0x000000013F9FC2A1
[11] openttd 0x000000013F81504F
[12] openttd 0x000000013F9FE7C6
[13] openttd 0x000000013FAF9968
[14] kernel32 0x000000007728652D BaseThreadInitThunk + 13
[15] ntdll 0x000000007750C521 RtlUserThreadStart + 33

*** End of additional info ***
This task depends upon

Closed by  Remko Bijker (Rubidium)
Wednesday, 23 November 2011, 20:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r23312
Comment by Thijs Marinussen (Yexo) - Tuesday, 22 November 2011, 23:37 GMT
  • Field changed: Operating System (Windows → All)
Can't easily reproduce it in a new game, but the given crash.sav crashes consistently.

> openttd.exe!_wassert(const wchar_t * expr, const wchar_t * filename, unsigned int lineno) Line 325 C
openttd.exe!Station::GetCatchmentRect() Line 270 + 0x34 bytes C++
openttd.exe!TriggerWatchedCargoCallbacks(Station * st) Line 3014 C++
openttd.exe!StationHandleBigTick(BaseStation * st) Line 3038 C++
openttd.exe!OnTick_Station() Line 3207 + 0xa bytes C++
openttd.exe!CallLandscapeTick() Line 1294 C++
openttd.exe!StateGameLoop() Line 1275 C++
openttd.exe!GameLoop() Line 1371 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 904 C++
openttd.exe!ttd_main(int argc, char * * argv) Line 819 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 446 C++
openttd.exe!__tmainCRTStartup() Line 275 + 0x42 bytes C
openttd.exe!WinMainCRTStartup() Line 189 C
kernel32.dll!0000000076e0f33d()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!0000000077092cc1()
Comment by HeiRos (HeiRos) - Wednesday, 23 November 2011, 02:12 GMT
I also don't know how to reproduce this error. And rebuidling the stations immediately after loading prevents the crash. At the moment this game is in the year 1907 without problems.

Loading...