[2.1.17] Crash (FluidBox.cpp:432: !this->buffer was not true)

Bugs which we just recently fixed in our development version and will reach you in the next release.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 550
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

[2.1.17] Crash (FluidBox.cpp:432: !this->buffer was not true)

Post by protocol_1903 »

I'm experiencing a weird CTD with editor mode and the mod I'm working on, particularly it's the "instant blueprint building" setting. I'm going to keep digging around with the cause on my end, I have a feeling it's trying to do fluid something with an entity that doesn't have a fluid segment, possibly a ghost or an entity with no connections.
  1. Load vanilla factorio 2.1.17 with the attached mods
  2. Load the attached save
  3. Enter editor mode and ensure "instant blueprint building" and "instant deconstruction" are enabled
  4. Pipette a pipe
  5. Ghost-place a pipe on an existing pipe with fluid
  6. CTD
Attachments
perel_1.2.3.zip
the library mod for parallel piping. the one on the portal has an issue that has been fixed but not published
(45.5 KiB) Downloaded 5 times
parallel-piping-2.zip
savefile
(800.45 KiB) Downloaded 5 times
factorio-current.log
(25.23 KiB) Downloaded 8 times
parallel-piping_1.1.0.zip
mod causing the issue
(165.42 KiB) Downloaded 5 times
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903

Buy me a coffee
Rseding91
Factorio Staff
Factorio Staff
Posts: 17497
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.17] Crash (FluidBox.cpp:432: !this->buffer was not true)

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 550
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: [2.1.17] Crash (FluidBox.cpp:432: !this->buffer was not true)

Post by protocol_1903 »

What was causing the issue? Was it attempting to set something fluid related on a ghost?
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903

Buy me a coffee
Rseding91
Factorio Staff
Factorio Staff
Posts: 17497
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.17] Crash (FluidBox.cpp:432: !this->buffer was not true)

Post by Rseding91 »

Yes. The new fluid functions didn’t reject adding fluid to ghosts.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved for the next release”