Page 1 of 1

[0.15.4] crash on setting signal for decider combinator

Posted: Fri May 26, 2017 12:44 pm
by FuzzCat927
Was using sandbox custom scenario, if that helps.
Also using mods:
  • Fabrication
  • Factorissimo2
If this isn't a problem with vanilla factorio, it's one of those mods.

Re: [0.15.4] crash on setting signal for decider combinator

Posted: Fri May 26, 2017 1:44 pm
by Nefarious Zhen
I'm having this issue in Vanilla 0.15.14.

I can't seem to reliably reproduce it.

When I can reproduce it's when:
1) place decider combinator down
2) connect red-in from one network
3) connect green-out to another network
4) set signals

It crashes when selecting the tab. It appears to be more likely to crash when selecting a tab that has a signal that is already on that input/output network.

Stack trace does not appear super helpful:
88.726 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0 0x000000010095bad2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:421)
#1 0x000000010094b8fd in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:105)
#2 0x000000010094b88e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:237)
#3 0x00007fffab68ab3a in 0x00007fffab68ab3a
#4 0x0000000000000024 in 0x00000024 (in factorio)
#5 0x0000000100cc5337 in agui::Gui::handleMouseUp(agui::MouseInput const&) (in factorio) + 503
#6 0x0000000100cc697e in agui::Gui::_dispatchMouseEvents() (in factorio) + 382
#7 0x0000000100cc6566 in agui::Gui::logic() (in factorio) + 38
#8 0x0000000100388fb6 in GlobalContext::updateGui() (in factorio) (GlobalContext.cpp:993)
#9 0x00000001006f18ec in MainLoop::processAllegroEvent(ALLEGRO_EVENT&, bool) (in factorio) (MainLoop.cpp:587)
#10 0x00000001006efd31 in MainLoop::processAllegroEvents(bool) (in factorio) (MainLoop.cpp:463)
#11 0x00000001006f01b1 in MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:388)
#12 0x00000001006ebbae in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, bool, std::__1::function<void ()>, boost::filesystem::path const&, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:236)
#13 0x00000001006e6153 in _al_mangled_main (in factorio) (Main.cpp:973)
#14 0x0000000100dc5ad7 in +[AllegroAppDelegate app_main:] (in factorio) (osx_app_delegate.m:229)
#15 0x00007fff9773abcd in 0x00007fff9773abcd
#16 0x00007fffab6949af in 0x00007fffab6949af
#17 0x00007fffab6948fb in 0x00007fffab6948fb
#18 0x00007fffab694101 in 0x00007fffab694101
97.156 Error CrashHandler.cpp:106: Map tick at moment of crash: 18924220

Re: [0.15.4] crash on setting signal for decider combinator

Posted: Fri May 26, 2017 2:09 pm
by tehfreek
Getting a nearly identical crash when selecting signals for a blueprint:

Code: Select all

 109.438 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
 110.214 Warning Logger.cpp:396: Symbols.size() == 17, usedSize == 15
#0  0x0000000000aa99dd in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-NrTOjP/src/Util/Logger.cpp:421
#1  0x00000000006f5830 in CrashHandler::writeStackTrace() at /tmp/factorio-NrTOjP/src/Util/CrashHandler.cpp:105
#2  0x00000000006f5ab4 in CrashHandler::SignalHandler(int) at /tmp/factorio-NrTOjP/src/Util/CrashHandler.cpp:237
#3  0x00007fdedab51990 in ?? at ??:0
#4  0x0000000000f4f9c9 in agui::Widget::dispatchUserConfirmed() at ??:?
#5  0x0000000000f5a8f9 in agui::Gui::handleMouseUp(agui::MouseInput const&) [clone .part.94] [clone .constprop.106] at Gui.cpp:?
#6  0x0000000000f5b5cf in agui::Gui::_dispatchMouseEvents() at ??:?
#7  0x0000000000f5b752 in agui::Gui::logic() at ??:?
#8  0x0000000000e35e5c in GlobalContext::updateGui() [clone .isra.106325] at /tmp/factorio-NrTOjP/src/GlobalContext.cpp:993
#9  0x0000000000e53e4b in processAllegroEvent at /tmp/factorio-NrTOjP/src/MainLoop.cpp:586
#10 0x0000000000e54c9c in processAllegroEvents at /tmp/factorio-NrTOjP/src/MainLoop.cpp:463
#11 0x0000000000e58ec0 in MainLoop::prePrepare() at /tmp/factorio-NrTOjP/src/MainLoop.cpp:315
#12 0x0000000000ed0d5c in mainLoopStep at /tmp/factorio-NrTOjP/src/MainLoop.cpp:388
#13 0x00007fdedab3c401 in run at /tmp/factorio-NrTOjP/src/MainLoop.cpp:236
#14 0x000000000040b269 in main at /tmp/factorio-NrTOjP/src/Main.cpp:980
 110.918 Warning Logger.cpp:396: Symbols.size() == 16, usedSize == 14
 110.919 Error CrashHandler.cpp:106: Map tick at moment of crash: 123700

