Page 1 of 1

[raiguard][2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 5:13 pm
by sanakan
After updating to the latest experimental version released today, the game crashes shortly after loading my savegame (after 10 to 15 seconds or so). I can move for a bit before the game freezes.

The freeze/crash occurs on this particular save, a vanilla Space Age game. A backup savegame from a few days ago works fine, as does starting a new game or using a savegame from another, previous Space Age run. I conclude that it's something in that particular savegame.

Stacktrace

Excerpt from the log:

Code: Select all

  37.682 Loading level.dat: 91383546 bytes.
  37.682 Info Scenario.cpp:153: Map version 2.0.66-1
  38.663 Loading blueprint storage: Local timestamp 1758309812, Cloud timestamp 1758309811
  39.060 Loading script.dat: 1222 bytes.
  39.063 Checksum for script __level__/control.lua: 2722821277
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/Logging.cpp (59): logStackTrace
src/Util/Logging.cpp (107): logAndAbortOrThrow
src/Util/Logging.cpp (96): logAndAbortOrThrow
src/Util/ReleaseAssert.cpp (7): ReleaseAssertFailed
src/Fluid/FluidBox.cpp (384): checkConsistency
src/Entity/Entity.cpp (1588): checkConsistency
src/Entity/EntityWithHealth.cpp (145): checkConsistency
src/Entity/EntityWithOwner.cpp (356): checkConsistency
src/Entity/CraftingMachine.cpp (154): checkConsistency
src/Entity/AssemblingMachine.cpp (96): checkConsistency
src/Map/ConsistencyScraper.cpp (68): step
src/Map/ConsistencyScraper.cpp (39): step
src/Map/Map.cpp (1263): update
src/Game.cpp (189): update
src/Scenario/Scenario.cpp (1220): update
src/Scenario/Scenario.cpp (1133): updateStep
src/MainLoop.cpp (1476): gameUpdateStep
src/MainLoop.cpp (1270): gameUpdateLoop
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/__functional/function.h (510): operator()
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/__functional/function.h (1156): operator()
src/Util/WorkerThread.cpp (70): loop
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/__functional/invoke.h (359): __invoke<void (WorkerThread::*)(), WorkerThread *, void>
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/thread (282): __thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (WorkerThread::*)(), WorkerThread *, 2UL>
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/thread (293): __thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (WorkerThread::*)(), WorkerThread *> >
0x18045ef93
Stack trace logging done
  55.268 Error FluidBox.cpp:384: !this->segmentIntermediateFluid was not true
  55.268 Error CrashHandler.cpp:643: Received 6
Logger::writeStacktrace skipped.
  55.268 Info ConsistencyScraper.cpp:49: random check: surface aquilo, chunk [1, 0], entity [name=cryogenic-plant, type=assembling-machine(AssemblingMachine), position={37.500, -0.500}, direction=North, force=player, surface=aquilo, setup=true, owned-by-ghost=false, to-be-deconstructed=false, to-be-upgraded=false, simulation=false]
  55.268 Error CrashHandler.cpp:190: Map tick at moment of crash: 30688051
  55.268 Uploading log file
  55.366 Info SystemUtil.cpp:837: Started /Users/sanakan/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 77245
  55.366 Error Util.cpp:95: 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.


Additional Information
  • I'm running on MacOS, Apple M1 Max
  • Vanilla Space Age game, without additional mods

Re: [2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 5:18 pm
by eugenekay
sanakan wrote: Mon Sep 22, 2025 5:13 pm

Code: Select all

  55.268 Info ConsistencyScraper.cpp:49: random check: surface aquilo, chunk [1, 0], entity [name=cryogenic-plant, type=assembling-machine(AssemblingMachine), position={37.500, -0.500}, direction=North, force=player, surface=aquilo, setup=true, owned-by-ghost=false, to-be-deconstructed=false, to-be-upgraded=false, simulation=false]
Version 2.0.67 Changelog includes:
FactorioBot wrote: Mon Sep 22, 2025 3:09 pm [*]Fixed that fluid could pass through frozen machines. (129185)
This seems like it is related to a recent change to Fluidboxes, and handling of Frozen machines on Aquilo. As a workaround, you can try loading the Savegame in 2.0.66, and Deconstruct the machine at the Position given in the Log. Then re-load it in 2.0.67.

Good Luck!

Re: [2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 5:24 pm
by sanakan
Now that you mention it.. I remember that Aquilo froze over, which was why I shut down the game yesterday :D
In the older save I mentioned Aquilo was still up and running (and warm). So it's most likely related to that.

Re: [raiguard][2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 7:26 pm
by raiguard
Thanks for the report, this has been fixed for 2.0.68.

Days since I broke production: 0.

Re: [raiguard][2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 7:51 pm
by sanakan
You're a machine for fixing it this fast, raiguard! Thank you very much. I hope you're not in CEST, because it's way too late in the evening already.
Days since I broke production: 0.
Experimental does not count (I hope) :)

Re: [raiguard][2.0.67] Crash loading save "FluidBox.cpp:384: !this->segmentIntermediateFluid was not true"

Posted: Mon Sep 22, 2025 8:03 pm
by eugenekay
sanakan wrote: Mon Sep 22, 2025 7:51 pmI hope you're not in CEST, because it's way too late in the evening already.
According to the Team Biographies raiguard is based in the United States.