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

OpenTTD crashes when i Quit the game, and set a 'wierd' shortcut key in hotkeys.cfg #4510

Closed
DorpsGek opened this issue Feb 15, 2011 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

djnekkid opened the ticket and wrote:

As I usually have the 'landscape linked to rail/road/etc' and somewhat recrently the 'r' key have been mapped to a new 'ruler' function, it no longer works to press 'r' to activate the 'remove' tool (remove signals, tracks, station tiles etc).
Then i found the hotkeys.cfg and changed the 'ruler' key (as i never use the ruler) to 'æ' (norwegian 'ae'-combination letter, same as the sweedish ä). But now when i quit the game (either via the menus, or the 'X' in the top right corner) it crashes with this report:
(this one is made with 1.1.0-Beta4, but the same happens in beta5)

*** OpenTTD Crash Report ***

Crash at: Tue Feb 15 12:57:21 2011
In game date: 2051-05-09 (27)

Crash reason:
Exception: E1212012
Location: 000007FEFCEDAA7D
Message: Assertion failed at line 176 of ..\src\hotkeys.cpp: keycode < 128

OpenTTD version:
Version: 1.1.0-beta4 (0)
NewGRF ver: 11005570
Bits: 64
Endian: little
Dedicated: no
Build date: Jan 20 2011 22:43:37

Registers:
RAX: 0000000075A3F7A8 RBX: 0000000000000016 RCX: 000000000020E000 RDX: 0000000000000000
RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00000001407828C4 RSP: 000000000020E610
R8: 0000000000000000 R9: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286
R12: 0000000140834790 R13: 000000014011F598 R14: 0000000000000001 R15: 0000000076BFF59B
RIP: 000007FEFCEDAA7D EFLAGS: 00000202

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 0020E648 00000000
E1212012 00000000 00000000 00000000 FCEDAA7D 000007FE 00000000 00000000
00000048 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000070 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 76C0C333 00000000
76C0C3DF 00000000 76D2FBEA 00000000 00000000 00000000 00000000 00000000
00000000 00000000 76C0A01B 00000000 00000000 00000000 76D136B8 00000000
00000001 00000000 40218D31 00000001 00000016 00000000 C41866B7 00000000
008B4A48 00000000 00000001 00000000 00000000 00000000 76D277DA 00000000
008B4A20 00000000 76BFF59B 00000000 40814A80 00000001 05190C60 00000000
02291200 00000000 408BE6A8 00000001 408BE6A8 00000001 40217FB6 00000001
00000001 00000000 000000F8 00000000 408BE6C7 00000001 00000002 00000000
00000000 00000000 76D3F5E5 00000000 00000000 00000000 00000000 00000000
76D7937C 00000000 00000001 00000000 0020E7D8 00000000 00000030 00000003
76BFF5BA 00000000 76C0BAF9 00000000 008AB5A8 00000000 0020E808 00000000
00000000 00000000 008B4A20 00000000 00000082 FFFFF900 00000000 00000000
00000000 00000000 76D136B8 00000000 76D35810 00000000 76C1764C 00000000
003306A4 00000000 008B4A20 00000000 00000001 00000000 00000001 00000000
00000001 00000000 9C0A0F80 FFFFFFFF 004A0698 00000000 00000202 00000000
00000000 00000000 0003001D 00000000 0361F7E6 000003B9 000001F1 00000000
00000000 00000000 00000000 00000000 76BF0000 00000000 0036BE20 00000000
00000000 00000000 76C174A5 00000000 003306A4 00000000 76C632C4 00000000
00000001 00000000 003306A4 00000000 00000000 00000000 00000000 00000000
00000008 00000000 00000010 00000000 00010003 00000000 00000001 00000000
00000001 00000000 76C62825 00000000 0036BE20 00000000 0036BE20 00000000

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

