Page 1 of 1

[0.17.31] crash to desktop Lab::checkIngredients()

Posted: Sat Apr 20, 2019 1:15 am
by dorfl
No clue whether I did something specific or unusual to cause this. No recurrence yet after loading last autosave in .31, or after updating to .32.

Code: Select all

2732.106 Info AppManagerStates.cpp:1747: Saving finished
3248.101 Error CrashHandler.cpp:564: Received SIGSEGV
3251.785 Warning Logger.cpp:503: Symbols.size() == 28, usedSize == 19
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0x9ec075, 0xb762f1, 0xb7648e, 0xb764a9, 0x3ef20, 0x5fdac8, 0xad3516, 0x6cc51d, 0x94d5e5, 0xebdd1f, 0xf087b5, 0xf08c5d, 0xf08fb7, 0xf37c64, 0xf38250, 0xb0f551, 0x1826e9f, 0x76db, 0
3255.272 Warning Logger.cpp:503: Symbols.size() == 23, usedSize == 18
#0  0x0000000000b762f1 in GlobalContext::getMap() at /tmp/factorio-build-u8lWyt/src/GlobalContext.cpp:1793
#1  0x0000000000b7648e in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-u8lWyt/src/Util/CrashHandler.cpp:176
#2  0x0000000000b764a9 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-u8lWyt/src/Util/CrashHandler.cpp:567
#3  0x000000000003ef20 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-u8lWyt/src/Util/CrashHandler.cpp:581
#4  0x00000000005fdac8 in ?? at ??:0
#5  0x0000000000ad3516 in Lab::checkIngredients() const at /tmp/factorio-build-u8lWyt/src/Entity/Lab.cpp:218
#6  0x00000000006cc51d in Lab::update() at /tmp/factorio-build-u8lWyt/src/Entity/Lab.cpp:230
#7  0x000000000094d5e5 in Chunk::updateActiveEntities(IntrusiveList<UpdatableEntity, void, false>&) at /tmp/factorio-build-u8lWyt/src/Surface/Chunk.cpp:567
#8  0x0000000000ebdd1f in Chunk::isConditionallyActive(unsigned int) const at /tmp/factorio-build-u8lWyt/src/Surface/Chunk.cpp:935
#9  0x0000000000f087b5 in Chunk::updateEntities(unsigned int) at /tmp/factorio-build-u8lWyt/src/Surface/Chunk.cpp:616
#10 0x0000000000f08c5d in Surface::update() at /tmp/factorio-build-u8lWyt/src/Surface/Surface.cpp:1373
#11 0x0000000000f08fb7 in Map::updateEntities() at /tmp/factorio-build-u8lWyt/src/Map/Map.cpp:1461 (discriminator 2)
#12 0x0000000000f37c64 in Map::update() at /tmp/factorio-build-u8lWyt/src/Map/Map.cpp:1420
#13 0x0000000000f38250 in Game::update() at /tmp/factorio-build-u8lWyt/src/Game.cpp:195
#14 0x0000000000b0f551 in Scenario::update() at /tmp/factorio-build-u8lWyt/src/Scenario/Scenario.cpp:1166
#15 0x0000000001826e9f in Scenario::updateStep() at /tmp/factorio-build-u8lWyt/src/Scenario/Scenario.cpp:1063
#16 0x00000000000076db in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-u8lWyt/src/MainLoop.cpp:1149
#17 (nil) in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-u8lWyt/src/MainLoop.cpp:1015
#18 (nil) in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/8/bits/std_function.h:495
#19 0x412e848000000000 in WorkerThread::loop() at /tmp/factorio-build-u8lWyt/src/Util/WorkerThread.cpp:42
#20 0x41bdcd6500000000 in execute_native_thread_routine at blake2s.c:?
#21 0x4103cbff2f50b6d9 in ?? at ??:0
#22 0x3fc4c22e0946b99a in ?? at ??:0
Stack trace logging done
factorio-current.log
(20.24 KiB) Downloaded 73 times

Re: [0.17.31] crash to desktop Lab::checkIngredients()

Posted: Wed Apr 24, 2019 4:25 am
by Rseding91
Thanks for the report. Without a way to reproduce this crash there's nothing I can do. It crashed in a place that I've never seen it crash before and the surrounding code doesn't look suspect.