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

2048x2048 map, crashes before the end of Jan. of the first year. Reproducable. #3887

Closed
DorpsGek opened this issue Jun 18, 2010 · 5 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

dotzolder opened the ticket and wrote:

*** OpenTTD Crash Report ***

Crash at: Fri Jun 18 11:53:00 2010
In game date: 2050-02-03 (2)

Crash reason:
Exception: C0000005
Location: 00431F3A
Message:

OpenTTD version:
Version: 1.0.1 (0)
NewGRF ver: 10184d1e
Bits: 32
Endian: little
Dedicated: no
Build date: Apr 30 2010 21:40:36

Registers:
EAX: 00000000 EBX: 00000000 ECX: 00E6CB00 EDX: 00D8B087
ESI: 0075D710 EDI: 00000000 EBP: 0012F79C ESP: 0012F5B8
EIP: 00431F3A EFLAGS: 00010283

Bytes at instruction pointer:
0F B7 00 FF 75 10 99 89 84 24 AC 00 00 00 89 94 24 B0 00 00 00 0F B6 41

Stack trace:
00000276 FFFFFFE6 0012F7F0 0012F7C8 0012F80A 00D8E617 00000000 04980000
1D222022 00000000 0075D708 28D8D7D7 D759586A 0012F7F0 00CC0178 6A28D86A
D86AF5D8 77E48693 77E5C80A 840109FA 000000D9 0000001C 0012F63C 00000005
00000001 0012FA3C 00533EFE 840109FA 000000D9 0000001C 0012F63C 77E48632
77E45B70 00204470 00244874 00284C78 002C507C 00305480 00D8F4FC 006484A8
00486490 00486490 006484A8 00D49480 004C1808 006C2C18 00904834 00B06C54
00FCAC00 00FCC400 00FC3C00 00FC5400 00FC6C00 00FC7C00 00FC9400 00FF0000
00140000 00F0D000 00000000 00000000 00000000 00000000 00060003 00180014
001A0019 000E0020 0010000F 00120028 001B0013 001D001C 001F001E 00270024
00CC0028 7C910222 00000015 00CC0A78 00CC0000 00000000 0012F6E0 0024F588
0012F924 7C90E920 7C910228 FFFFFFFF 7C910222 7C911086 7C9101DB 00000000
0000009C 0012F750 00CC0000 7C910222 00000011 00CC09B8 00CC0000 00000000
0012F728 00010000 0012F96C 0012F778 00CC0000 7C910222 00000003 00CC0718
00CC0000 00E449E0 0012F750 00E4D008 0012F994 7C90E920 00000001 0012F788
0051BBD5 000000EE 00000000 00000000 0012F7AC 00417B13 0012FACC 000001F1
00000001 0012F7C8 00431084 0075D708 00000000 0012F9EF 00000002 0239F378
00000000 000001F1 00000163 0239F378 0012FB1C 0043109E 0075D708 0012F9EF
00472EA0 0012F9EF 00000002 0012FB70 00000000 72656548 EE8380EE 6F4B8381
206E656C 646F7270 69746375 61762065 626E206E 2077756F 206A6962 72656548
6F677568 726F6F64 0000216E 000063CF 00000000 00CC0000 7C910104 7C9100C4
00006459 04980000 0000008A 0012FA74 7C911028 7C911086 7C9101DB 7C9100C4
00031E6C 00031E6C 0012F8B8 7E3AAD5F 0012F880 0000029B 00000218 00000000
009DDA18 00000002 00000000 00000017 00000500 000003E0 00CC01C0 0012F8B0
7E3A8DD9 000500CC 00000022 FFFFFFF9 00007426 0012F8D4 0000029B 00000218

Operating system:
Name: Windows
Release: 5.1.2600 (Service Pack 3)
Compiler: MSVC 1500

Configuration:
Blitter: 8bpp-optimized
Graphics set: original_windows
Language: dutch.lng
Music driver: dmusic
Music set: OpenMSX
Network: no
Sound driver: win32
Sound set: OpenSFX
Video driver: win32

AI Configuration (local: 0):
0: Human

Libraries:
FreeType: 2.3.12
ICU: 4.2.1
LZO: 2.03
PNG: 1.2.43
Zlib: 1.2.3

