Page 1 of 1

[0.13.14] Server crashes when player switches the quick bar

Posted: Fri Aug 05, 2016 7:48 pm
by rkfg
Press X to win and the server crashes immediately. Here's the backtrace:

Code: Select all

  22.829 Error CrashHandler.cpp:210: Received SIGSEGV
  25.338 Warning Logger.cpp:360: Symbols.size() == 20, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
  26.861 Warning Logger.cpp:360: Symbols.size() == 19, usedSize == 12
#0  0x5052ab in writeStackTrace at /tmp/factorio-poNeXW/src/Util/CrashHandler.cpp:105
#1  0x505524 in SignalHandler at /tmp/factorio-poNeXW/src/Util/CrashHandler.cpp:215
#2  0x7f50948050e0 in ?? at ??:0
#3  0x498559 in changeActiveQuickBar at /tmp/factorio-poNeXW/src/GameActionHandler.cpp:2457
#4  0x8708a9 in actionPerformed at /tmp/factorio-poNeXW/src/GameActionHandler.cpp:287 (discriminator 4)
#5  0x48935c in flushToListeners at /tmp/factorio-poNeXW/src/Input/InputHandler.cpp:51
#6  0x489428 in flushActions at /tmp/factorio-poNeXW/src/Input/InputHandler.cpp:44
#7  0xc088d3 in flushActions at /tmp/factorio-poNeXW/src/Net/NetworkInputHandler.hpp:67
#8  0xc25dbd in tryToApplyHeartbeats at /tmp/factorio-poNeXW/src/Net/NetworkInputHandler.cpp:312
#9  0xc9e5d8 in update at /tmp/factorio-poNeXW/src/Net/NetworkInputHandler.cpp:204
#10 0x7f50947f1b45 in updateMultiplayerInputInternal at /tmp/factorio-poNeXW/src/Net/MultiplayerManager.cpp:783
#11 0x406a69 in updateMultiplayerInput at /tmp/factorio-poNeXW/src/Net/MultiplayerManager.cpp:756
  26.863 Error CrashHandler.cpp:106: Map tick at moment of crash: 4432183
  26.864 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Re: [0.13.14] Server crashes when player switches the quick bar

Posted: Fri Aug 05, 2016 7:59 pm
by NoPantsMcDance
Can confirm and is easily reproducible..

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
  24.507 Warning Logger.cpp:360: Symbols.size() == 19, usedSize == 13
#0  0x916b1d in logStacktrace at /tmp/factorio-poNeXW/src/Util/Logger.cpp:382
#1  0x5052ab in writeStackTrace at /tmp/factorio-poNeXW/src/Util/CrashHandler.cpp:105
#2  0x505524 in SignalHandler at /tmp/factorio-poNeXW/src/Util/CrashHandler.cpp:215
#3  0x7f79287e0cb0 in ?? at ??:0
#4  0x498559 in changeActiveQuickBar at /tmp/factorio-poNeXW/src/GameActionHandler.cpp:2457
#5  0x8708a9 in actionPerformed at /tmp/factorio-poNeXW/src/GameActionHandler.cpp:287 (discriminator 4)
#6  0x48935c in flushToListeners at /tmp/factorio-poNeXW/src/Input/InputHandler.cpp:51
#7  0x489428 in flushActions at /tmp/factorio-poNeXW/src/Input/InputHandler.cpp:44
#8  0xc088d3 in flushActions at /tmp/factorio-poNeXW/src/Net/NetworkInputHandler.hpp:67
#9  0xc25dbd in update at /tmp/factorio-poNeXW/src/Net/NetworkInputHandler.cpp:312
#10 0xc9e5d8 in updateMultiplayerInputInternal at /tmp/factorio-poNeXW/src/Net/MultiplayerManager.cpp:783
#11 0x7f79287cbf45 in updateMultiplayerInput at /tmp/factorio-poNeXW/src/Net/MultiplayerManager.cpp:756
#12 0x406a69 in gameUpdateStep at /tmp/factorio-poNeXW/src/MainLoop.cpp:673
  25.256 Warning Logger.cpp:360: Symbols.size() == 18, usedSize == 12
  25.256 Error CrashHandler.cpp:106: Map tick at moment of crash: 9972171
  25.256 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Re: [0.13.14] Server crashes when player switches the quick bar

Posted: Fri Aug 05, 2016 9:45 pm
by Oxyd
Well, that's just a completely silly mistake on my part, sorry about that. Fixed in 0.13.15.

Re: [0.13.14] Server crashes when player switches the quick bar

Posted: Sun Aug 07, 2016 5:02 am
by dryden
Thanks for posting the fix on a weekend! You guys are great

Re: [0.13.14] Server crashes when player switches the quick bar

Posted: Sun Aug 07, 2016 1:02 pm
by supernet2
So thats whats been crapping out my client, thanks for a speedy fix! Especially on the weekend!