[0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Pi-C
Smart Inserter
Smart Inserter
Posts: 1742
Joined: Sun Oct 14, 2018 8:13 am
Contact:

[0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Post by Pi-C »

I changed the prototype names in Bio Industries and added a migration json script that contains:

Code: Select all

        "fluid":
        [
                ["liquid-air", "liquid_air"],
                ["bi-biomass", "bi_biomass"],
                ["bi-Bio-Fuel", "bi_Bio_Fuel"]
  	],
On loading a save file, I get this:

Code: Select all

 127.892 Loading map /home/pc/GOG_Games/Factorio/0.17/saves/_autosave2.zip: 12487069 bytes.
 127.918 Loading level.dat: 127570823 bytes.
 127.924 Info Scenario.cpp:187: Map version 0.17.79-0
 127.934 Info PrototypeMigrationList.cpp:61: Activating migration Bio_Industries/Bio_Industries_0.17.35.json
 138.739 Warning Logger.cpp:518: Symbols.size() == 21, usedSize == 12
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xa03db3, 0xa04529, 0xa1a6bf, 0xc5de20, 0xc5e008, 0xd2971c, 0xf92b3d, 0xfd451a, 0xfd6380, 0x19f52ff, 0x8fb7, 0
 146.173 Warning Logger.cpp:518: Symbols.size() == 16, usedSize == 11
#0  0x0000000000a04529 in Logging::flush() at /tmp/factorio-build-GDjutx/src/Util/Logging.cpp:69
#1  0x0000000000a1a6bf in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::string const&) at /tmp/factorio-build-GDjutx/src/Util/Logging.cpp:103
#2  0x0000000000c5de20 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-GDjutx/src/Util/Logging.cpp:93
#3  0x0000000000c5e008 in FluidBox::checkConsistency() const at /tmp/factorio-build-GDjutx/src/Fluid/FluidBox.cpp:592
#4  0x0000000000d2971c in FluidBox::countBlockedConnections() const at /tmp/factorio-build-GDjutx/src/Fluid/FluidBox.cpp:1826 (discriminator 2)
#5  0x0000000000f92b3d in FluidSystem::checkConsistency() const at /tmp/factorio-build-GDjutx/src/Fluid/FluidSystem.cpp:240 (discriminator 2)
#6  0x0000000000fd451a in FluidManager::checkConsistency() const at /tmp/factorio-build-GDjutx/src/Fluid/FluidManager.cpp:75
#7  0x0000000000fd6380 in Map::checkConsistency(ProgressObserver*) at /tmp/factorio-build-GDjutx/src/Map/Map.cpp:2095
#8  0x00000000019f52ff in Map::setupEntities(MapDeserialiser*, bool, ProgressObserver*) at /tmp/factorio-build-GDjutx/src/Map/Map.cpp:1161
#9  0x0000000000008fb7 in TimeUtil::CpuTimer::elapsed() const at /tmp/factorio-build-GDjutx/src/Util/TimeUtil.hpp:44
#10 (nil) in TimeUtil::CpuTimer::getSecondsPassed() const at /tmp/factorio-build-GDjutx/src/Util/TimeUtil.hpp:29
#11 (nil) in Scenario::loadFactory(Filesystem::Path const*, Filesystem::Path const&, ScenarioExecutionContext, LoadType, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, ProgressObserver*, bool, InputListener*) at /tmp/factorio-build-GDjutx/src/Scenario/Scenario.cpp:307
#12 0x0000000000777a01 in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*) at /tmp/factorio-build-GDjutx/src/Scenario/ParallelScenarioLoader.cpp:151
#13 (nil) in execute_native_thread_routine at blake2s.c:?
#14 (nil) in ?? at ??:0
#15 (nil) in ?? at ??:0
Stack trace logging done
 146.173 Error FluidBox.cpp:610: Fluid not compatible with this fluidbox's filter
Logger::writeStacktrace skipped.
 146.173 Error Util.cpp:97: 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.
Is that really a bug on Factorio's side, or did I do something stupidI shouldn't have done? :-)
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Pi-C
Smart Inserter
Smart Inserter
Posts: 1742
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: [0.17.79 + 0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Post by Pi-C »

Just had a chance to test with Factorio 0.18.3 -- same crash. Log file, save game and WIP-version of BI (not uploaded to the mod portal yet) are attached.
Attachments
Bio_Industries_0.18.01.zip
WIP version of BI
(7.25 MiB) Downloaded 53 times
Bio_Industries_test.zip
Save game
(11.91 MiB) Downloaded 57 times
factorio-current.log
(20.73 KiB) Downloaded 54 times
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3373
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Post by boskid »

When loading above save file with only given mod, it loads fine. Can you reproduce this issue without any other mods or provide save with with all required mods to reproduce?
Pi-C
Smart Inserter
Smart Inserter
Posts: 1742
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: [0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Post by Pi-C »

You should be able to reproduce it when you also activate Assembler Pipe Passthrough.

Basically, the trigger seems to be that APP blacklisted the entity "bi-bioreactor". I changed it's name to "bi_bioreactor", so it wasn't blacklisted anymore and APP tries to do with bio-reactors whatever APP does with assemblers. I guess this could lead to fluid mixing …

However, that's only the trigger. The real problem seems to be that Factorio crashes back to desktop/command line and doesn't just refuse to load the saved game.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3373
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.3] Crash with fluid migration: "Fluid not compatible with this fluidbox's filter"

Post by boskid »

Pi-C wrote: Wed Feb 05, 2020 8:32 am You should be able to reproduce it when you also activate Assembler Pipe Passthrough.

Code: Select all

Failed to load mods: Error while running setup for entity prototype "bi_bioreactor" (assembling-machine): Invalid fluid pipe connections: connections must all be at least 1 tile distance from each other.
assembling-machine fluidbox 2 connection 1 ends up being the same tile as assembling-machine fluidbox 2 connection 2.

Mods to be disabled:
• Bio_Industries
• assembler-pipe-passthrough
Post Reply

Return to “Pending”