Module information:
D:\Spellen\OpenTTD 0.6.1\openttd.exe handle: 00400000 size: 3542016 crc: 9FC5D0CD date: 2010-04-30 21:43:32
C:\WINDOWS\system32\ntdll.dll handle: 7C900000 size: 735744 crc: 810A5742 date: 2009-02-09 10:56:06
C:\WINDOWS\system32\kernel32.dll handle: 7C7D0000 size: 1030656 crc: E62CE906 date: 2009-03-21 14:09:59
C:\WINDOWS\system32\WINMM.dll handle: 76AF0000 size: 179200 crc: 14C886F9 date: 2008-04-14 17:02:44
C:\WINDOWS\system32\ADVAPI32.dll handle: 77F40000 size: 684544 crc: 386B374F date: 2009-02-09 10:56:07
C:\WINDOWS\system32\RPCRT4.dll handle: 77DA0000 size: 585216 crc: 857DC3DC date: 2009-04-15 14:55:06
C:\WINDOWS\system32\Secur32.dll handle: 77F10000 size: 56832 crc: 58DC2B0B date: 2009-06-25 08:27:55
C:\WINDOWS\system32\GDI32.dll handle: 77E40000 size: 286720 crc: AD0D7A5A date: 2008-10-23 12:43:45
C:\WINDOWS\system32\USER32.dll handle: 7E390000 size: 580096 crc: A1DEF669 date: 2008-04-14 17:02:44
C:\WINDOWS\system32\WS2_32.dll handle: 71A30000 size: 82432 crc: 1CF0E4F7 date: 2008-04-14 17:02:45
C:\WINDOWS\system32\msvcrt.dll handle: 77BE0000 size: 343040 crc: 914594B7 date: 2008-04-14 17:02:33
C:\WINDOWS\system32\WS2HELP.dll handle: 71A20000 size: 19968 crc: 25A9B9EA date: 2008-04-14 17:02:45
C:\WINDOWS\system32\SHELL32.dll handle: 7C9C0000 size: 8508416 crc: 1CE36AED date: 2008-06-17 19:03:19
C:\WINDOWS\system32\SHLWAPI.dll handle: 77E90000 size: 474624 crc: 6727126D date: 2009-12-08 09:25:46
C:\WINDOWS\system32\IMM32.DLL handle: 76330000 size: 110080 crc: BC278F31 date: 2008-04-14 17:02:28
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll handle: 77390000 size: 1054208 crc: D48C9A27 date: 2008-04-14 17:00:21
C:\WINDOWS\system32\comctl32.dll handle: 5D4E0000 size: 617472 crc: 3039BA4F date: 2008-04-14 17:02:23
C:\WINDOWS\system32\SHFolder.dll handle: 76730000 size: 25088 crc: D4F9262A date: 2008-04-14 17:02:39
C:\WINDOWS\system32\WINTRUST.dll handle: 76BF0000 size: 176640 crc: 20C532EF date: 2008-04-14 17:02:44
C:\WINDOWS\system32\CRYPT32.dll handle: 77A40000 size: 602624 crc: 7EA0028A date: 2008-04-14 17:02:23
C:\WINDOWS\system32\MSASN1.dll handle: 77AE0000 size: 58880 crc: CB74D77B date: 2009-09-04 21:05:37
C:\WINDOWS\system32\IMAGEHLP.dll handle: 76C50000 size: 144384 crc: 4D6F22DF date: 2008-04-14 17:02:28
C:\WINDOWS\system32\wdmaud.drv handle: 72C90000 size: 23552 crc: F3E22527 date: 2008-04-14 17:03:22
C:\WINDOWS\system32\msacm32.drv handle: 72C80000 size: 20992 crc: 59696C97 date: 2001-09-07 09:00:00
C:\WINDOWS\system32\MSACM32.dll handle: 77BB0000 size: 71680 crc: 4C6A08FD date: 2008-04-14 17:02:29
C:\WINDOWS\system32\midimap.dll handle: 77BA0000 size: 18944 crc: 4F148956 date: 2008-04-14 17:02:29
C:\WINDOWS\system32\MSCTF.dll handle: 746A0000 size: 297984 crc: D0327D58 date: 2008-04-14 17:02:30
D:\Program Files\Unlocker\UnlockerHook.dll handle: 10000000 size: 4608 crc: 97CE9FC2 date: 2010-03-09 02:55:54
C:\WINDOWS\system32\msctfime.ime handle: 75250000 size: 177152 crc: 97E80D46 date: 2009-02-27 04:58:27
C:\WINDOWS\system32\ole32.dll handle: 774A0000 size: 1287168 crc: C44C98F7 date: 2008-04-14 17:02:37
C:\WINDOWS\system32\CLBCATQ.DLL handle: 76F90000 size: 498688 crc: 23CAAAF9 date: 2008-04-14 17:02:23
C:\WINDOWS\system32\COMRes.dll handle: 77010000 size: 822784 crc: 01C741E4 date: 2008-04-14 17:02:23
C:\WINDOWS\system32\OLEAUT32.dll handle: 770E0000 size: 551936 crc: 56F4315C date: 2008-04-14 17:02:37
C:\WINDOWS\system32\VERSION.dll handle: 77BD0000 size: 18944 crc: FC19E92F date: 2008-04-14 17:02:44
C:\WINDOWS\system32\dmime.dll handle: 59A40000 size: 181248 crc: 42675F28 date: 2008-04-14 17:02:24
C:\WINDOWS\system32\DSOUND.dll handle: 73E80000 size: 367616 crc: 79EDF214 date: 2008-04-14 17:02:24
C:\WINDOWS\system32\dmusic.dll handle: 6CE90000 size: 104448 crc: C8018462 date: 2008-04-14 17:02:24
C:\WINDOWS\system32\KsUser.dll handle: 73E50000 size: 4096 crc: D76DE7B2 date: 2008-04-14 16:02:30
C:\WINDOWS\system32\dmsynth.dll handle: 6CEB0000 size: 103424 crc: 406D85F2 date: 2008-04-14 17:02:24
C:\WINDOWS\system32\dmloader.dll handle: 6CF20000 size: 35840 crc: A482F803 date: 2008-04-14 17:02:24
d:\Program Files\NetLimiter\nl_lsp.dll handle: 01400000 size: 81920 crc: 93C715AE date: 2004-03-31 15:24:50
C:\WINDOWS\system32\nl_msgc.dll handle: 01420000 size: 65536 crc: 26D8027F date: 2004-03-30 20:47:41
C:\WINDOWS\system32\mswsock.dll handle: 719D0000 size: 247296 crc: AB503995 date: 2008-06-20 17:49:21
C:\WINDOWS\system32\hnetcfg.dll handle: 61200000 size: 347648 crc: DAE28AF3 date: 2008-04-14 17:02:27
C:\WINDOWS\System32\wshtcpip.dll handle: 71A10000 size: 19456 crc: C10DDDD3 date: 2008-04-14 17:02:45
C:\WINDOWS\system32\psapi.dll handle: 76BB0000 size: 23040 crc: 8CDC5A38 date: 2008-04-14 17:02:38

