Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash #1

Closed
McWizard opened this issue May 31, 2011 · 5 comments
Closed

Crash #1

McWizard opened this issue May 31, 2011 · 5 comments

Comments

@McWizard
Copy link

Game crashed while I was just creating a new Train (but has possibly nothing to do with that)

*** OpenTTD Crash Report ***

Crash at: Tue May 31 11:57:48 2011
In game date: 1970-12-28 (52)

Crash reason:
Exception: E1212012
Location: 000007FEFDE3AA7D
Message: Assertion failed at line 3275 of ..\src\station_cmd.cpp: capacity >= usage

OpenTTD version:
Version: gd799588c-cd (0)
NewGRF ver: 120057dc
Bits: 64
Endian: little
Dedicated: no
Build date: May 27 2011 04:29:13

Registers:
RAX: 0000000077E7FDBD RBX: 0000000000000016 RCX: 00000000002ADB50 RDX: 0000000000000000
RSI: 0000000000000000 RDI: 0000000000000008 RBP: 000000000000000D RSP: 00000000002AE160
R8: 0000000000000000 R9: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286
R12: 000000013FB8D458 R13: 000000013F469E00 R14: 0000000000000001 R15: 0000000077B7F59B
RIP: 000007FEFDE3AA7D 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 83 EC 48 83

Stack trace:
00000016 00000000 00000000 00000000 00000008 00000000 002AE198 00000000
E1212012 00000000 00000000 00000000 FDE3AA7D 000007FE 00000000 00000000
00000048 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000070 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 77B8C333 00000000
003C0230 00000000 77CAFBEA 00000000 003C0398 00000000 00000000 00000000
00000000 00000000 77B8A01B 00000000 00000000 00000000 77C936B8 00000000
00000001 00000000 3F563491 00000001 00000016 00000000 16D13AB7 00000000
00459980 00000000 003C0230 00000000 00000000 00000000 77CA77DA 00000000
009B6620 00000000 77B7F59B 00000000 00000000 00000000 02311CE0 00000000
0609B240 00000000 05F83CB0 00000000 0609B420 00000000 3F56277E 00000001
00000001 00000000 023634B0 00000000 00000032 00000000 00000002 00000000
00000000 00000000 77CBF5E5 00000000 00000000 00000000 00000000 00000000
77CF937C 00000000 72000072 00000000 002AE328 00000000 00000030 00000003
77B7F5BA 00000000 72000072 00000000 009B4208 00000000 002AE358 00000000
00000000 00000000 009B6620 00000000 00000016 00000000 00000000 00000000
00000000 00000000 77C936B8 00000000 77CB5810 00000000 77B9764C 00000000
00030520 00000000 009B6620 00000000 00000001 00000000 00000001 00000000
00000001 00000000 AC0A145D FFFFFFFF 00000000 00000000 00000000 00000000
00000001 00000000 00000010 00000000 00444FF0 00000000 003C0000 00000000
00444FE0 00000000 77CC1885 00000000 003C0000 00000000 00444F01 00000000
00000000 00000000 00444FF0 00000000 00030520 00000000 77BE32C4 00000000
00000001 00000000 00030520 00000000 77BE32C4 00000000 002AE760 00000000
00000000 00000000 3FC18B96 00000001 00010003 00000000 00000001 00000000
00000001 00000000 77BE2825 00000000 00444FF0 00000000 00444FF0 00000000

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

Configuration:
Blitter: 8bpp-optimized
Graphics set: OpenGFX (622)
Language: C:\games\OpenTTD-Cargodist\lang\english_US.lng
Music driver: win32
Music set: NoMusic (0)
Network: no
Sound driver: win32
Sound set: OpenSFX (87)
Video driver: win32

AI Configuration (local: 0):
0: Human

Libraries:
FreeType: 2.4.4
ICU: 4.4.2
LZMA: 5.0.0
LZO: 2.03
PNG: 1.4.5
Zlib: 1.2.5

