[0.17.68] Crash on Load Game probably from Fluid-Powered Boilers

Things that has been reported already before.
Post Reply
Adamo
Filter Inserter
Filter Inserter
Posts: 479
Joined: Sat May 24, 2014 7:00 am
Contact:

[0.17.68] Crash on Load Game probably from Fluid-Powered Boilers

Post by Adamo »

Using latest version, 0.17.68. Happens on linux client and headless server.

Upon loading a similar saved game either through the client or headless server, the program crashes with the following stacktrace:

Code: Select all

Raw stacktrace: 0x9ec431, 0xbcacfd, 0xbcb088, 0xbcb0e9, 0x3ef20, 0x47c950, 0xb84e65, 0xb84f61, 0xd289c7, 0xf59145, 0xf9b386, 0xf9d1d0, 0x1984a7f, 0x76db, 0 104.543 Warning Logger.cpp:518: Symbols.size() == 19, usedSize == 14
#0  0x0000000000bcacfd in GlobalContext::getMap() at /tmp/factorio-build-vz0p1m/src/GlobalContext.cpp:1868
#1  0x0000000000bcb088 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-vz0p1m/src/Util/CrashHandler.cpp:188
#2  0x0000000000bcb0e9 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-vz0p1m/src/Util/CrashHandler.cpp:606
#3  0x000000000003ef20 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-vz0p1m/src/Util/CrashHandler.cpp:620
#4  0x000000000047c950 in ?? at ??:0
#5  0x0000000000b84e65 in FluidBox::getSystemFluidID() const at /tmp/factorio-build-vz0p1m/src/Fluid/FluidBox.cpp:1909
#6  0x0000000000b84f61 in FluidBox::updateBlockedUndergroundConnections() at /tmp/factorio-build-vz0p1m/src/Fluid/FluidBox.cpp:1695
#7  0x0000000000d289c7 in FluidSystem::updateBlockedUndergroundConnections() at /tmp/factorio-build-vz0p1m/src/Fluid/FluidSystem.cpp:435
#8  0x0000000000f59145 in FluidManager::checkBlockedConnections(bool) at /tmp/factorio-build-vz0p1m/src/Fluid/FluidManager.cpp:594 (discriminator 5)
#9  0x0000000000f9b386 in std::vector<Entity*, std::allocator<Entity*> >::~vector() at /usr/include/c++/8/bits/stl_vector.h:567
#10 0x0000000000f9d1d0 in FluidManager::checkFluidMixing() at /tmp/factorio-build-vz0p1m/src/Fluid/FluidManager.cpp:397
#11 0x0000000001984a7f in Map::setupEntities(MapDeserialiser*, bool, ProgressObserver*) at /tmp/factorio-build-vz0p1m/src/Map/Map.cpp:994
#12 0x00000000000076db in TimeUtil::CpuTimer::elapsed() const at /tmp/factorio-build-vz0p1m/src/Util/TimeUtil.hpp:44
#13 (nil) in TimeUtil::CpuTimer::getSecondsPassed() const at /tmp/factorio-build-vz0p1m/src/Util/TimeUtil.hpp:29
#14 (nil) in Scenario::loadFactory(Filesystem::Path const*, Filesystem::Path const&, ScenarioExecutionContext, LoadType, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, ProgressObserver*, bool, InputListener*) at /tmp/factorio-build-vz0p1m/src/Scenario/Scenario.cpp:306
#15 0x00007fc967748130 in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*) at /tmp/factorio-build-vz0p1m/src/Scenario/ParallelScenarioLoader.cpp:151
#16 0x00007fc9677481d0 in execute_native_thread_routine at tmp14Rce.fake.c:?
#17 0x00007fc967748188 in ?? at ??:0
#18 0xd002619d86bb7700 in ?? at ??:0
Stack trace logging done
We make heavy use of fluid-powered boilers, and the most major change to the game before coming on this problem was adding a large boiler complex. I've seen a similar error when removing the gas boiler mod from the client, then trying to load a game that is currently using a boiler. I've been meaning to file a bug report on that. So my thinking is that we're seeing a bug related to the heavy use of fluid-powered boilers.

Here is a saved game file. The entire mod list is in the log file, of course, but the removal bug is repeatable just using the gas-boiler mod I published on the mod portal, and I suspect these two bugs are related.

I'm having trouble uploading the saved game file. Will update the post momentarily once I figure something out.
Update: the saved game file is too large to attach, I think. I believe the large size is from using the mod that completely fills the map with trees (We wanted to try something different, OK? :D). So I posted it for download here: http://shadydealings.net/fact/200_backup.zip

Update 2: I just realized I had also changed the size of the pipe meter in that mod's startup settings. One of these was connected either directly or indirectly to the boilers, and so it's possible this is related. I'm testing now to see if changing it back to the old value prevents the crash.

Update 3: The pipe meter size was set to 1 when the game was saved. I had set them to 10 before loading the map in the instance associated with the included log file. Resetting the pipe size to 1 and then attempting to load the game did not fix the issue: the game still crashes upon map load. Removing the pipe meter and gas-boiler mods did not prevent the crash, either.
Attachments
factorio-current.log
(219.23 KiB) Downloaded 63 times

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [0.17.68] Crash on Load Game probably from Fluid-Powered Boilers

Post by Dominik »

Hi, this is quite certainly a duplicate of 75552. It should work in the next version. Sorry for the trouble.

Adamo
Filter Inserter
Filter Inserter
Posts: 479
Joined: Sat May 24, 2014 7:00 am
Contact:

Re: [0.17.68] Crash on Load Game probably from Fluid-Powered Boilers

Post by Adamo »

Dominik wrote:
Fri Sep 13, 2019 2:26 pm
Hi, this is quite certainly a duplicate of 75552. It should work in the next version. Sorry for the trouble.
OK, thanks, Dominik. You can see how I would have no clue that these are related. :)

Post Reply

Return to “Duplicates”