[posila][0.16.20] Crash while autosave and loading earlier autosaves

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
Yyrome
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jan 29, 2018 7:11 pm
Contact:

[posila][0.16.20] Crash while autosave and loading earlier autosaves

Post by Yyrome »

I almost finished setting up a production line for making Assembling machine 3, when the game crashed during autosave. (The game freezed when the autosave progress bar reached 100%, then crashed after a few seconds)

After this I launched Factorio again, and tried to load the autosaves.
_autosave3.tmp.zip is the autosave created while the game crashed, and selecting it in the load window results in a "Bad zip file" Notice popup.
_autosave1.zip and _autosave3.zip are somewhat earlier automatic saves that were successfully saved, but the game crashes while trying loading them.
M.zip is my last manual save from a few hours before the crash, and loads without crash.

Log file is about the loading crash. I unfortunately don't have the log file for the saving crash.

All related files in a shared Google Drive folder: https://drive.google.com/open?id=1iS9Up ... avpB10GDn8

I post the log here too:

Code: Select all

>>> Adding process 1985 for game ID 427520
   0.000  Initializing Steam API.
Game update: AppID 427520 "", ProcID 1985, IP 0.0.0.0:0
Setting breakpad minidump AppID = 427520
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198025087019 [API loaded no]
   0.000 2018-01-29 20:03:13; Factorio 0.16.20 (build 35245, linux64, steam)
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
   0.034 Operating system: Linux (Arch rolling)
   0.034 Program arguments: "/str/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio" 
   0.034 Read data path: /str/SteamLibrary/steamapps/common/Factorio/data
   0.034 Write data path: /home/emoryy/.factorio [91612/469129MB]
   0.034 Binaries path: /str/SteamLibrary/steamapps/common/Factorio/bin
   0.040 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 31100MB]
   0.043 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
>>> Adding process 1986 for game ID 427520
   0.143 Available display adapters: 1
   0.143  [0]: resolution 1920x1080px at [0,0]
   0.143 Create display on adapter 0. Size 1280x720 at position [310, 162].
>>> Adding process 1987 for game ID 427520
>>> Adding process 1988 for game ID 427520
   0.444 Initialised OpenGL:[0] AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.19.0 / 4.14.15-1-ARCH, LLVM 5.0.1); driver: 3.0 Mesa 17.3.3
   0.444   Video memory size (dedicated/total available/current available): 8169/16358/8160 MB
   0.488 Graphics settings preset: extreme
   0.488 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false] [Shader: 1]
   0.488                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
Installing breakpad exception handler for appid(gameoverlayui)/version(20171215114746)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
   0.724 Loading mod settings Dectorio 0.8.6 (settings.lua)
   0.725 Loading mod settings folk-stopthat 0.1.4 (settings.lua)
   0.725 Loading mod settings PavementDriveAssist 2.1.5 (settings.lua)
   0.725 Loading mod settings AsphaltRoads 1.1.2 (settings.lua)
   0.728 Loading mod core 0.0.0 (data.lua)
   0.739 Loading mod base 0.16.20 (data.lua)
   0.839 Loading mod Dectorio 0.8.6 (data.lua)
   0.867 Loading mod PavementDriveAssist 2.1.5 (data.lua)
   0.904 Loading mod SimonLights 0.0.1 (data.lua)
   0.927 Loading mod upgrade-planner 1.5.2 (data.lua)
   0.951 Loading mod Waterfill_v15 0.1.3 (data.lua)
   0.974 Loading mod AsphaltRoads 1.1.2 (data.lua)
   1.007 Loading mod base 0.16.20 (data-updates.lua)
   1.033 Loading mod Dectorio 0.8.6 (data-updates.lua)
   1.060 Loading mod folk-stopthat 0.1.4 (data-updates.lua)
   1.088 Loading mod AsphaltRoads 1.1.2 (data-updates.lua)
   1.118 Loading mod Dectorio 0.8.6 (data-final-fixes.lua)
   1.151 Checksum for core: 1372761519
   1.151 Checksum of base: 3706582573
   1.151 Checksum of Dectorio: 525502889
   1.151 Checksum of folk-stopthat: 1611072005
   1.151 Checksum of PavementDriveAssist: 203822894
   1.151 Checksum of SimonLights: 910882436
   1.151 Checksum of upgrade-planner: 378958687
   1.151 Checksum of Waterfill_v15: 4172999703
   1.151 Checksum of AsphaltRoads: 730581943
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
   1.271 Loading sounds...
   1.399 Info PlayerData.cpp:67: Local player-data.json unavailable
   1.399 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1517044605
   1.471 Loaded shader file /str/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   1.475 Loaded shader file /str/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   1.476 Loaded shader file /str/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.glsl
   1.492 Initial atlas bitmap size is 16384
   1.606 Created atlas bitmap 16384x16371 [none]
   1.631 Created atlas bitmap 16384x4295 [none]
   1.671 Created atlas bitmap 16384x6924 [shadow]
   1.682 Created atlas bitmap 16384x2104 [decal]
   1.683 Created atlas bitmap 8192x5592 [mipmap]
   1.685 Created atlas bitmap 8192x804 [mipmap, smoke]
   1.689 Created atlas bitmap 8192x8188 [linear-minification, mipmap, terrain]
   1.691 Created atlas bitmap 8192x5456 [linear-minification, mipmap, terrain]
   1.692 Created atlas bitmap 8192x2108 [no-crop, trilinear-filtering, icon, light]
   1.694 Created atlas bitmap 8192x924 [alpha-mask]
  10.380 Sprites loaded
  10.380 Convert atlas 8192x5592 to: mipmap 
  10.587 Convert atlas 8192x804 to: mipmap 
  10.649 Convert atlas 8192x8188 to: min-linear 
  10.943 Convert atlas 8192x5456 to: min-linear 
  11.066 Convert atlas 8192x2108 to: trilinear-filtering 
  11.163 Convert atlas 8192x924 to: alpha-mask
  11.208 Custom inputs active: 5
  11.250 Factorio initialised
  27.362 Loading map /home/emoryy/.factorio/saves/_autosave3.zip: 14611978 bytes.
  27.404 Loading Level.dat: 31793562 bytes.
  27.413 Info Scenario.cpp:135: Map version 0.16.20-0
  27.990 Error CrashHandler.cpp:419: Received SIGSEGV
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 2031 for game ID 427520
  31.009 Warning Logger.cpp:446: Symbols.size() == 15, usedSize == 12
Factorio crashed. Generating symbolized stacktrace, please wait ...
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/emoryy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 2032 for game ID 427520
  33.824 Warning Logger.cpp:446: Symbols.size() == 14, usedSize == 11
#0  0x0000000000686977 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-oSl16z/src/Util/CrashHandler.cpp:127
#1  0x0000000000686b8a in CrashHandler::SignalHandler(int) at /tmp/factorio-oSl16z/src/Util/CrashHandler.cpp:421
#2  0x00000000000348e0 in ?? at ??:0
#3  0x0000000000546fa0 in Chunk::postLoadHook() at /tmp/factorio-oSl16z/src/Surface/Chunk.cpp:502
#4  0x0000000000678b28 in Surface::postLoadHook() at /tmp/factorio-oSl16z/src/Surface/Surface.cpp:1244
#5  0x0000000000b8564f in Map::postLoadHook() at /tmp/factorio-oSl16z/src/Map/Map.cpp:1496
#6  0x0000000000c2e4d3 in Map::setupEntities(MapDeserialiser*, bool) at /tmp/factorio-oSl16z/src/Map/Map.cpp:790
#7  0x0000000000c34348 in TimeUtil::CpuTimer::elapsed() const at /tmp/factorio-oSl16z/src/Util/TimeUtil.hpp:44
#8  0x000000000149b00f in TimeUtil::CpuTimer::getSecondsPassed() const at /tmp/factorio-oSl16z/src/Util/TimeUtil.hpp:29
#9  0x000000000000708c in Scenario::loadFactory(std::experimental::filesystem::Path const*, std::experimental::filesystem::Path const&, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, bool, ProgressObserver*, bool, InputListener*) at /tmp/factorio-oSl16z/src/Scenario/Scenario.cpp:210
#10 (nil) in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, bool) at /tmp/factorio-oSl16z/src/Scenario/ParallelScenarioLoader.cpp:125
  33.824 Error Util.cpp:67: 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.
Game removed: AppID 427520 "", ProcID 1985 
No cached sticky mapping in ActivateActionSet.Generating new string page texture 125: 64x256, total string texture memory is 3,50 MB

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

Re: [posila][0.16.20] Crash while autosave and loading earlier autosaves

Post by posila »

Thanks for the report.
One of the steam engines on chunk {8, 18} has been saved improperly to list of active entities ... when I commute, I'll think about what would have to get corrupted for that to happen without game crashing instantly, but it looks like random game state corruption.

Yyrome
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jan 29, 2018 7:11 pm
Contact:

Re: [posila][0.16.20] Crash while autosave and loading earlier autosaves

Post by Yyrome »

posila wrote:Thanks for the report.
One of the steam engines on chunk {8, 18} has been saved improperly to list of active entities ... when I commute, I'll think about what would have to get corrupted for that to happen without game crashing instantly, but it looks like random game state corruption.
Hi! Thanks for answering and dealing with my bug!
I actually still have crashes happening. It's not very much annoying, but it happens 1-2 times for a few hours of playing. And I'd say it's even between spontaneous crashes, and crashes while autosave.
I saw that from now on crash reports will be automatically sent, so I guess you'll be receiving from me too about this bug.

Post Reply

Return to “1 / 0 magic”