Configuration:
Blitter: 8bpp-optimized
Graphics set: OpenGFX (593)
Language: C:\Users\Thomas\Desktop\ottd\stable\lang\english.lng
Music driver: win32
Music set: NoMusic (0)
Network: no
Sound driver: win32
Sound set: NoSound (2)
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:\Users\Thomas\Desktop\ottd\stable\openttd.exe handle: 000000013FF00000 size: 9897984 crc: A42101B0 date: 2011-01-20 21:48:12
C:\Windows\SYSTEM32\ntdll.dll handle: 0000000076CF0000 size: 1739176 crc: 08AFD0C3 date: 2010-10-27 05:16:01
C:\Windows\system32\kernel32.dll handle: 0000000076AD0000 size: 1162240 crc: 822946F0 date: 2009-07-14 01:41:13
C:\Windows\system32\KERNELBASE.dll handle: 000007FEFCED0000 size: 421376 crc: 68F689E4 date: 2009-07-14 01:41:13
C:\Windows\system32\WINMM.dll handle: 000007FEF8E90000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
C:\Windows\system32\msvcrt.dll handle: 000007FEFEDA0000 size: 634880 crc: 7F3E716F date: 2009-07-14 01:41:32
C:\Windows\system32\USER32.dll handle: 0000000076BF0000 size: 1008640 crc: 95FA0345 date: 2009-07-14 01:41:56
C:\Windows\system32\GDI32.dll handle: 000007FEFED30000 size: 404480 crc: 0F1BAE69 date: 2009-07-14 01:40:56
C:\Windows\system32\LPK.dll handle: 000007FEFE620000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
C:\Windows\system32\USP10.dll handle: 000007FEFE2A0000 size: 801280 crc: 32EFA120 date: 2009-07-14 01:41:56
C:\Windows\system32\WS2_32.dll handle: 000007FEFEF80000 size: 296448 crc: B9553AFD date: 2009-07-14 01:41:58
C:\Windows\system32\RPCRT4.dll handle: 000007FEFD020000 size: 1221632 crc: D5B6358C date: 2009-07-14 01:41:53
C:\Windows\system32\NSI.dll handle: 000007FEFEE60000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
C:\Windows\system32\ADVAPI32.dll handle: 000007FEFE410000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFEE40000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
C:\Windows\system32\SHELL32.dll handle: 000007FEFD220000 size: 14162944 crc: 38C0D5D7 date: 2010-07-27 14:59:11
C:\Windows\system32\SHLWAPI.dll handle: 000007FEFD1A0000 size: 449536 crc: 0BFDF102 date: 2009-07-14 01:41:54
C:\Windows\system32\IMM32.DLL handle: 000007FEFEFD0000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
C:\Windows\system32\MSCTF.dll handle: 000007FEFEE70000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
C:\Windows\system32\avgrssta.dll handle: 0000000A01300000 size: 13048 crc: 1CC4D8B6 date: 2010-07-15 16:35:07
C:\Windows\system32\SHFolder.dll handle: 000007FEF84B0000 size: 10240 crc: 08A48DE3 date: 2009-07-14 01:41:54
C:\Windows\system32\ole32.dll handle: 000007FEFDFB0000 size: 2085376 crc: 4764DDC2 date: 2010-06-29 05:39:12
C:\Windows\system32\uxtheme.dll handle: 000007FEF7C70000 size: 332288 crc: B0A13DF9 date: 2009-07-14 01:41:56
C:\Windows\system32\dwmapi.dll handle: 000007FEF8290000 size: 82432 crc: A459F360 date: 2009-07-14 01:40:34
C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFCBA0000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
C:\Windows\system32\OLEAUT32.DLL handle: 000007FEFE1C0000 size: 861184 crc: 112732BA date: 2010-04-07 07:37:39
C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFB580000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
C:\Windows\system32\PROPSYS.dll handle: 000007FEFB450000 size: 1212416 crc: 98D01BC9 date: 2009-07-14 01:41:53
C:\Windows\system32\wdmaud.drv handle: 000007FEF7AA0000 size: 217088 crc: AB6BC545 date: 2009-07-14 01:38:50
C:\Windows\system32\ksuser.dll handle: 00000000741A0000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
C:\Windows\system32\AVRT.dll handle: 000007FEFB440000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
C:\Windows\system32\SETUPAPI.dll handle: 000007FEFE6D0000 size: 1899520 crc: 91ED5D15 date: 2009-07-14 01:41:54
C:\Windows\system32\CFGMGR32.dll handle: 000007FEFCFE0000 size: 207360 crc: 369326FC date: 2009-07-14 01:40:15
C:\Windows\system32\DEVOBJ.dll handle: 000007FEFCD00000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
C:\Windows\system32\AUDIOSES.DLL handle: 000007FEF7A50000 size: 296448 crc: 07CA71DE date: 2009-07-14 01:40:04
C:\Windows\system32\msacm32.drv handle: 000007FEF7A40000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
C:\Windows\system32\MSACM32.dll handle: 000007FEF7A20000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
C:\Windows\system32\midimap.dll handle: 000007FEF7A10000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFE630000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
C:\Windows\system32\mswsock.dll handle: 000007FEFC480000 size: 320000 crc: EA387916 date: 2009-07-14 01:41:34
C:\Windows\System32\wshtcpip.dll handle: 000007FEFB950000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\comctl32.dll handle: 000007FEFBEA0000 size: 2030080 crc: A65E8D4D date: 2010-08-21 06:12:27
C:\Windows\system32\ntmarta.dll handle: 000007FEFB3F0000 size: 162304 crc: 5344798C date: 2009-07-14 01:41:53
C:\Windows\system32\WLDAP32.dll handle: 000007FEFD150000 size: 311808 crc: 7A3D9683 date: 2009-07-14 01:41:56
C:\Windows\system32\CRYPTSP.dll handle: 000007FEFC4E0000 size: 79872 crc: EAD9F786 date: 2009-07-14 01:40:24
C:\Windows\system32\rsaenh.dll handle: 000007FEFC1E0000 size: 281256 crc: 4AE59CAD date: 2009-07-14 01:43:15
C:\Windows\system32\RpcRtRemote.dll handle: 000007FEFCB20000 size: 65024 crc: 2ADF872D date: 2009-07-14 01:41:53
C:\Windows\system32\mssprxy.dll handle: 000007FEF5370000 size: 100352 crc: 8C4B1E9D date: 2009-07-14 01:41:31
C:\Windows\system32\psapi.dll handle: 0000000076EB0000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 62675: game loaded
Conversion from OTTD savegame without gamelog: version 4, 1
Revision text changed to 1.1.0-beta4, savegame version 157, not modified, _openttd_newgrf_version = 0x11005570
New game mode: 0 landscape: 1
Added NewGRF: GRF ID 42525300, checksum 17F04BEFBFFEB915C59A7E007A835409, filename: bros.grf (md5sum matches)
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] KERNELBASE 0x000007FEFCEDAA7D RaiseException + 61
[01] openttd 0x0000000140218D31
[02] openttd 0x0000000140217FB6
[03] openttd 0x000000013FF42FA9
[04] openttd 0x000000013FF2C15B
[05] openttd 0x000000013FF2C663
[06] openttd 0x000000013FF2C237
[07] openttd 0x000000013FF44D3C
[08] openttd 0x0000000140120496
[09] openttd 0x000000014021AC59
[10] kernel32 0x0000000076AEF56D BaseThreadInitThunk + 13
[11] ntdll 0x0000000076D22CC1 RtlUserThreadStart + 33

*** End of additional info ***

Attachments

Reported version: 1.1.0-beta5
Operating system: Windows


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

Yexo closed the ticket.

Reason for closing: Fixed

In r22094


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

@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