Page 1 of 1

[Posila] [0.14.20] PVP crash

Posted: Fri Nov 18, 2016 6:35 pm
by studmuffin
This may just be an error in the scenario script. Chocolatetthunder took the dev's pvp map and joined some of our scenario mods to it. Something happened that caused a luaplyer error "LuaPlayer doesn't contain key pick_join_frame", which crashed the map. Upon stopping the server, there was another error:

Code: Select all

terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
sh: 1: addr2line: not found
11226.138 Warning Logger.cpp:365: Couldn't symbolize stacktrace:
Thus, uploading our log and save file here in case it's something the dev's would like to look in to.

Re: [0.14.20] PVP crash

Posted: Wed Nov 23, 2016 11:12 am
by posila
Hi, the lua error is caused by bug in your control.lua on line 426:

Code: Select all

          create_pick_join_gui(player)
It should have been

Code: Select all

          create_pick_join_gui(player.gui.center)
It crashed when the process was terminating, so it probably can wait for 0.15 (it might be related to 37577)
Symbolized stacktrace:

Code: Select all

/tmp/factorio-zAEdFb/src/Util/Logger.cpp:391
/tmp/factorio-zAEdFb/src/Util/CrashHandler.cpp:105
/tmp/factorio-zAEdFb/src/Util/CrashHandler.cpp:235
??:0
??:0
??:0
??:?
??:?
??:?
??:?
??:0
??:0
??:?
??:?
/usr/include/c++/5/mutex:139
/tmp/factorio-zAEdFb/src/Net/MatchingServer.cpp:135
/tmp/factorio-zAEdFb/src/Net/ServerGameUpdater.cpp:21
/tmp/factorio-zAEdFb/src/Net/ServerMultiplayerManager.cpp:147
/tmp/factorio-zAEdFb/src/Net/ServerMultiplayerManager.cpp:69
/tmp/factorio-zAEdFb/src/Net/ServerMultiplayerManager.cpp:77
/tmp/factorio-zAEdFb/src/GlobalContext.cpp:526
/tmp/factorio-zAEdFb/src/Main.cpp:532 (discriminator 1)
??:0
??:?

Re: [0.14.20] PVP crash

Posted: Wed Nov 23, 2016 4:56 pm
by studmuffin
ah, thank you for the reply. If I can recall correctly, I think we did finally find that lua typo. Glad to get a confirmation :)

We're definitely excited for 0.15! We applaud you all for the hard work!

Re: [0.14.20] PVP crash

Posted: Wed Nov 23, 2016 5:16 pm
by zackman0010
It wouldn't be related to the other linked bug report. That other report happened on our Enhanced Vanilla scenario (basically Vanilla gameplay with a few added features using scenario modding), while this report happened on our PvP scenario.

Re: [0.14.20] PVP crash

Posted: Wed Nov 23, 2016 7:49 pm
by posila
Ah, I didn't realize both reports were from studmuffin.

Similarity between them is crash in attempt to lock mutex after SIGINT.

Re: [Posila] [0.14.20] PVP crash

Posted: Fri Jun 30, 2017 3:34 pm
by Klonan
Has this or something similar happened at all in 0.15?

Re: [Posila] [0.14.20] PVP crash

Posted: Wed Jul 05, 2017 3:27 pm
by posila
This seems to happen inside std::atomic_load(), but I have no idea why. There were no reports about this issue from anyone else, so I'll put this to 1/0 Magic.