[0.15.9] One-time crash entering tutorial: corrupted save

Things that has been reported already before.
threehams
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 31, 2014 5:37 pm
Contact:

[0.15.9] One-time crash entering tutorial: corrupted save

Post by threehams »

Summary: One-time crash shortly after entering the Ghost Rail tutorial. I had entered and exited the tutorial 3 times to reproduce a separate bug.

Steps:
- Played for about 15 minutes.
- Entered the Ghost Rail tutorial.
- Finished the tutorial.
- Entered the tutorial again.

Result: Game crashed, and created a corrupted autosave. I don't have the save available, unfortunately - it was immediately overwritten after loading the last known good save.

I haven't been able to reproduce. I've tried:
- Repeatedly entering and exiting the tutorial
- Leaving the game in the tutorial for a while
- Entering the tutorial just before an autosave might have been triggered
Attachments
factorio-current.log
Crash log
(10.65 KiB) Downloaded 83 times
Loewchen
Global Moderator
Global Moderator
Posts: 9307
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.9] One-time crash entering tutorial: corrupted save

Post by Loewchen »

Code: Select all

   0.001 2017-05-06 08:24:25; Factorio 0.15.9 (build 29504, win64, steam)
   0.002 Operating system: Windows 10 (version 1607) 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/threehams/AppData/Roaming/Factorio
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.020 System info: [CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 4 cores, RAM: 16341MB]
   0.036 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.038 Available display adapters: 1
   0.038  [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x80005, [0,0], 3840x2160, 32bit, 60Hz}
   0.039 Create display on adapter 0. Size 1280x720 at position [1270, 702].
   0.144 Initialised Direct3D:[0] AMD Radeon R9 200 Series; driver: aticfx64.dll 21.19.137.514
   0.147     Video memory size (dedicated video/dedicated system/shared system/available): 4073/0/8170/4064 MB
   0.186 DSound: Starting _dsound_update thread
   0.186 DSound: Enter _dsound_update; tid=10528
   0.187 Device reset internal.
   0.191 Desktop composition is active.
   0.191 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
   0.191 Graphics settings preset: very-high
   0.192 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false]
   0.291 Loading mod core 0.0.0 (data.lua)
   0.319 Loading mod base 0.15.9 (data.lua)
   0.668 Loading mod base 0.15.9 (data-updates.lua)
   0.770 Checksum for core: 3409166051
   0.771 Checksum of base: 3769930138
   0.974 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493689465
   0.974 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1493689462
   1.110 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.116 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.121 Crop bitmaps.
  14.014 Initial atlas bitmap size is 16384
  14.033 Created atlas bitmap 16384x16380
  14.034 Created atlas bitmap 16384x8929
  14.034 Created atlas bitmap 4096x3980
  14.035 Created atlas bitmap 4096x3648
  27.251 Sprites loaded
  27.251 Convert atlas 4096x3980 to: trilinear-filtering 
  27.333 Convert atlas 4096x3648 to: mipmap 
  27.800 Loading sounds...
  31.613 Custom inputs active: 0
  31.676 Factorio initialised
  34.972 Loading map C:\Users\threehams\AppData\Roaming\Factorio\saves\v15-04-rails.zip: 5168747 bytes.
  35.098 Loading Level.dat: 9144877 bytes.
  35.101 Info Scenario.cpp:133: Map version 0.15.5-1
  35.396 Loading script.dat: 190 bytes.
  35.407 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 76911248
 206.463 Supending game state
 206.464 Entering tutorial: [base]trains-stations
 206.491 Applying migration: Base Mod: 2017-03-18_Factorio_0.15.0.lua
 206.497 Applying migration: Base Mod: 2017-04-19_Factorio_0.15.0.lua
 206.500 Applying migration: Base Mod: 2017-04-26_Factorio_0.15.3.lua
 206.660 Loading Level.dat: 424135 bytes.
 206.660 Info Scenario.cpp:133: Map version 0.15.9-0
 206.690 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 2541795631
 360.576 Resuming game state
 369.537 Supending game state
 369.538 Entering tutorial: [base]trains-ghost-rail-planner
 369.546 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-03-03_Factorio_0.15.0.json
 369.562 Applying migration: Base Mod: 2017-02-23_Factorio_0.15.0.lua
 369.568 Applying migration: Base Mod: 2017-03-01_Factorio_0.15.0.lua
 369.571 Applying migration: Base Mod: 2017-03-18_Factorio_0.15.0.lua
 369.573 Applying migration: Base Mod: 2017-04-19_Factorio_0.15.0.lua
 369.574 Applying migration: Base Mod: 2017-04-26_Factorio_0.15.3.lua
 369.725 Loading Level.dat: 333331 bytes.
 369.725 Info Scenario.cpp:133: Map version 0.15.9-0
 369.747 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 3423154115
 412.926 Resuming game state
 413.823 Supending game state
 413.823 Entering tutorial: [base]trains-ghost-rail-planner
 413.827 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-03-03_Factorio_0.15.0.json
 413.842 Applying migration: Base Mod: 2017-02-23_Factorio_0.15.0.lua
 413.846 Applying migration: Base Mod: 2017-03-01_Factorio_0.15.0.lua
 413.847 Applying migration: Base Mod: 2017-03-18_Factorio_0.15.0.lua
 413.848 Applying migration: Base Mod: 2017-04-19_Factorio_0.15.0.lua
 413.849 Applying migration: Base Mod: 2017-04-26_Factorio_0.15.3.lua
 413.902 Loading Level.dat: 333331 bytes.
 413.902 Info Scenario.cpp:133: Map version 0.15.9-0
 413.924 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 3423154115
 621.654 Resuming game state
 922.680 Supending game state
 922.680 Entering tutorial: [base]trains-ghost-rail-planner
 922.683 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-03-03_Factorio_0.15.0.json
 922.699 Applying migration: Base Mod: 2017-02-23_Factorio_0.15.0.lua
 922.703 Applying migration: Base Mod: 2017-03-01_Factorio_0.15.0.lua
 922.704 Applying migration: Base Mod: 2017-03-18_Factorio_0.15.0.lua
 922.706 Applying migration: Base Mod: 2017-04-19_Factorio_0.15.0.lua
 922.708 Applying migration: Base Mod: 2017-04-26_Factorio_0.15.3.lua
 922.762 Loading Level.dat: 333331 bytes.
 922.762 Info Scenario.cpp:133: Map version 0.15.9-0
 922.786 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 3423154115
 927.133 Resuming game state
 940.804 Supending game state
 940.804 Entering tutorial: [base]trains-ghost-rail-planner
 940.807 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-03-03_Factorio_0.15.0.json
 940.823 Applying migration: Base Mod: 2017-02-23_Factorio_0.15.0.lua
 940.826 Applying migration: Base Mod: 2017-03-01_Factorio_0.15.0.lua
 940.827 Applying migration: Base Mod: 2017-03-18_Factorio_0.15.0.lua
 940.829 Applying migration: Base Mod: 2017-04-19_Factorio_0.15.0.lua
 940.830 Applying migration: Base Mod: 2017-04-26_Factorio_0.15.3.lua
 940.873 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x00007ff6c1ed187a
ModuleBase: 0x00007ff6c1a80000, ImageSize: 01196000, RelativeAddress: 0045187a
 940.873 Error CrashHandler.cpp:151: Exception Context:
rax=0000018ff0cca690, rbx=0000018fe3839c70, rcx=0000018fe3839c70,
rdx=00000012408ff4c0, rsi=00000012408ff4c0, rdi=0000018fe383e4c0,
rip=00007ff6c1ed187a, rsp=00000012408ff110, rbp=00000012408ff4c0,
 r8=0000000000000008,  r9=00007ff6c1a80000, r10=0000018fe3839c6c,
r11=00000012408ff160, r12=0000000000000000, r13=0000018fef1d8500,
r14=0000018fe3839c70, r15=0000018f08624e40
 940.873 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff6c1a80000 - 0x00007ff6c2c16000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
 940.879 Loading Level.dat: 333331 bytes.
 940.879 Info Scenario.cpp:133: Map version 0.15.9-0
 940.902 Checksum for script C:/Users/threehams/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 3423154115
c:\cygwin64\tmp\factorio-okhrau\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-okhrau\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-okhrau\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-okhrau\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-okhrau\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB2014F77)
00007FFFB2014F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4EAED1B)
00007FFFB4EAED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4E96BD6)
00007FFFB4E96BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4EAAB9D)
00007FFFB4EAAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4E49913)
00007FFFB4E49913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4EA9CBA)
00007FFFB4EA9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-okhrau\src\recipe\recipe.cpp (195): Recipe::save
c:\cygwin64\tmp\factorio-okhrau\src\customprototypelist.cpp (17): CustomPrototypeList<Recipe,ID<RecipePrototype,unsigned short>,RecipePrototype>::save
c:\cygwin64\tmp\factorio-okhrau\src\customprototypes.cpp (44): CustomPrototypes::save
c:\cygwin64\tmp\factorio-okhrau\src\force\forcedata.cpp (356): ForceData::save
c:\cygwin64\tmp\factorio-okhrau\src\force\forcemanager.cpp (72): ForceManager::save
c:\cygwin64\tmp\factorio-okhrau\src\map\map.cpp (1087): Map::save
c:\cygwin64\tmp\factorio-okhrau\src\scenario\scenario.cpp (597): Scenario::saveMap
c:\cygwin64\tmp\factorio-okhrau\src\scenario\scenario.cpp (529): Scenario::saveAs
c:\cygwin64\tmp\factorio-okhrau\src\scenario\parallelscenariosaver.cpp (84): ParallelScenarioSaver::doSave
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64> > > >::_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: 00007FFFB2378364)
00007FFFB2378364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB4E670D1)
00007FFFB4E670D1 (ntdll): (filename not available): RtlUserThreadStart
 943.179 Error CrashHandler.cpp:106: Map tick at moment of crash: 145
 943.179 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.
posila
Factorio Staff
Factorio Staff
Posts: 5366
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.9] One-time crash entering tutorial: corrupted save

Post by posila »

Hi, thanks for the report.
For this to happen, you need to enter tutorial at the exact tick in which game starts autosaving.
It should be fixed in 0.15.10
Related bug report: 45701
Post Reply

Return to “Duplicates”