Crash when trying to preview build (non existing fluidbox and fixed recipe)

Things that has been reported already before.
Post Reply
Hokome
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Mar 29, 2023 7:45 pm
Contact:

Crash when trying to preview build (non existing fluidbox and fixed recipe)

Post by Hokome »

The crash happens when I try to place an assembling machine which I forgot to put fluidboxes for, except it has a fixed recipe that outputs a fluid. I don't want to put the code of my mod on the forums just yet so if a developer would like to get the mod zipfile, you can contact me on Discord as hokome (I'm on the Factorio Discord).

Code: Select all

0.000 2024-06-13 14:51:45; Factorio 1.1.107 (build 62234, linux64, steam)
0.021 Operating system: Linux (Linuxmint 21.3)
...
Factorio crashed. Generating symbolized stacktrace, please wait ...
/tmp/factorio-build-ZPkTbZ/src/Util/Logger.cpp (336): Logger::writeStacktrace(FileWriteStream*, StackTraceInfo*)
/tmp/factorio-build-ZPkTbZ/src/Util/Logger.cpp (346): Logger::logStacktrace(StackTraceInfo*)
/tmp/factorio-build-ZPkTbZ/src/Util/Logging.cpp (101): Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .constprop.0]
/tmp/factorio-build-ZPkTbZ/src/Util/Logging.cpp (93): Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) [clone .constprop.0]
/tmp/factorio-build-ZPkTbZ/src/Fluid/FluidBoxManager.cpp (594): FluidBoxManager::addNormalFluidBoxesToLayout(std::vector<std::vector<FluidBoxPrototype const*, std::allocator<FluidBoxPrototype const*> >, std::allocator<std::vector<FluidBoxPrototype const*, std::allocator<FluidBoxPrototype const*> > > >&, std::vector<FluidBoxPrototype*, std::allocator<FluidBoxPrototype*> > const&, unsigned int)
/tmp/factorio-build-ZPkTbZ/src/Fluid/FluidBoxManager.cpp (592): FluidBoxManager::addNormalFluidBoxesToLayout(std::vector<std::vector<FluidBoxPrototype const*, std::allocator<FluidBoxPrototype const*> >, std::allocator<std::vector<FluidBoxPrototype const*, std::allocator<FluidBoxPrototype const*> > > >&, std::vector<FluidBoxPrototype*, std::allocator<FluidBoxPrototype*> > const&, unsigned int)
/tmp/factorio-build-ZPkTbZ/src/Fluid/FluidBoxManager.cpp (550): FluidBoxManager::buildRecipeLayout(Recipe const&) const
/tmp/factorio-build-ZPkTbZ/src/Entity/AssemblingMachine.cpp (595): AssemblingMachine::setupFluidBoxesForSimulation(Recipe const&)
/tmp/factorio-build-ZPkTbZ/src/Entity/Entity.cpp (365): Entity::runSetup(SetupData const&)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (841): BuildingRenderer::prepareEntityToBeBuilt(Entity*, Surface&, Player const*, BuildingModifier const*, Direction, Automated, BlueprintPreview, bool, FixPosition)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (875): BuildingRenderer::drawEntityToBeBuilt(Entity*, Surface&, Player const*, BuildingModifier const*, Direction, TooFar, NamedBool<GhostModeTag>, NamedBool<ForcedGhostModeTag>, NamedBool<CreatedByMovingTag>, NamedBool<BeltPowerReplaceTag>, DrawQueue&, Automated, std::vector<BoundingBox, std::allocator<BoundingBox> >*, std::function<void ()> const&, bool, bool, FixPosition, bool)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (748): BuildingRenderer::drawEntityToBeBuilt(GameView*, Player const*, EntityCreationParameters&, TooFar, NamedBool<GhostModeTag>, NamedBool<ForcedGhostModeTag>, NamedBool<CreatedByMovingTag>, NamedBool<BeltPowerReplaceTag>, DrawQueue&, Automated, bool, FixPosition)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (203): BuildingRenderer::prepareBuildingInGame(Player const*, MapPosition const&, DrawQueue&)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (117): BuildingRenderer::prepare(RenderParameters const&)
/tmp/factorio-build-ZPkTbZ/src/Graphics/BuildingRenderer.cpp (83): BuildingRenderer::prepare(RenderParameters const&)
/tmp/factorio-build-ZPkTbZ/src/Graphics/GameRenderer.cpp (158): GameRenderer::prepareJob(RenderParameters const&, std::vector<unsigned int, std::allocator<unsigned int> >&)
/tmp/factorio-build-ZPkTbZ/src/Graphics/GameRenderer.cpp (138): GameRenderer::prepare()
/tmp/factorio-build-ZPkTbZ/src/GameView.cpp (1278): GameView::prepareRender()
/tmp/factorio-build-ZPkTbZ/src/Game.cpp (444): Game::prepareRender()
/tmp/factorio-build-ZPkTbZ/src/MainLoop.cpp (1155): MainLoop::prepare()
/tmp/factorio-build-ZPkTbZ/src/MainLoop.cpp (715): MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode)
/tmp/factorio-build-ZPkTbZ/src/MainLoop.cpp (423): MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode)
/tmp/factorio-build-ZPkTbZ/src/Main.cpp (1277): main
../sysdeps/nptl/libc_start_call_main.h (58): __libc_start_call_main
../csu/libc-start.c (392): __libc_start_main_impl
_start
0xffffffffffffffff
Stack trace logging done
  18.210 Error FluidBoxManager.cpp:594: requestedCount <= prototypes.size() was not true
  18.210 Error CrashHandler.cpp:641: Received 6
Logger::writeStacktrace skipped.
  18.210 Error CrashHandler.cpp:195: Map tick at moment of crash: 604
  18.210 Error Util.cpp:100: 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.
  29.360 Info SystemUtil.cpp:878: Started /usr/bin/xdg-open; trampoline PID: 23004
  29.360 Uploading log file
  29.370 Info SystemUtil.cpp:878: Started /home/hokome/.steam/debian-installation/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 23006

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2647
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Crash when trying to preview build (non existing fluidbox and fixed recipe)

Post by boskid »

That is a duplicate of 105308

Post Reply

Return to “Duplicates”