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

station->town == NULL #3923

Closed
DorpsGek opened this issue Jul 4, 2010 · 9 comments
Closed

station->town == NULL #3923

DorpsGek opened this issue Jul 4, 2010 · 9 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jul 4, 2010

floechen opened the ticket and wrote:

The application crashed on the first autosave attempt at all. I'm newly running OpenTTD 1.0.2 on Windows Vista SP2 32-bit. Such crashes never occurred on the former version 0.7.2. I updated the version to 1.0.2 by just installing it, without having uninstalled the former version first.

Although the "Fatal Application Failure" window told me that both crash.log and crash.dmp were generated, I found only the first one in the installation folder. IMPORTANT: The path mentioned in the window was incorrect! I installed it into c:\programme\openttd (it's a German OS), but the path shown in the window was "c:\program files\openttd".

Btw.: Hitting the "Emergency save" button showed the following error message: "Save failed". Quick guess: There is a problem with the handling of language specific installation paths.

Following the crash report:
---------------------------
*** OpenTTD Crash Report ***

Crash at: Sun Jul 04 08:50:15 2010
In game date: 1950-02-01 (38)

Crash reason:
Exception: C0000005
Location: 004321EB
Message:

OpenTTD version:
Version: 1.0.2 (0)
NewGRF ver: 10284e20
Bits: 32
Endian: little
Dedicated: no
Build date: Jun 19 2010 17:00:16

Registers:
EAX: 00000000 EBX: 00000000 ECX: 00006015 EDX: 01D8BA89
ESI: 0075E730 EDI: 0508F950 EBP: 0012F22C ESP: 0012F048
EIP: 004321EB EFLAGS: 00210246

Bytes at instruction pointer:
0F B7 00 99 89 84 24 D0 00 00 00 0F B7 47 04 89 94 24 D4 00 00 00 99 89

Stack trace:
00008816 FFFFFFF7 0012F270 0012F08C 0012F270 01D8BA69 00000000 0075E730
00000000 00000000 0075E728 004324AC 00000828 0012F270 0012F2A0 00000000
0012F2B5 01D838F6 00000000 06FFFFE7 0012F2B8 004324AC 00000003 0012F0DC
00000065 0012F0C0 0051CAA3 0075E728 00000000 00000000 0012F2AC 004324AC
00000A69 FFFFFFE7 0012F2F0 0012F2C8 0012F2FA 01D882E2 00000000 0012F2D8
0012F306 0012F2E0 0075E728 0012F2E8 76F19A92 0012F2F0 0075E728 76F19ABF
0012F1C8 0012F300 00008822 00000000 68A7044C 00000000 0012F194 75855034
00000001 00000000 7587AECB 00000003 0012F180 00000044 0012F154 00000003
0012F184 00000080 0012F164 0051CAA3 0000000A 00000000 00000000 0012F17C
00417888 006FA3F4 0507D510 0012F1A0 00430DB9 0075E728 00000000 0012F9B7
00000000 004172D8 0012F9B8 0041770C 00000003 0012F1E4 00000011 0012F1B8
00000003 0012F1E8 00000080 0012F1C8 0051CAA3 0000000A 00000000 0012F1F0
00430DB9 0075E728 00000000 0012FA07 00000000 004172D8 0012FA08 0012F210
00430DB9 0075E728 00000000 0012FA27 00000000 004172D8 0012FA28 0041770C
00000063 000000D1 000000C1 0012F228 00000010 00000002 00000000 00000001
EE8381EE 0012F258 00430DB9 0075E728 00000000 0012FA6F 00000072 01E37EB8
00002748 0041770C 00000063 000000D1 0012FA70 00430DD3 0075E728 0012FA6F
004176EC 0012FA6F 00000000 004172D8 0012FAA0 0041770C 00000000 000000B3
000000CD 0012F2A0 00000010 00000001 00000000 00000001 428381EE 6F72726F
48432077 0012F2D8 00430DB9 0075E728 00000000 0012FAEF 41BF80EE 736F7475
20657661 6C696166 00006465 00000094 00000002 0012F2F0 00000008 00000001
00000000 00000001 4DBB80EE 61737365 31006567 65630031 81EE2073 6F432883
6E61706D 29312079 00000000 505C3A43 72676F72 46206D61 73656C69 65704F5C
4454546E 6E6F635C 746E6574 776F645F 616F6C6E 61735C64 615C6576 736F7475

Operating system:
Name: Windows
Release: 6.0.6002 (Service Pack 2)
Compiler: MSVC 1500

Configuration:
Blitter: 8bpp-optimized
Graphics set: original_dos
Language: english.lng
Music driver: dmusic
Music set: NoMusic
Network: no
Sound driver: win32
Sound set: original_dos
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:
C:\Program Files\OpenTTD\openttd.exe handle: 00400000 size: 3546624 crc: CFBF6760 date: 2010-06-19 17:04:22
C:\Windows\system32\ntdll.dll handle: 76EE0000 size: 1202168 crc: 11EF8EE5 date: 2009-04-11 06:27:49
C:\Windows\system32\kernel32.dll handle: 75830000 size: 891392 crc: 1164F2B3 date: 2009-04-11 06:28:20
C:\Windows\system32\WINMM.dll handle: 71380000 size: 189952 crc: 3E8CBFF5 date: 2009-04-11 06:28:25
C:\Windows\system32\msvcrt.dll handle: 75910000 size: 679936 crc: B0E5331E date: 2009-04-11 06:28:22
C:\Windows\system32\USER32.dll handle: 759C0000 size: 627712 crc: 80F0F3C5 date: 2009-04-11 06:28:25
C:\Windows\system32\GDI32.dll handle: 75590000 size: 297472 crc: 69625D80 date: 2009-04-11 06:28:19
C:\Windows\system32\ADVAPI32.dll handle: 755E0000 size: 800768 crc: D7864B03 date: 2009-04-11 06:28:17
C:\Windows\system32\RPCRT4.dll handle: 76E10000 size: 784896 crc: 35185859 date: 2009-04-23 12:15:07
C:\Windows\system32\ole32.dll handle: 75C50000 size: 1316864 crc: CB56BE6B date: 2009-04-11 06:28:23
C:\Windows\system32\OLEAUT32.dll handle: 76A20000 size: 563712 crc: 12E9F438 date: 2009-04-11 06:28:23
C:\Windows\system32\OLEACC.dll handle: 72DA0000 size: 234496 crc: 82CE51D9 date: 2009-10-08 21:08:01
C:\Windows\system32\WS2_32.dll handle: 77020000 size: 179200 crc: 5D581120 date: 2008-01-21 02:25:16
C:\Windows\system32\NSI.dll handle: 77010000 size: 8192 crc: 10729B39 date: 2008-01-21 02:25:11
C:\Windows\system32\SHELL32.dll handle: 75DA0000 size: 11584000 crc: 766AA8BB date: 2009-04-11 06:28:24
C:\Windows\system32\SHLWAPI.dll handle: 75A60000 size: 353280 crc: 681AC986 date: 2009-04-11 06:28:24
C:\Windows\system32\IMM32.DLL handle: 76AB0000 size: 114688 crc: 8D83D50A date: 2009-04-11 06:28:20
C:\Windows\system32\MSCTF.dll handle: 76D40000 size: 807424 crc: 78787E19 date: 2009-04-11 06:28:20
C:\Windows\system32\LPK.DLL handle: 77060000 size: 23552 crc: 2E03F135 date: 2009-06-15 14:52:42
C:\Windows\system32\USP10.dll handle: 770C0000 size: 502272 crc: 33F7104F date: 2009-04-11 06:28:25
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll handle: 74390000 size: 1686016 crc: 1453762E date: 2009-04-11 06:21:38
C:\Windows\system32\SHFolder.dll handle: 74D30000 size: 7168 crc: 1CA14A5C date: 2006-11-02 09:46:13
C:\Windows\system32\wdmaud.drv handle: 712F0000 size: 167424 crc: AE942463 date: 2009-04-11 06:27:12
C:\Windows\system32\ksuser.dll handle: 71250000 size: 4608 crc: 4C647881 date: 2006-11-02 09:46:05
C:\Windows\system32\MMDevAPI.DLL handle: 74290000 size: 150528 crc: 481F98E7 date: 2009-04-11 06:28:20
C:\Windows\system32\AVRT.dll handle: 74280000 size: 12800 crc: EB589AA0 date: 2008-01-21 02:25:20
C:\Windows\system32\SETUPAPI.dll handle: 75AC0000 size: 1591296 crc: A225D6A1 date: 2009-04-11 06:28:24
C:\Windows\system32\WINTRUST.dll handle: 74800000 size: 172032 crc: 0FB3BA99 date: 2009-12-23 11:33:29
C:\Windows\system32\CRYPT32.dll handle: 74EC0000 size: 978944 crc: CE0B7499 date: 2009-04-11 06:28:18
C:\Windows\system32\MSASN1.dll handle: 75020000 size: 60928 crc: D62CDC5B date: 2009-09-04 11:41:59
C:\Windows\system32\USERENV.dll handle: 75440000 size: 108544 crc: CC1E5DD3 date: 2009-04-11 06:28:25
C:\Windows\system32\Secur32.dll handle: 75420000 size: 72704 crc: C962EC8E date: 2009-06-15 14:53:43
C:\Windows\system32\imagehlp.dll handle: 768B0000 size: 153088 crc: EEF49677 date: 2008-01-21 02:24:32
C:\Windows\system32\AUDIOSES.DLL handle: 71220000 size: 115712 crc: 9E346B3A date: 2009-04-11 06:28:18
C:\Windows\system32\audioeng.dll handle: 711B0000 size: 397312 crc: 17666E45 date: 2008-01-21 02:25:20
C:\Windows\system32\PSAPI.DLL handle: 75580000 size: 12288 crc: D7B812C5 date: 2006-11-02 09:46:12
C:\Windows\system32\msacm32.drv handle: 710A0000 size: 21504 crc: 28704D00 date: 2009-04-11 06:27:12
C:\Windows\system32\MSACM32.dll handle: 71080000 size: 71680 crc: A2E8F836 date: 2008-01-21 02:25:19
C:\Windows\system32\midimap.dll handle: 71070000 size: 17408 crc: 9FC56E7F date: 2009-04-11 06:28:20
C:\Windows\system32\CLBCatQ.DLL handle: 757A0000 size: 523776 crc: C2EBF5E6 date: 2008-01-21 02:24:49
C:\Windows\system32\uxtheme.dll handle: 73210000 size: 240128 crc: 5F29223E date: 2008-01-21 02:24:10
C:\Windows\system32\dmime.dll handle: 6C9C0000 size: 178688 crc: 3063C87B date: 2008-01-21 02:24:03
C:\Windows\system32\DSOUND.dll handle: 68FD0000 size: 444416 crc: 2196E709 date: 2009-04-11 06:28:19
C:\Windows\system32\POWRPROF.dll handle: 748B0000 size: 98816 crc: F5FB120D date: 2009-04-11 06:28:23
C:\Windows\system32\dmusic.dll handle: 65CB0000 size: 101888 crc: 9C95E7AB date: 2009-04-11 06:28:18
C:\Windows\system32\dmsynth.dll handle: 658F0000 size: 105472 crc: A572B2E6 date: 2009-04-11 06:28:18
C:\Windows\system32\dmloader.dll handle: 6DED0000 size: 38400 crc: 43D1875C date: 2008-01-21 02:24:03
C:\Windows\system32\mswsock.dll handle: 74BC0000 size: 223232 crc: 9C4248CA date: 2009-04-11 06:28:22
C:\Windows\System32\wshtcpip.dll handle: 74830000 size: 9216 crc: 10C50FC1 date: 2008-01-21 02:24:29

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

*** End of OpenTTD Crash Report ***

Attachments

Reported version: 1.0.2
Operating system: Windows


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

DorpsGek commented Jul 4, 2010

frosch wrote:

The attached crash.log does not belong to this crash:
Date: 2006-12-01 18:15:30
Build: 0.4.8 built on Aug 12 2006 14:44:04

Please check your user folder for crash.log and crash.dmp. ("c:\dokumente und einstellungen" or something like that)


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8237

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2010

Rubidium wrote:

Please also attach crash.dmp.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8238

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2010

floechen wrote:

Sorry, didn't check the date...

I scanned my whole harddisk: There is no crash.dmp on it. And no other crash.log too. The one I pasted into the message is obviously the only remainder of the crash...


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8239

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2010

Rubidium wrote:

The crash seems to be at line 925 of strings.cpp, which is plausible as there's code and a pointer dereference.

Interesting about that line is that station -> town -> index fails. As station has been checked for NULL, town has to be NULL and that makes it very similar to #3786.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8240

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2010

frosch wrote:

Florian: How did you start the game? Did you by any chance start a self-made scenario?
Can you then attach that one, please.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8241

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2010

floechen wrote:

No, I started a new game, with a random map (icy landscape, size 256x512). I just managed to build two stations, and then the game crashed.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8245

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 6, 2010

Rubidium wrote:

The crash happened when it tried to draw a string with a station name in it; likely a news message. Furthermore the crash almost 40 ticks after the autosave, which discredits that hypothesis.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8259

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 8, 2010

Rubidium wrote:

Regarding the incorrect path: it's a known feature that Microsoft localises some of its paths, but as far as I am aware it is localised by Windows' explorer. That means that on the disk the directory is still called "Program Files", but when seeing it in the explorer or the generic save/load windows of Windows it will be translated. So that's very likely not a problem at all.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3923#comment8266

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 8, 2010

Rubidium closed the ticket.

Reason for closing: Fixed

In r20087


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

@DorpsGek DorpsGek closed this as completed Jul 8, 2010
@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