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

Global road hotkeys crash the title game #8043

Closed
ldpl opened this issue Mar 23, 2020 · 0 comments
Closed

Global road hotkeys crash the title game #8043

ldpl opened this issue Mar 23, 2020 · 0 comments

Comments

@ldpl
Copy link
Contributor

ldpl commented Mar 23, 2020

Version of OpenTTD

1.10.0-RC1

Expected result

Not crash

Actual result

 [00] ./bin/openttd(_ZNK12CrashLogUnix13LogStacktraceEPcPKc+0x75) [0x5645c87410cf]
 [01] ./bin/openttd(_ZNK8CrashLog12FillCrashLogEPcPKc+0x189) [0x5645c84b6925]
 [02] ./bin/openttd(_ZNK8CrashLog12MakeCrashLogEv+0x91) [0x5645c84b6cc1]
 [03] ./bin/openttd(+0x86ce0d) [0x5645c8740e0d]
 [04] /lib/x86_64-linux-gnu/libc.so.6(+0x46470) [0x7fc0c9de7470]
 [05] ./bin/openttd(_ZN22BuildRoadToolbarWindow16SetupRoadToolbarEv+0xa0) [0x5645c87c238e]
 [06] ./bin/openttd(_ZN22BuildRoadToolbarWindowC1EP10WindowDesci+0x6a) [0x5645c87c2006]
 [07] ./bin/openttd(_Z23AllocateWindowDescFrontI22BuildRoadToolbarWindowEPT_P10WindowDescib+0x6b) [0x5645c87c3e45]
 [08] ./bin/openttd(_Z24ShowBuildRoadScenToolbar8RoadType+0x5f) [0x5645c87bda4d]
 [09] ./bin/openttd(+0x8e9873) [0x5645c87bd873]
 [10] ./bin/openttd(+0x8e98ff) [0x5645c87bd8ff]
 [11] ./bin/openttd(_Z19HandleGlobalHotkeysjt+0xb3) [0x5645c8595a92]
 [12] ./bin/openttd(_Z14HandleKeypressjj+0x2ae) [0x5645c89bf42e]
 [13] ./bin/openttd(_ZN15VideoDriver_SDL9PollEventEv+0x323) [0x5645c898985b]
 [14] ./bin/openttd(_ZN15VideoDriver_SDL8MainLoopEv+0x21e) [0x5645c8989d40]
 [15] ./bin/openttd(_Z12openttd_mainiPPc+0x1115) [0x5645c8727b6f]
 [16] ./bin/openttd(main+0x7d) [0x5645c8741614]
 [17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fc0c9dc81e3]
 [18] ./bin/openttd(_start+0x2e) [0x5645c837eb0e]

Steps to reproduce

  1. Add global hotkey for road tools (may not be limited to road tools but I couldn't find any other).
[roadtoolbar]
autoroad = GLOBAL+E
  1. Start openttd
  2. Press that hotkey in the main menu (title game).
glx22 added a commit to glx22/OpenTTD that referenced this issue Mar 23, 2020
LordAro pushed a commit to LordAro/OpenTTD that referenced this issue Mar 30, 2020
douiwby pushed a commit to douiwby/OpenTTD that referenced this issue Apr 16, 2020
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

1 participant