[15.6] Crash when loading specific save on: "BlueprintShelf::appendShelfData"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

[15.6] Crash when loading specific save on: "BlueprintShelf::appendShelfData"

Post by CaptainKonzept »

Other savegames still load fine, however specific ones don't anymore since the upgrade to 0.15.6 (were working in 0.15.5)
Attachments
factorio-current.log
Crashlog
(7.12 KiB) Downloaded 103 times
Last edited by CaptainKonzept on Wed May 03, 2017 10:15 am, edited 2 times in total.
CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

Re: Crash when trying to load specific savegame in 0.15.6

Post by CaptainKonzept »

Update: It could be related to oil/bluebrints. I was opening up this map again in 0.15.5 and created a blueprint for oil processing. I exportet that blueprint to another savegame and saved it. Then I tried to open that (other) savegame in 0.15.6 and it wouldn't open anymore / the game would crash.
CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

Re: Crash when trying to load specific savegame in 0.15.6

Post by CaptainKonzept »

Update 2: Might be a OS X / Win Problem. I'm syncing the savefiles between the OS X version and the Win x64 version. On Win I downgraded to 0.15.5 but game will still crash when I try to open the savegame. On OS X 0.15.5 it still works...
I guess I'll have to sync the blueprint stuff, too (possible reason for crash).
Loewchen
Global Moderator
Global Moderator
Posts: 9260
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [15.6] Crash when loading specific save on: "BlueprintShelf::appendShelfData"

Post by Loewchen »

Code: Select all

   0.000 2017-05-03 10:12:07; Factorio 0.15.6 (build 29362, win64, alpha)
   0.000 Operating system: Windows 10 (version 1607) 
   0.000 Program arguments: "C:\Program Files (x86)\Games\Factorio\bin\x64\factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Games/Factorio/data
   0.001 Write data path: C:/Users/fny/AppData/Roaming/Factorio
   0.001 Binaries path: C:/Program Files (x86)/Games/Factorio/bin
   0.005 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 32683MB]
   0.006 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.006 Available display adapters: 1
   0.006  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 6GB {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.006 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.558 Initialised Direct3D:[0] NVIDIA GeForce GTX 1060 6GB; driver: nvd3dumx.dll 21.21.13.7653
   0.559     Video memory size (dedicated video/dedicated system/shared system/available): 6100/0/16341/4088 MB
   0.580 DSound: Starting _dsound_update thread
   0.580 DSound: Enter _dsound_update; tid=18128
   0.582 Device reset internal.
   0.583 Desktop composition is active.
   0.583 Graphics settings preset: very-high
   0.583 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.639 Loading mod core 0.0.0 (data.lua)
   0.645 Loading mod base 0.15.6 (data.lua)
   0.720 Loading mod base 0.15.6 (data-updates.lua)
   0.768 Checksum for core: 3409166051
   0.768 Checksum of base: 2213884006
   0.858 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493797992
   0.858 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.919 Loaded shader file C:/Program Files (x86)/Games/Factorio/data/core/graphics/shaders/game.cso
   0.919 Loaded shader file C:/Program Files (x86)/Games/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.928 Initial atlas bitmap size is 16384
   0.942 Created atlas bitmap 16384x16370
   1.281 Created atlas bitmap 16384x1736
   1.311 Created atlas bitmap 4096x3980
   1.330 Created atlas bitmap 4096x3648
  12.273 Sprites loaded
  12.273 Convert atlas 4096x3980 to: trilinear-filtering 
  12.359 Convert atlas 4096x3648 to: mipmap 
  12.706 Loading sounds...
  14.340 Custom inputs active: 0
  14.344 Info Updater.cpp:753: Downloading https://updater.factorio.com/get-available-versions?username=CaptainKonzept&token=<private>&apiVersion=2
  15.152 0 packages available to download (experimental updates enabled).
  15.217 Factorio initialised
  28.235 Loading map C:\Users\fny\AppData\Roaming\Factorio\saves\Test_World.zip: 5907185 bytes.
  28.342 Loading Level.dat: 11823163 bytes.
  28.345 Info Scenario.cpp:133: Map version 0.15.5-1
  28.601 Loading script.dat: 190 bytes.
  28.603 Checksum for script C:/Users/fny/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3177558831
  28.603 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x00007ff64c4a88a3
ModuleBase: 0x00007ff64c440000, ImageSize: 0119e000, RelativeAddress: 000688a3
  28.603 Error CrashHandler.cpp:151: Exception Context:
rax=00000286ab08c610, rbx=00000286aaf264b0, rcx=00000286b820b630,
rdx=0000000000000011, rsi=00000286935d7370, rdi=00000286aaf26540,
rip=00007ff64c4a88a3, rsp=000000aa502ff030, rbp=00000286935d73e8,
 r8=00007ff64d178248,  r9=0000000000008000, r10=0000000000000000,
r11=000002868c4505e0, r12=00007ff64d178248, r13=00000286b79220b0,
r14=0000000000000000, r15=0000028695b739d0
  28.603 Crashed in C:\Program Files (x86)\Games\Factorio\bin\x64\factorio.exe (0x00007ff64c440000 - 0x00007ff64d5de000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-cu6znz\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-cu6znz\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA20754F77)
00007FFA20754F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23FAED1B)
00007FFA23FAED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23F96BD6)
00007FFA23F96BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23FAAB9D)
00007FFA23FAAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23F49913)
00007FFA23F49913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23FA9CBA)
00007FFA23FA9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-cu6znz\src\blueprint\blueprintshelf.cpp (581): BlueprintShelf::appendShelfData
c:\cygwin64\tmp\factorio-cu6znz\src\blueprint\blueprintlibrary.cpp (93): BlueprintLibrary::updatePlayerStorageShelf
c:\cygwin64\tmp\factorio-cu6znz\src\blueprint\blueprintlibrary.cpp (69): BlueprintLibrary::onPlayerJoinGame
c:\cygwin64\tmp\factorio-cu6znz\src\game.cpp (92): Game::Game
c:\cygwin64\tmp\factorio-cu6znz\src\scenario\scenario.cpp (238): Scenario::loadFactory
c:\cygwin64\tmp\factorio-cu6znz\src\scenario\parallelscenarioloader.cpp (116): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23E48364)
00007FFA23E48364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA23F670D1)
00007FFA23F670D1 (ntdll): (filename not available): RtlUserThreadStart
  29.489 Error CrashHandler.cpp:106: Map tick at moment of crash: 1670684
  29.489 Error Util.cpp:76: 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.
CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

Re: Crash when trying to load specific savegame in 0.15.6

Post by CaptainKonzept »

Update 3: Yup, that was it. It probably was trying to get a blueprint not existing (because not synced). Synced the whole "factorio" folder instead of just "saves" and now all works. Duh. Maybe you can make it that it simply ignores missing blueprints instead of crashing, but that's really low priority. Could help when exchangeing savegames though. Anyhow, sorry for the bother and keep up the great work. :D
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [15.6] Crash when loading specific save on: "BlueprintShelf::appendShelfData"

Post by Oxyd »

Hello, do you still have the blueprint-storage.dat and the save file that together cause it to crash? If so, could you post them here?
Post Reply

Return to “Pending”