Re: [0.15.4] crash on setting signal for decider combinator

Posted: Fri May 26, 2017 2:24 pm
by kovarex
Fixed for 0.15.15

Re: [0.15.4] crash on setting signal for decider combinator

Posted: Fri May 26, 2017 7:52 pm
by tehfreek
Problem persists in 0.15.15 in a fresh freeplay game:

Code: Select all

  24.004 Factorio initialised
  39.646 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1495828177; records:
  39.679 Loading Level.dat: 1031471 bytes.
  39.679 Info Scenario.cpp:134: Map version 0.15.15-1
  39.707 Info BlueprintLibrary.cpp:190: Loaded library shelves:
  39.707 Info BlueprintLibrary.cpp:679: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1495828174; records:
  39.708 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1495828177; records:
  39.709 Checksum for script /home/ignacio/.factorio/temp/currently-playing/control.lua: 282129324
  57.140 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
  57.887 Warning Logger.cpp:396: Symbols.size() == 17, usedSize == 15
#0  0x0000000000aa7afd in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-nJzwxA/src/Util/Logger.cpp:421
#1  0x00000000006fac40 in CrashHandler::writeStackTrace() at /tmp/factorio-nJzwxA/src/Util/CrashHandler.cpp:105
#2  0x00000000006faec4 in CrashHandler::SignalHandler(int) at /tmp/factorio-nJzwxA/src/Util/CrashHandler.cpp:237
#3  0x00007f2b94030990 in ?? at ??:0
#4  0x0000000000f50569 in agui::Widget::dispatchUserConfirmed() at ??:?
#5  0x0000000000f5b4a9 in agui::Gui::handleMouseUp(agui::MouseInput const&) [clone .part.94] [clone .constprop.106] at Gui.cpp:?
#6  0x0000000000f5c17f in agui::Gui::_dispatchMouseEvents() at ??:?
#7  0x0000000000f5c302 in agui::Gui::logic() at ??:?
#8  0x0000000000e369d4 in GlobalContext::updateGui() [clone .isra.106332] at /tmp/factorio-nJzwxA/src/GlobalContext.cpp:993
#9  0x0000000000e5493b in processAllegroEvent at /tmp/factorio-nJzwxA/src/MainLoop.cpp:586
#10 0x0000000000e5578c in processAllegroEvents at /tmp/factorio-nJzwxA/src/MainLoop.cpp:463
#11 0x0000000000e599b0 in MainLoop::prePrepare() at /tmp/factorio-nJzwxA/src/MainLoop.cpp:315
#12 0x0000000000ed18fc in mainLoopStep at /tmp/factorio-nJzwxA/src/MainLoop.cpp:388
#13 0x00007f2b9401b401 in run at /tmp/factorio-nJzwxA/src/MainLoop.cpp:236
#14 0x000000000040b269 in main at /tmp/factorio-nJzwxA/src/Main.cpp:980
  58.588 Warning Logger.cpp:396: Symbols.size() == 16, usedSize == 14
  58.588 Error CrashHandler.cpp:106: Map tick at moment of crash: 931

Re: [0.15.4] crash on setting signal for decider combinator

Posted: Sat May 27, 2017 3:51 pm
by posila
Thanks for the report.
It should be fixed in 0.15.16