Module information:
C:\games\OpenTTD-Cargodist\openttd.exe handle: 000000013F220000 size: 10139648 crc: 6653BBD1 date: 2011-05-27 02:33:44
C:\Windows\SYSTEM32\ntdll.dll handle: 0000000077C70000 size: 1739176 crc: 08AFD0C3 date: 2010-10-27 05:16:01
C:\Windows\system32\kernel32.dll handle: 0000000077A50000 size: 1162240 crc: 822946F0 date: 2009-07-14 01:41:13
C:\Windows\system32\KERNELBASE.dll handle: 000007FEFDE30000 size: 421376 crc: 68F689E4 date: 2009-07-14 01:41:13
C:\Windows\system32\WINMM.dll handle: 000007FEFC880000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
C:\Windows\system32\msvcrt.dll handle: 000007FEFE040000 size: 634880 crc: 7F3E716F date: 2009-07-14 01:41:32
C:\Windows\system32\USER32.dll handle: 0000000077B70000 size: 1008640 crc: 95FA0345 date: 2009-07-14 01:41:56
C:\Windows\system32\GDI32.dll handle: 000007FEFE0E0000 size: 404480 crc: 0F1BAE69 date: 2009-07-14 01:40:56
C:\Windows\system32\LPK.dll handle: 000007FEFF130000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
C:\Windows\system32\USP10.dll handle: 000007FEFFE90000 size: 801280 crc: 32EFA120 date: 2009-07-14 01:41:56
C:\Windows\system32\WS2_32.dll handle: 000007FEFF040000 size: 296448 crc: B9553AFD date: 2009-07-14 01:41:58
C:\Windows\system32\RPCRT4.dll handle: 000007FEFF7B0000 size: 1221632 crc: D5B6358C date: 2009-07-14 01:41:53
C:\Windows\system32\NSI.dll handle: 000007FEFFD00000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
C:\Windows\system32\ADVAPI32.dll handle: 000007FEFE180000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFFF60000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
C:\Windows\system32\SHELL32.dll handle: 000007FEFE260000 size: 14162944 crc: 38C0D5D7 date: 2010-07-27 14:59:11
C:\Windows\system32\SHLWAPI.dll handle: 000007FEFF1E0000 size: 449536 crc: 0BFDF102 date: 2009-07-14 01:41:54
C:\Windows\system32\IMM32.DLL handle: 000007FEFE150000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
C:\Windows\system32\MSCTF.dll handle: 000007FEFFA10000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
C:\Windows\system32\guard64.dll handle: 0000000180000000 size: 360976 crc: 7970B999 date: 2011-05-28 23:06:43
C:\Windows\system32\fltlib.dll handle: 000007FEFDBC0000 size: 19456 crc: C0616299 date: 2009-07-14 01:40:54
C:\Windows\system32\SHFolder.dll handle: 000007FEF5270000 size: 10240 crc: 08A48DE3 date: 2009-07-14 01:41:54
C:\Windows\system32\ole32.dll handle: 000007FEFF4C0000 size: 2085376 crc: 4764DDC2 date: 2010-06-29 05:39:12
C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFBAA0000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
C:\Windows\system32\PROPSYS.dll handle: 000007FEFBF70000 size: 1212416 crc: 98D01BC9 date: 2009-07-14 01:41:53
C:\Windows\system32\OLEAUT32.dll handle: 000007FEFF6D0000 size: 861184 crc: 112732BA date: 2010-04-07 07:37:39
C:\Windows\system32\wdmaud.drv handle: 000007FEFB430000 size: 217088 crc: AB6BC545 date: 2009-07-14 01:38:50
C:\Windows\system32\ksuser.dll handle: 0000000075930000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
C:\Windows\system32\AVRT.dll handle: 000007FEFB6B0000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
C:\Windows\system32\SETUPAPI.dll handle: 000007FEFFB20000 size: 1899520 crc: 91ED5D15 date: 2009-07-14 01:41:54
C:\Windows\system32\CFGMGR32.dll handle: 000007FEFDEC0000 size: 207360 crc: 369326FC date: 2009-07-14 01:40:15
C:\Windows\system32\DEVOBJ.dll handle: 000007FEFDEA0000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
C:\Windows\system32\AUDIOSES.DLL handle: 000007FEF5540000 size: 296448 crc: 07CA71DE date: 2009-07-14 01:40:04
C:\Windows\system32\msacm32.drv handle: 000007FEF5510000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
C:\Windows\system32\MSACM32.dll handle: 000007FEF54F0000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
C:\Windows\system32\midimap.dll handle: 000007FEF54E0000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFDAF0000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFF140000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
C:\Windows\system32\uxtheme.dll handle: 000007FEFBEE0000 size: 332288 crc: B0A13DF9 date: 2009-07-14 01:41:56
C:\Windows\system32\dwmapi.dll handle: 000007FEFBA80000 size: 82432 crc: A459F360 date: 2009-07-14 01:40:34
C:\Windows\system32\mswsock.dll handle: 000007FEFD430000 size: 320000 crc: EA387916 date: 2009-07-14 01:41:34
C:\Windows\System32\wshtcpip.dll handle: 000007FEFCE00000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
C:\Windows\system32\psapi.dll handle: 0000000077E30000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 0: new game started
Revision text changed to gd799588c-cd, savegame version 205, not modified, openttd_newgrf_version = 0x120057dc
New game mode: 1 landscape: 0
Added NewGRF: GRF ID 4D656F95, checksum 3750573263E42B2E6406907429832559, filename: ecs_wood_vector-1.1.118may2011\ecswood.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F91, checksum 0D8931D0CDAAF76B67F3AA29CBD36572, filename: ecs_town_vector-1.1.118may2011\ecstown.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F94, checksum 7F7F0C2C1F417FEFA8640CB1B1ABC6DC, filename: ecs_machinery_vector-1.1.118may2011\ecsmach.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9D, checksum 92BD4FE62E9534747C09A7C7C0DE569F, filename: ecs_houses-1.1.118may2011\ecshouse.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F96, checksum 682C2B4B460032782186BF03AE2C156C, filename: ecs_construction_vector-b527dec2010\ecsconstw.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9C, checksum 3161EF59181D9526A11BCFE3D5325453, filename: ecs_chemical_vector_ii-1.1.118may2011\ecschem2.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9F, checksum 6544EAC9EE5402CAF46860C8453FF7E1, filename: ecs_basic_vector_ii-1.1.118may2011\ecsbas2.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F92, checksum 623D110A69F1768C7DCD8E9B7DB1D503, filename: ecs_basic_vector.b5__25_nov_2009
\ecsbasicw.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F97, checksum FDE064778117506194C2BFA0FE7B8F7F, filename: ecs_agricultural_vector-1.1.118may2011\ecsagri.grf (md5sum matches)
Added NewGRF: GRF ID 4A530116, checksum 5851D9D288081316D39BF3D3AB6C65F5, filename: ecs_cargoset_for_standard_ttd_ve-2010.12.05\ecsrefit.grf (md5sum matches)
Added NewGRF: GRF ID 4A530117, checksum 89A2A4BFC9BFFE1158A6BBBBEA33975B, filename: ecs__firs_vehicle_set-2011.01.01\efrefit.grf (md5sum matches)
Added NewGRF: GRF ID 11223301, checksum 474A7FF52E675DED3154101B58B3E3C7, filename: 2cc_chimaera_addon.2\chim.grf (md5sum matches)
Added NewGRF: GRF ID 27711003, checksum 1DD625FFF9805756C848E19BDDA162C3, filename: 2cc_trainset-2.0.0beta4.1\2cctrainset.grf (md5sum matches)
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] KERNELBASE 0x000007FEFDE3AA7D RaiseException + 61
[01] openttd 0x000000013F563491
[02] openttd 0x000000013F56277E
[03] openttd 0x000000013F273F11
[04] openttd 0x000000013F363760
[05] openttd 0x000000013F29873A
[06] openttd 0x000000013F378F25
[07] openttd 0x000000013F3797D7
[08] openttd 0x000000013F37B80E
[09] openttd 0x000000013F37BB4A
[10] openttd 0x000000013F295CF1
[11] openttd 0x000000013F277110
[12] openttd 0x000000013F27738D
[13] openttd 0x000000013F468741
[14] openttd 0x000000013F275C84
[15] openttd 0x000000013F46AC0A
[16] openttd 0x000000013F56558D
[17] kernel32 0x0000000077A6F56D BaseThreadInitThunk + 13
[18] ntdll 0x0000000077CA2CC1 RtlUserThreadStart + 33

*** End of additional info ***

@McWizard
Copy link
Author

All relevant Crash files: http://www.helge-richter.de/Cargodist-Crash.zip

@fonsinchen
Copy link
Contributor

Can I get the save you loaded last before the crash? I guess it's corrupted.

@fonsinchen
Copy link
Contributor

It seems you can "overload" trains by changing their engine. In this specific case you have MU wagons that can hold either 50 or 52 passengers, depending on what engine they're attached to. As a change of engine doesn't trigger a refit on the wagons, the cargo never gets truncated to the new capacity. Consequently the next time the train arrives at a station, the "usage" number may be higher than the "capacity" number and this triggers the assertion.

@fonsinchen
Copy link
Contributor

This has been solved by r23683 in trunk. You cannot overload wagons like that anymore. However, there must be another way to trigger the capacity < usage assert, as reported at http://www.tt-forums.net/viewtopic.php?f=33&t=41992&start=2560#p1058897

@fonsinchen
Copy link
Contributor

The other exception was a different problem. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants