[Dominik] [0.17.69] Crash on save when calling FluidBox::getFluidManager

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

[Dominik] [0.17.69] Crash on save when calling FluidBox::getFluidManager

Post by terdol »

Hey,

this is vanilla game, linux system (ubuntu 18.04), newest version, save has 32h.

I have had this problem before (multiple times), in heavily modded game, but it went away with 0.17.69 in that other save.

Thread for crashes from other save is here: viewtopic.php?f=29&t=75793

Code: Select all

   0.000 2019-09-30 14:00:23; Factorio 0.17.69 (build 47194, linux64, steam)
   0.054 Operating system: Linux (Ubuntu 18.04)
   0.054 Program arguments: "/home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.054 Read data path: /home/tp/.steam/steam/steamapps/common/Factorio/data
   0.054 Write data path: /home/tp/.factorio [310339/419432MB]
   0.054 Binaries path: /home/tp/.steam/steam/steamapps/common/Factorio/bin
   0.065 System info: [CPU: AMD Ryzen 5 2600X Six-Core Processor, 12 cores, RAM: 32156 MB]
   0.065 Environment: DISPLAY=:1 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=ubuntu XDG_SESSION_DESKTOP=ubuntu XDG_CURRENT_DESKTOP=ubuntu:GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.065 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.224 Available displays: 2
   0.224  [0]: SyncMaster 22" - {[0,30], 1680x1050, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.224  [1]: BenQ GW2255 22" - {[1680,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.224 Failed to get primary display index, defaulting to 0.
   0.455 Initialised OpenGL:[0] GeForce GTX 1060 6GB/PCIe/SSE2; driver: 3.3.0 NVIDIA 410.104
   0.455   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.455   [Version] 3.3
   0.455 Graphics settings preset: very-high
   0.455   Dedicated video memory size 6144 MB
   0.470 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.470                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.668 Info ModManager.cpp:241: Found duplicate mod factoryplanner, using higher version (0.17.52 > 0.17.50).
   0.783 Loading mod core 0.0.0 (data.lua)
   0.875 Loading mod base 0.17.69 (data.lua)
   1.065 Loading mod base 0.17.69 (data-updates.lua)
   1.167 Checksum for core: 2087614386
   1.167 Checksum of base: 1061071205
   1.318 Prototype list checksum: 3040646442
   1.341 Loading sounds...
   1.363 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.363 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1569841758
   1.482 Initial atlas bitmap size is 16384
   1.501 Created atlas bitmap 16384x16380 [none]
   1.504 Created atlas bitmap 16384x11616 [none]
   1.504 Created atlas bitmap 8192x3872 [decal]
   1.505 Created atlas bitmap 16384x4320 [low-object, linear-minification]
   1.505 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.506 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   1.506 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.506 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.506 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.506 Created atlas bitmap 8192x1632 [alpha-mask]
   1.508 Created atlas bitmap 16384x12772 [shadow, linear-magnification, alpha-mask]
   1.508 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.516 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.852 Parallel Sprite Loader initialized (threads: 11)
   9.234 Sprites loaded
   9.242 Generated mipmaps (4) for atlas [3] of size 16384x4320   
   9.244 Generated mipmaps (3) for atlas [4] of size 8192x3744   
   9.252 Generated mipmaps (3) for atlas [5] of size 16384x7168   
   9.253 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   9.261 Generated mipmaps (5) for atlas [7] of size 4096x1744   
   9.263 Generated mipmaps (3) for atlas [11] of size 8192x2352   
   9.268 Custom mipmaps uploaded.
   9.421 Factorio initialised
  24.583 Loading map /home/tp/.factorio/saves/_autosave1.zip: 11003543 bytes.
  24.596 Loading level.dat: 31203365 bytes.
  24.604 Info Scenario.cpp:187: Map version 0.17.69-1
  25.314 Loading script.dat: 339 bytes.
  25.316 Checksum for script /home/tp/.factorio/temp/currently-playing/control.lua: 4051211387
  25.319 Warning BlueprintShelf.cpp:843: Record 126 is a duplicate of 115: Removing
 325.835 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
 326.140 Time travel logging:
  25.319 Popped blueprint record (player-index: 0, ID: 126) from book (player-index: 0, ID: 129)
 326.140 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb4a658, 0xd15b8d, 0xbd97ed, 0xbd9b5d, 0xbd9bb9, 0x3ef20, 0xc4a502, 0xc4a750, 0xc4aa8c, 0xc4acdb, 0xc4ae63, 0xd770cf, 0xd7856c, 0xe613a3, 0xf376f4, 0x198340f, 0x76db, 0
 330.257 Warning Logger.cpp:518: Symbols.size() == 27, usedSize == 17
#0  0x0000000000d15b8d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000bd97ed in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000bd9b5d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000bd9bb9 in Logger::flush() at /tmp/factorio-build-V9E2T9/src/Util/Logger.cpp:558
#4  0x000000000003ef20 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-V9E2T9/src/Util/Logger.cpp:544
#5  0x0000000000c4a502 in GlobalContext::getMap() at /tmp/factorio-build-V9E2T9/src/GlobalContext.cpp:1868
#6  0x0000000000c4a750 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:188
#7  0x0000000000c4aa8c in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:606
#8  0x0000000000c4acdb in CrashHandler::SignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:620
#9  0x0000000000c4ae63 in ?? at ??:0
#10 0x0000000000d770cf in FluidBox::getFluidManager() const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidBox.cpp:1949
#11 0x0000000000d7856c in FluidBox::saveTarget(MapSerialiser&) const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidBox.cpp:1092
#12 0x0000000000e613a3 in SerialiserHelper<MapSerialiser>::Saver<unsigned char, void>::save(MapSerialiser&, unsigned char const&) at /tmp/factorio-build-V9E2T9/src/Util/SerialiserHelper.hpp:65
#13 0x0000000000f376f4 in MapSerialiser& MapSerialiser::operator<< <unsigned char>(unsigned char const&) at /tmp/factorio-build-V9E2T9/src/Map/MapSerialiser.hpp:43
#14 0x000000000198340f in FluidBox::PipeConnection::save(MapSerialiser&) const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidBox.cpp:91
#15 0x00000000000076db in FluidBox::save(MapSerialiser&) const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidBox.cpp:1048 (discriminator 3)
#16 (nil) in FluidSystem::save(MapSerialiser&) const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidSystem.cpp:117 (discriminator 2)
#17 (nil) in SerialiserHelper<MapSerialiser>::Saver<FluidSystem, void>::save(MapSerialiser&, FluidSystem const&) at /tmp/factorio-build-V9E2T9/src/Util/SerialiserHelper.hpp:44 (discriminator 2)
#18 0x000000000000006a in MapSerialiser& MapSerialiser::operator<< <FluidSystem>(FluidSystem const&) at /tmp/factorio-build-V9E2T9/src/Map/MapSerialiser.hpp:43 (discriminator 2)
#19 0x00007f52a800ef90 in FluidManager::save(MapSerialiser&) const at /tmp/factorio-build-V9E2T9/src/Fluid/FluidManager.cpp:66 (discriminator 2)
#20 0x2834ed5dc6611700 in Map::save(MapSerialiser&, ProgressObserver*) const at /tmp/factorio-build-V9E2T9/src/Map/Map.cpp:1328
#21 0x000000000000006a in Scenario::saveMap(SaveType, PackageWriter&, TargetSerialiser&, ProgressObserver*, bool&) at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:1000
#22 0x000000000055ac80 in Scenario::saveAs(Filesystem::Path const&, std::string const&, Filesystem::Path const&, ProgressObserver*, SaveType) at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:887
#23 0x000000000000000b in ParallelScenarioSaver::doSave(ParallelScenarioSaver*) at /tmp/factorio-build-V9E2T9/src/Scenario/ParallelScenarioSaver.cpp:99
#24 0xffffffffffffffff in execute_native_thread_routine at blake2s.c:?
#25 0x00007f533c8a6e50 in ?? at ??:0
#26 0x00007f533c8aa858 in ?? at ??:0
Stack trace logging done
 334.451 Warning Logger.cpp:518: Symbols.size() == 22, usedSize == 16
 334.451 Error CrashHandler.cpp:189: Map tick at moment of crash: 7002001
 334.451 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.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
 336.147 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 28680
 336.147 Uploading log file
 336.163 Info SystemUtil.cpp:539: Started /home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 28682
As usual, save is around in case it is needed. I have not done anything with pipes, rafinery, or any assembler recently. There are upgrades in base from assembler 2 to 3 done by bots.

As before: if i'm spamming, or this should go in thread from before, please do tell.

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik] [0.17.69] Crash on save when calling FluidBox::getFluidManager

Post by Dominik »

Is the crash reproducible? If yes, I would certainly need the save to fix it. If it can't be reproduced then there is not much I can do.
Try it on your windows machine :)

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [Dominik] [0.17.69] Crash on save when calling FluidBox::getFluidManager

Post by Loewchen »

Dominik wrote:
Tue Oct 01, 2019 2:10 pm
Is the crash reproducible? If yes, I would certainly need the save to fix it. If it can't be reproduced then there is not much I can do.
Try it on your windows machine :)
OP opened several reports with unrelated crashes FYI.

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik] [0.17.69] Crash on save when calling FluidBox::getFluidManager

Post by Dominik »

Loewchen wrote:
Tue Oct 01, 2019 3:29 pm
Dominik wrote:
Tue Oct 01, 2019 2:10 pm
Is the crash reproducible? If yes, I would certainly need the save to fix it. If it can't be reproduced then there is not much I can do.
Try it on your windows machine :)
OP opened several reports with unrelated crashes FYI.
Ah, you mean crashes on different subjects? I thought that all the issues where with the fluid. If that is the case than it would indeed be some memory corruption.

Post Reply

Return to “Pending”