[raiguard][2.0.32] Crash loading save "FluidBuffer.cpp:136: volume >= ZERO_FLUID was not true"

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Xumm
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jan 26, 2025 6:13 am
Contact:

[raiguard][2.0.32] Crash loading save "FluidBuffer.cpp:136: volume >= ZERO_FLUID was not true"

Post by Xumm »

game version [2.0.32]
saved game not loading.
crush occurs at the stage running entity setup.
mods i use

AutoDeconstruct
BottleneckLite
flib
Fill4Me
helmod
Milestones
mining-patch-planner
RateCalculator

disabling mods doesn't help

link to save file
https://drive.google.com/file/d/1Xiuiu4 ... sp=sharing
autosaves are also broken.
Attachments
factorio-current.log
(11.78 KiB) Downloaded 17 times
factorio-dump-current.dmp
(1.05 MiB) Downloaded 12 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 704
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.32] Crash loading save "FluidBuffer.cpp:136: volume >= ZERO_FLUID was not true"

Post by raiguard »

Hi, I'm sorry for missing this for so long, it flew under my radar.

There is something really bizarre going on here - if I load your save file, exactly 0.00000005960464477539 is removed from the volume of one of your pipelines on aquilo, causing an ever-so-slight discrepancy between the expected and actual volumes of that segment, which blows up during migrations. The value saved to the file is correct - this subtraction happens during loading.

I have not yet figured out why this is happening, but I was able to edit your save file to add 0.00000005960464477539 extra to that segment's volume, which makes your file loadable again. Strangely, if I then save this file and load it again, it continues to work fine.

This ticket will remain open until I figure out the root cause.
Attachments
1.zip
(52.08 MiB) Downloaded 12 times
Don't forget, you're here forever.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 704
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.32] Crash loading save "FluidBuffer.cpp:136: volume >= ZERO_FLUID was not true"

Post by raiguard »

03-26-2025, 13-11-16.png
03-26-2025, 13-11-16.png (414.41 KiB) Viewed 78 times
The root cause is that this steam turbine on aquilo has one extra bit of volume saved. I am going to blame this on random memory corruption or a cosmic ray, because I don't see any other viable explanation for why the volume is exactly one bit off.

Here is a properly fixed save that fixes the volume of the turbine instead of adding extra volume to the segment.

Sorry it took so long, thank you for your patience!
Attachments
1-properfix.zip
(52.08 MiB) Downloaded 11 times
Don't forget, you're here forever.
Post Reply

Return to “1 / 0 magic”