[2.1.7] Crash when mining drills without fluidboxes mine fluid resources

This subforum contains all the issues which we already resolved.
nullevoy
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Jul 22, 2025 11:43 pm
Contact:

[2.1.7] Crash when mining drills without fluidboxes mine fluid resources

Post by nullevoy »

download/file.php?mode=view&id=113023

While developing a mod, my game crashed as soon as a mining drill without fluidboxes mined my resource that has both item and fluid outputs. This does not happen when a fluidbox is present, and reading the stacktrace also points at it not finding a fluidbox and freaking out.
Crash can be reproduced consistently by placing an electric drill on the ore patch in the provided save.
screenshot
screenshot
06-24-2026, 15-09-33.png (482.17 KiB) Viewed 344 times
Stacktrace:

Code: Select all

Factorio 2.1.7 (build 86685, linux64, steam, space-age)

 236.064 Error CrashHandler.cpp:614: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (340): writeStacktrace
src/Util/Logger.cpp (385): logStacktrace
src/Util/CrashHandler.cpp (154): writeStackTrace
src/Util/CrashHandler.cpp (617): commonSignalHandler
src/Util/CrashHandler.cpp (625): SignalHandler
0x7f18b9c6228f
src/Fluid/FluidBox.cpp (1427): getFluidBuffer
src/Fluid/FluidBox.hpp (117): getFreeVolume
src/Fluid/FluidBox.cpp (485): takeFluid
src/Fluid/FluidCollector.cpp (27): transfer
src/Mining/MiningCollector.cpp (35): collect
src/Mining/MiningCollector.cpp (66): collect
src/Material/ProductPrototype.cpp (680): collect
src/Mining/MinableProperties.cpp (178): collect
src/Entity/ResourceEntity.cpp (269): mineMe
src/Entity/Entity.cpp (1141): mine
src/Entity/MiningDrill.cpp (639): performMining
src/Entity/MiningDrill.cpp (823): update
src/Surface/ActiveEntitiesOrder.hpp (138): update<MiningDrill>
src/Surface/ActiveEntitiesOrder.hpp (146): update
src/Surface/ActiveEntitiesList.hpp (13): update
src/Surface/Surface.cpp (2460): update
src/Map/Map.cpp (1330): updateEntities
src/Map/Map.cpp (1272): update
src/Game.cpp (226): update
src/Scenario/Scenario.cpp (1217): update
src/Scenario/Scenario.cpp (1129): updateStep
src/MainLoop.cpp (1442): gameUpdateStep
src/MainLoop.cpp (1236): gameUpdateLoop
/opt/gcc-16.1.0/lib/gcc/x86_64-pc-linux-gnu/16.1.0/../../../../include/c++/16.1.0/bits/std_function.h (581): operator()
src/Util/WorkerThread.cpp (70): loop
/tmp/gcc.jm3N0kuu/objdir/../gcc-16.1.0/libstdc++-v3/src/c++11/thread.cc (105): execute_native_thread_routine
start_thread
__GI___clone3
0xffffffffffffffff
Stack trace logging done
Attachments
pure-ores_0.1.0.zip
mod
(1.35 KiB) Downloaded 6 times
bugreport.zip
game save
(4.52 MiB) Downloaded 12 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 17037
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.7] Crash when mining drills without fluidboxes mine fluid resources

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.
Post Reply

Return to “Resolved Problems and Bugs”