[Posila] [0.14.20] PVP crash

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
studmuffin
Inserter
Inserter
Posts: 44
Joined: Fri Apr 01, 2016 4:41 pm
Contact:

[Posila] [0.14.20] PVP crash

Post 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.
Attachments
_autosave1.zip
Game Save
(4.69 MiB) Downloaded 120 times
factorio-current.log
Log File
(30.09 KiB) Downloaded 112 times
posila
Factorio Staff
Factorio Staff
Posts: 5353
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.14.20] PVP crash

Post 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
??:?
studmuffin
Inserter
Inserter
Posts: 44
Joined: Fri Apr 01, 2016 4:41 pm
Contact:

Re: [0.14.20] PVP crash

Post 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!
zackman0010
Inserter
Inserter
Posts: 36
Joined: Wed May 18, 2016 8:34 pm
Contact:

Re: [0.14.20] PVP crash

Post 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.
posila
Factorio Staff
Factorio Staff
Posts: 5353
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.14.20] PVP crash

Post by posila »

Ah, I didn't realize both reports were from studmuffin.

Similarity between them is crash in attempt to lock mutex after SIGINT.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5267
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Posila] [0.14.20] PVP crash

Post by Klonan »

Has this or something similar happened at all in 0.15?
posila
Factorio Staff
Factorio Staff
Posts: 5353
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Posila] [0.14.20] PVP crash

Post 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.
Post Reply

Return to “1 / 0 magic”