Segfault in setHighlights - 0.13.9

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
bbrazil
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jul 26, 2016 9:47 pm
Contact:

Segfault in setHighlights - 0.13.9

Post by bbrazil »

Hi,

I've been playing a vanilla map with some friends online the past few days on 0.13.9 I am a client running 64bit Ubuntu 14.04. Just today when I logged in I got into a desync loop. When I restarted the game I was able to get in and play for a bit, but in a minute or two both I and another player desynced. This happened a few times.

Finally I got this stack trace and the game crashes:

Code: Select all

 484.436 Info MultiplayerManager.cpp:1861: maptick(9008106) crc after applying all ticks: 19060271
 484.436 Info MultiplayerManager.cpp:996: networkTick(26663262) mapTick(9008106) changing state from(DesyncedAligning) to(DesyncedAligned)
 484.587 Info MultiplayerManager.cpp:1143: networkTick(26663271) mapTick(9008106) received stateChanged peerID(0) oldState(InGameAligning) newState(InGameAligned)
 484.587 Info MultiplayerManager.cpp:1143: networkTick(26663271) mapTick(9008106) received stateChanged peerID(30) oldState(InGameAligning) newState(InGameAligned)
 484.587 Info MultiplayerManager.cpp:1143: networkTick(26663271) mapTick(9008106) received stateChanged peerID(30) oldState(InGameAligned) newState(InGameWaitingForOthers)
 484.587 Info MultiplayerManager.cpp:1143: networkTick(26663271) mapTick(9008106) received stateChanged peerID(32) oldState(DesyncedAligning) newState(DesyncedAligned)
 484.587 Info MultiplayerManager.cpp:1143: networkTick(26663271) mapTick(9008106) received stateChanged peerID(33) oldState(DesyncedAligning) newState(DesyncedAligned)
 484.587 Info MultiplayerManager.cpp:2073: NetworkTick(26663271) reconnecting after map desync.
 484.587 Info MultiplayerManager.cpp:2236: NetworkTick(26663271) MapTick(9008106) disconnecting player(3) from the user.
 484.587 Info MultiplayerManager.cpp:2236: NetworkTick(26663271) MapTick(9008106) disconnecting player(4) from the user.
 484.605 Info MultiplayerManager.cpp:996: networkTick(26663271) mapTick(9008106) changing state from(DesyncedAligned) to(DesyncedCreatingReport)
 484.724 Info MultiplayerManager.cpp:1143: networkTick(26663280) mapTick(9008106) received stateChanged peerID(32) oldState(DesyncedAligned) newState(DesyncedCreatingReport)
 484.724 Info MultiplayerManager.cpp:1143: networkTick(26663280) mapTick(9008106) received stateChanged peerID(33) oldState(DesyncedAligned) newState(DesyncedCreatingReport)
 486.077 Info MultiplayerManager.cpp:1143: networkTick(26663349) mapTick(9008106) received stateChanged peerID(33) oldState(DesyncedCreatingReport) newState(DesyncedWaitingForMap)
 486.094 Info MultiplayerManager.cpp:996: networkTick(26663351) mapTick(-1) changing state from(DesyncedCreatingReport) to(DesyncedWaitingForMap)
 486.107 Info NetworkInputHandler.cpp:771: mapTick(9008106) networkTick(26663351) disconnecting from player.
 486.407 Error CrashHandler.cpp:184: Received SIGSEGV
 487.571 Warning Logger.cpp:360: Symbols.size() == 18, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
 488.156 Warning Logger.cpp:360: Symbols.size() == 17, usedSize == 12
#0  0x4ffdab in writeStackTrace at /tmp/factorio-6zfNJY/src/Util/CrashHandler.cpp:84
#1  0x500024 in SignalHandler at /tmp/factorio-6zfNJY/src/Util/CrashHandler.cpp:189
#2  0x7faecb4fbcb0 in ?? at ??:0
#3  0x6d7096 in setHighlights at /tmp/factorio-6zfNJY/src/Gui/RecipeToolTip.cpp:38
#4  0xb1eb7d in _ZN13RecipeToolTipD4Ev at /tmp/factorio-6zfNJY/src/Gui/RecipeToolTip.cpp:67
#5  0xd07cba in _ZN13RecipeToolTipD4Ev at /tmp/factorio-6zfNJY/src/Gui/RecipeToolTip.cpp:70
#6  0x97c57e in agui::Gui::logic() at ??:?
#7  0xc12ccd in updateGui at /tmp/factorio-6zfNJY/src/GlobalContext.cpp:784
#8  0xc15ed4 in prepare at /tmp/factorio-6zfNJY/src/MainLoop.cpp:251
#9  0xc81275 in _M_init_functor at /usr/include/c++/5/functional:1787
#10 0x7faecb4e6f45 in _M_init_functor at /usr/include/c++/5/functional:1758
#11 0x40a459 in _ZNSt8functionIFvvEEC4ISt5_BindIFPFvP13ThreadBarrierPN5boost6chrono10time_pointINS7_12steady_clockENS7_8durationIlNS6_5ratioILl1ELl1000000000EEEEEEESF_PbbN8MainLoop9HeavyModeEES5_SF_SF_SG_bSI_EEvEET_ at /usr/include/c++/5/functional:2258
 488.156 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.
Loewchen
Global Moderator
Global Moderator
Posts: 9651
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Segfault in setHighlights - 0.13.9

Post by Loewchen »

Please upload:
  1. the complete log
  2. the desync report
bbrazil
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jul 26, 2016 9:47 pm
Contact:

Re: Segfault in setHighlights - 0.13.9

Post by bbrazil »

I did manage to get this stack trace to reproduce, however when I tried again under GDB I didn't have any luck. The log of this 2nd crash is attached.

The original desync is long gone, the most recent one is attached.
Attachments
factorio-previous.log
Log from 2nd time this crashed.
(31.19 KiB) Downloaded 72 times
Post Reply

Return to “Pending”