[0.17.69] Crash in ForceManager::getForceData

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

[0.17.69] Crash in ForceManager::getForceData

Post by terdol »

Hey,

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

Code: Select all

   0.000 2019-09-30 13:37:13; Factorio 0.17.69 (build 47194, linux64, steam)
   0.064 Operating system: Linux (Ubuntu 18.04)
   0.064 Program arguments: "/home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.064 Read data path: /home/tp/.steam/steam/steamapps/common/Factorio/data
   0.064 Write data path: /home/tp/.factorio [311856/419432MB]
   0.064 Binaries path: /home/tp/.steam/steam/steamapps/common/Factorio/bin
   0.073 System info: [CPU: AMD Ryzen 5 2600X Six-Core Processor, 12 cores, RAM: 32156 MB]
   0.073 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.073 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.317 Available displays: 2
   0.317  [0]: SyncMaster 22" - {[0,30], 1680x1050, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.317  [1]: BenQ GW2255 22" - {[1680,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.317 Failed to get primary display index, defaulting to 0.
   0.428 Initialised OpenGL:[0] GeForce GTX 1060 6GB/PCIe/SSE2; driver: 3.3.0 NVIDIA 410.104
   0.428   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.428   [Version] 3.3
   0.429 Graphics settings preset: very-high
   0.429   Dedicated video memory size 6144 MB
   0.450 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.450                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.666 Info ModManager.cpp:241: Found duplicate mod factoryplanner, using higher version (0.17.52 > 0.17.50).
   0.769 Loading mod core 0.0.0 (data.lua)
   0.858 Loading mod base 0.17.69 (data.lua)
   1.052 Loading mod base 0.17.69 (data-updates.lua)
   1.156 Checksum for core: 2087614386
   1.156 Checksum of base: 1061071205
   1.323 Prototype list checksum: 3040646442
   1.349 Loading sounds...
   1.373 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.373 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1569841758
   1.494 Initial atlas bitmap size is 16384
   1.513 Created atlas bitmap 16384x16380 [none]
   1.516 Created atlas bitmap 16384x11616 [none]
   1.516 Created atlas bitmap 8192x3872 [decal]
   1.517 Created atlas bitmap 16384x4320 [low-object, linear-minification]
   1.517 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.518 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   1.518 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.518 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.518 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.518 Created atlas bitmap 8192x1632 [alpha-mask]
   1.520 Created atlas bitmap 16384x12772 [shadow, linear-magnification, alpha-mask]
   1.520 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.529 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.871 Parallel Sprite Loader initialized (threads: 11)
   4.994 Error ParallelSpriteLoader.cpp:223: Parallel sprite loading failed (__base__/graphics/entity/cargo-wagon/hr-cargo-wagon-1.png): IDAT: CRC error.
RAM: 32156 MB
Falling back to normal sprite loading.
  30.350 Sprites loaded
  30.358 Generated mipmaps (4) for atlas [3] of size 16384x4320   
  30.360 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  30.370 Generated mipmaps (3) for atlas [5] of size 16384x7168   
  30.370 Generated mipmaps (3) for atlas [6] of size 4096x1600   
  30.378 Generated mipmaps (5) for atlas [7] of size 4096x1744   
  30.381 Generated mipmaps (3) for atlas [11] of size 8192x2352   
  30.385 Custom mipmaps uploaded.
  30.544 Factorio initialised
  51.278 Loading map /home/tp/.factorio/saves/_autosave3.zip: 10268562 bytes.
  51.292 Loading level.dat: 29243033 bytes.
  51.300 Info Scenario.cpp:187: Map version 0.17.69-1
  52.027 Loading script.dat: 339 bytes.
  52.029 Checksum for script /home/tp/.factorio/temp/currently-playing/control.lua: 4051211387
  52.033 Warning BlueprintShelf.cpp:843: Record 126 is a duplicate of 115: Removing
 352.183 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
 352.896 Info AppManagerStates.cpp:1793: Saving finished
 520.009 Time travel logging:
  52.033 Popped blueprint record (player-index: 0, ID: 126) from book (player-index: 0, ID: 129)
 520.009 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb4a658, 0xd15b8d, 0xbd97ed, 0xbd9b5d, 0xbd9bb9, 0x3ef20, 0xc7fead, 0x6f5b6d, 0x9ffb4d, 0xf63907, 0xf9a955, 0xf9ae6d, 0xf9b1c7, 0xfca164, 0xfca6a2, 0xb642c1, 0x198340f, 0x76db, 0
 524.017 Warning Logger.cpp:518: Symbols.size() == 31, usedSize == 18
#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  0x0000000000c7fead in GlobalContext::getMap() at /tmp/factorio-build-V9E2T9/src/GlobalContext.cpp:1868
#6  0x00000000006f5b6d in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:188
#7  0x00000000009ffb4d in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:606
#8  0x0000000000f63907 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-V9E2T9/src/Util/CrashHandler.cpp:620
#9  0x0000000000f9a955 in ?? at ??:0
#10 0x0000000000f9ae6d in SmallVector<ForceData*, 10ul>::operator[](unsigned long) at /tmp/factorio-build-V9E2T9/src/Util/Container/SmallVector.hpp:395
#11 0x0000000000f9b1c7 in ForceManager::getForceData(ForceID) at /tmp/factorio-build-V9E2T9/src/Force/ForceManager.hpp:42
#12 0x0000000000fca164 in Map::getForceData(ForceID) at /tmp/factorio-build-V9E2T9/src/Map/Map.hpp:199
#13 0x0000000000fca6a2 in Entity::getForceData() at /tmp/factorio-build-V9E2T9/src/Entity/Entity.cpp:1122
#14 0x0000000000b642c1 in Inserter::update() at /tmp/factorio-build-V9E2T9/src/Entity/Inserter.cpp:1175
#15 0x000000000198340f in Chunk::updateActiveEntities(IntrusiveList<UpdatableEntity, void, false>&) at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:577
#16 0x00000000000076db in Chunk::isConditionallyActive(unsigned int) const at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:966
#17 (nil) in Chunk::updateEntities(unsigned int) at /tmp/factorio-build-V9E2T9/src/Surface/Chunk.cpp:634
#18 (nil) in Surface::update() at /tmp/factorio-build-V9E2T9/src/Surface/Surface.cpp:1469
#19 0x000004b9000005bc in Map::updateEntities() at /tmp/factorio-build-V9E2T9/src/Map/Map.cpp:1501 (discriminator 2)
#20 0x000004a2000005a2 in Map::update() at /tmp/factorio-build-V9E2T9/src/Map/Map.cpp:1460
#21 0x000004bc000005b7 in Game::update() at /tmp/factorio-build-V9E2T9/src/Game.cpp:201
#22 0x000004bb000005a0 in Scenario::update() at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:1215
#23 0x000004a5000005a5 in Scenario::updateStep() at /tmp/factorio-build-V9E2T9/src/Scenario/Scenario.cpp:1112
#24 0x000004a8000005af in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-V9E2T9/src/MainLoop.cpp:1163
#25 0x000004a3000005b4 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-V9E2T9/src/MainLoop.cpp:1032
#26 0x000004b1000005b8 in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/8/bits/std_function.h:495
#27 0x000004b2000005b4 in WorkerThread::loop() at /tmp/factorio-build-V9E2T9/src/Util/WorkerThread.cpp:42
#28 0x000004b5000005a2 in execute_native_thread_routine at blake2s.c:?
#29 0x000004b3000005a3 in ?? at ??:0
#30 0x000004af000005a1 in ?? at ??:0
Stack trace logging done
 527.995 Warning Logger.cpp:518: Symbols.size() == 26, usedSize == 17
 527.995 Error CrashHandler.cpp:189: Map tick at moment of crash: 6994025
 527.995 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.
 529.834 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 27416
 529.834 Uploading log file
 529.850 Info SystemUtil.cpp:539: Started /home/tp/.steam/steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 27418
As usual, most recent save is backed up if it is needed. As for most recent actions in game: i haven't been doing anything tricky. Running around and having my personal bots place blue belts. Rest of base is in process of catching up on modules and upgrades overall.

Other note: Please let me know if I'm spamming too many bug reports. I figured, since you have automated crash report it would be better to have actual log/save from crash even if it is one of a kind non reproductable crash. If it is waste of either my or yours time just say so and I'll only post reports for more predictable bugs.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.69] SIGSEGV crash in ForceManager::getForceData

Post by posila »

Hello, given this is your third random crash in short period of time, I am pretty sure your computer is busted somehow. Obvious candidate is Ryzen CPU, so I would start by updating BIOS ... maybe you might need to update kernel also, since there are no chipset drivers on Linux(?), but if that doesn't fix the crashes, try to run memtest on your computer over night.

terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

Re: [0.17.69] Crash in ForceManager::getForceData

Post by terdol »

Hey, thanks for response.

This is strange, since everything else is working properly. This includes other games, but also any other normal program, as well as complex tasks - like building whole projects for autonomous robots, training neural networks etc. Anyway I'll not be posting more issues until I make sure hw is full updated. memtest is also good idea.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.69] Crash in ForceManager::getForceData

Post by posila »

Please let us know if updating BIOS fixes it or memtest shows any errors.

Sadly, CPU bugs are more common than people think and display themselves only in some specific cases (otherwise hardware vendors would cought them during their testing)
https://danluu.com/cpu-bugs/

terdol
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue Sep 17, 2019 2:02 pm
Contact:

Re: [0.17.69] Crash in ForceManager::getForceData

Post by terdol »

Sadly I'm a bit swarmed with work right now to test this more, however updates have made crashes not appear anomore. In my case this was on X470 Stryx motherboard -> newest bios and update ubuntu kernel to 5.3.1 . There are some other issues, but factorio seems to be doing good.

Post Reply

Return to “1 / 0 magic”