---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.0.1, savegame version 138, not modified, _openttd_newgrf_version = 0x10184d1e
New game mode: 2 landscape: 0
Tick 0: game loaded
New game mode: 1 landscape: 0
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Reported version: 1.0.1
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/3887
@DorpsGek
Copy link
Member Author

SmatZ wrote:

Plase upload the savegame and crash.log, crash.dmp, crash.sav and crash.png, if available.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3887#comment8148

@DorpsGek
Copy link
Member Author

dotzolder wrote:

Since I didn't make an emergency save, I let it crash again. I pasted the new crashreport to a TXT within the RAR just to be sure.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3887#comment8149

@DorpsGek
Copy link
Member Author

Yexo wrote:

Stacktrace:

openttd.exe!FormatString(char * buff=0x022f7280, const char * str=0x00d8b087, int64 * argv=0x0075d708, unsigned int casei=0x00000000, const char * last=0x0012f9ef) Line 712 + 0x3 bytes C++
openttd.exe!GetStringWithArgs(char * buffr=0x00000000, unsigned int string=0x00000000, int64 * argv=0x0075d708, const char * last=0x0012f9ef) Line 152 C++
openttd.exe!GetString(char * buffr=0x00000000, unsigned short string=0x0000, const char * last=0x0012f9ef) Line 157 C++
openttd.exe!DrawScrollingStatusText(int scroll_pos=0x00000000, int left=0x0000008e, int right=0x000001f1, int top=0x00000001, int bottom=0x0000000b, char [256] buffer=0x0012f9f0) Line 47 C++
openttd.exe!StatusBarWindow::DrawWidget(const Rect & r={...}, int widget=0x00000001) Line 167 + 0x19 bytes C++
openttd.exe!NWidgetLeaf::Draw(const Window * w=0x00d854b8) Line 2082 C++
openttd.exe!NWidgetPIPContainer::Draw(const Window * w=0x00d854b8) Line 1091 + 0xb bytes C++
openttd.exe!NWidgetPIPContainer::Draw(const Window * w=0x00d854b8) Line 1091 + 0xb bytes C++
openttd.exe!Window::DrawWidgets() Line 572 C++
openttd.exe!BuildRailToolbarWindow::OnPaint() Line 1728 + 0x7 bytes C++
openttd.exe!DrawOverlappedWindow(Window * w=0x00000000, int left=0x00000000, int top=0x000003b8, int right=0x000003c0, int bottom=0x000003c9) Line 481 + 0x7 bytes C++
openttd.exe!RedrawScreenRect(int left=0x00000140, int top=0x000003b8, int right=0x00000000, int bottom=0x00000000) Line 1429 + 0x4b bytes C++
openttd.exe!DrawDirtyBlocks() Line 1515 + 0xa bytes C++
openttd.exe!UpdateWindows() Line 2295 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 896 C++
openttd.exe!ttd_main(int argc=, char * * argv=) Line 761 C++
openttd.exe!WinMain(HINSTANCE * hInstance=0x00400000, HINSTANCE
* hPrevInstance=0x00000000, char * lpCmdLine=0x00152337, int nCmdShow=0x00000001) Line 429 + 0x9 bytes C++
openttd.exe!__tmainCRTStartup() Line 263 + 0x1b bytes C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes


This comment was imported from FlySpray: https://bugs.openttd.org/task/3887#comment8150

@DorpsGek
Copy link
Member Author

Yexo wrote:

Managed to reproduce the crash in trunk from crash.sav:

strings.cpp:728. The assert(i != NULL); succeeds, but i->town==NULL.

openttd.exe!FormatString(char * buff=0x0013da5b, const char * str=0x018c148a, __int64 * argv=0x0112d100, unsigned int casei=0x00000000, const char * last=0x0013e257) Line 728 + 0x9 bytes C++
openttd.exe!GetStringWithArgs(char * buffr=0x0013da58, unsigned int string=0x0000087b, int64 * argv=0x0112d0f8, const char * last=0x0013e257) Line 155 C++
openttd.exe!GetString(char * buffr=0x0013da58, unsigned short string=0x087b, const char * last=0x0013e257) Line 160 C++
openttd.exe!GetStringBoundingBox(unsigned short strid=0x087b) Line 919 C++
openttd.exe!NWidgetLeaf::SetupSmallestSize(Window * w=0x069cbe30, bool init_array=true) Line 1927 + 0xc bytes C++
openttd.exe!NWidgetHorizontal::SetupSmallestSize(Window * w=0x069cbe30, bool init_array=true) Line 1101 + 0x18 bytes C++
openttd.exe!NWidgetVertical::SetupSmallestSize(Window * w=0x069cbe30, bool init_array=true) Line 1253 + 0x18 bytes C++
openttd.exe!Window::InitializeData(const WindowDesc * desc=0x0114da58, int window_number=0x00000816) Line 859 + 0x1b bytes C++
openttd.exe!Window::FinishInitNested(const WindowDesc * desc=0x0114da58, int window_number=0x00000816) Line 1239 C++
openttd.exe!Window::InitNested(const WindowDesc * desc=0x0114da58, int window_number=0x00000816) Line 1253 C++
openttd.exe!IndustryViewWindow::IndustryViewWindow(const WindowDesc * desc=0x0114da58, int window_number=0x00000816) Line 639 C++
openttd.exe!AllocateWindowDescFront(const WindowDesc * desc=0x0114da58, int window_number=0x00000816) Line 891 + 0x33 bytes C++
openttd.exe!ShowIndustryViewWindow(int industry=0x00000816) Line 896 C++
openttd.exe!ClickTile_Industry(unsigned int tile=0x0027d2ea) Line 910 C++
openttd.exe!ClickTile(unsigned int tile=0x0027d2ea) Line 189 + 0x8 bytes C++
openttd.exe!CheckClickOnLandscape(const ViewPort * vp=0x01a49980, int x=0x00000212, int y=0x00000282) Line 1795 + 0x18 bytes C++
openttd.exe!HandleViewportClicked(const ViewPort * vp=0x01a49980, int x=0x00000212, int y=0x00000282) Line 1809 C++
openttd.exe!MouseLoop(MouseClick click=MC_LEFT, int mousewheel=0x00000000) Line 2137 + 0xf bytes C++
openttd.exe!HandleMouseEvents() Line 2239 C++
openttd.exe!WndProcGdi(HWND
* hwnd=0x000f0b74, unsigned int msg=0x00000201, unsigned int wParam=0x00000001, long lParam=0x02820212) Line 393 C++
user32.dll!InternalCallWinProc@20() + 0x28 bytes
user32.dll!UserCallWinProcCheckWow@32() + 0xb7 bytes
user32.dll!DispatchMessageWorker@8() + 0xdc bytes
user32.dll!DispatchMessageW@4() + 0xf bytes
openttd.exe!VideoDriver_Win32::MainLoop() Line 847 + 0xc bytes C++
openttd.exe!ttd_main(int argc=0x00000002, char * * argv=0x0013fe00) Line 754 + 0x14 bytes C++
openttd.exe!WinMain(HINSTANCE
* hInstance=0x00400000, HINSTANCE
* hPrevInstance=0x00000000, char * lpCmdLine=0x00161f1d, int nCmdShow=0x00000001) Line 430 C++
openttd.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
openttd.exe!WinMainCRTStartup() Line 182 C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes


This comment was imported from FlySpray: https://bugs.openttd.org/task/3887#comment8151

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Duplicate

Of #3786.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3887

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant