[0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
[0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
Hi,
Factorio just crashed during autosave :/. I played without any mods and wasn't doing anything unusual (walking, maybe building...).
Win10 is 64bit version with anniversary update.
Factorio just crashed during autosave :/. I played without any mods and wasn't doing anything unusual (walking, maybe building...).
Win10 is 64bit version with anniversary update.
- Attachments
-
- factorio-previous.log
- Log
- (6.43 KiB) Downloaded 128 times
-
- _autosave1.tmp.zip
- Current save attempt (crashed during this one, probably)
- (1.26 MiB) Downloaded 122 times
-
- _autosave3.zip
- Previous save
- (10.61 MiB) Downloaded 127 times
Last edited by postolka on Sat Sep 03, 2016 11:07 am, edited 1 time in total.
Re: [0.13.20] [Win10/Steam] Crash on autosave
Please upload the log-file, see my signature for details.
Re: [0.13.20] [Win10/Steam] Crash on autosave
Yeap, sorry, forgot.Loewchen wrote:Please upload the log-file, see my signature for details.
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
Code: Select all
0.001 2016-09-03 09:08:33; Factorio 0.13.20 (build 24011, win64, steam)
0.001 Operating system: Windows 10
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/postolka/AppData/Roaming/Factorio
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.020 Graphics options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
0.021 Available display adapters: 1
0.021 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4600 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
0.021 Create display on adapter 0. Size 1280x720 at position [310, 222].
0.890 Initialised Direct3D:[0] NVIDIA GeForce GTX 960M; driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvlti.inf_amd64_9b4e3505ba1121d8\nvd3dumx.dll 21.21.13.7270
0.893 Video memory size (dedicated video/dedicated system/shared system/available): 4064/0/6100/4087 MB
0.919 Desktop composition is active.
1.012 Loading mod core 0.0.0 (data.lua)
1.031 Loading mod base 0.13.20 (data.lua)
1.373 Checksum for core: 303426634
1.373 Checksum for mod base: 1460151764
1.692 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1472410999
1.692 Info PlayerData.cpp:50: Cloud player-data.json available, timestamp 1470339601
12.117 Initial atlas bitmap size is 16384
12.119 Created atlas bitmap 16384x5589
12.391 Created atlas bitmap 4096x968
12.404 Created atlas bitmap 4096x3652
21.079 Sprites loaded
21.079 Convert atlas 4096x968 to: trilinear-filtering
21.103 Convert atlas 4096x3652 to: mipmap
21.467 Loading sounds...
23.951 Custom inputs active: 0
24.010 Factorio initialised
46.863 Loading map C:\Users\postolka\AppData\Roaming\Factorio\saves\SpeedSci2.zip
47.002 Info Scenario.cpp:127: Map version 0.13.19-0
47.872 Checksum for script C:/Users/postolka/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
992.161 Loading map C:\Users\postolka\AppData\Roaming\Factorio\saves\_autosave3.zip
992.233 Info Scenario.cpp:127: Map version 0.13.20-0
993.124 Checksum for script C:/Users/postolka/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
5551.588 Loading map C:\Users\postolka\AppData\Roaming\Factorio\saves\_autosave2.zip
5551.660 Info Scenario.cpp:127: Map version 0.13.20-0
5552.636 Checksum for script C:/Users/postolka/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
5633.904 Loading map C:\Users\postolka\AppData\Roaming\Factorio\saves\_autosave2.zip
5633.964 Info Scenario.cpp:127: Map version 0.13.20-0
5634.956 Checksum for script C:/Users/postolka/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
8127.429 Loading map C:\Users\postolka\AppData\Roaming\Factorio\saves\_autosave3.zip
8127.505 Info Scenario.cpp:127: Map version 0.13.20-0
8128.506 Checksum for script C:/Users/postolka/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
10139.962 Error CrashHandler.cpp:135: Exception Code: c0000005, Address: 00007FF6B09BFDF4
ModuleBase: 00007FF6B08A0000, ImageSize: 01108000, RelativeAddress: 0011fdf4
10139.962 Error CrashHandler.cpp:145: Exception Context:
rax=0000000000000003, rbx=000001c9a49d8690, rcx=000001ca0154a300,
rdx=000000a66e7ff2c0, rsi=0001c37dfffde078, rdi=000001c9f96cd7e8,
rip=00007ff6b09bfdf4, rsp=000000a66e7ff250, rbp=000000a66e7ff540,
r8=0000000000000000, r9=0000000000000024, r10=000001ca04390010,
r11=0000000000000000, r12=0000000000000010, r13=0000000000001000,
r14=000001c9a49d96c8, r15=000000000000000f
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-ohddg8\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-ohddg8\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-ohddg8\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-ohddg8\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-ohddg8\src\util\crashhandler.cpp (155): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD27355E77)
00007FFD27355E77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A38DA9B)
00007FFD2A38DA9B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A375946)
00007FFD2A375946 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A38991D)
00007FFD2A38991D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A3286D3)
00007FFD2A3286D3 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A388A3A)
00007FFD2A388A3A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-ohddg8\src\surface\chunk.cpp (113): Chunk::preSaveHook
c:\cygwin64\tmp\factorio-ohddg8\src\surface\surface.cpp (510): Surface::preSaveHook
c:\cygwin64\tmp\factorio-ohddg8\src\map\map.cpp (1031): Map::save
c:\cygwin64\tmp\factorio-ohddg8\src\scenario\scenario.cpp (583): Scenario::saveAs
c:\cygwin64\tmp\factorio-ohddg8\src\scenario\parallelscenariosaver.cpp (68): ParallelScenarioSaver::doSave
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6B12BA803)
00007FF6B12BA803 (Factorio): (filename not available): boost::thread::start_thread_noexcept
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD28498364)
00007FFD28498364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD2A345E91)
00007FFD2A345E91 (ntdll): (filename not available): RtlUserThreadStart
10141.704 Error CrashHandler.cpp:106: Map tick at moment of crash: 734401
10141.704 Error Util.cpp:77: 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.
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
Did it crash more than one once with this error? As I don't have any other reports of this, it looks like random 1/0 magic.
-
- Burner Inserter
- Posts: 9
- Joined: Fri Sep 23, 2016 8:15 pm
- Contact:
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
I also have this problem, with Factorio crashing about 50% of the time on saves. This happens on both autosaves and manual saves. I only started to encountered this after the last release (0.14.8). I am running linux MInt Sarah, 32 bit. I have not installed any mods.
Here is my log file and I am attaching the last autosave before the crash.
Thanks - I love this game!
Here is my log file and I am attaching the last autosave before the crash.
Thanks - I love this game!
Log file
- Attachments
-
- _autosave1.zip
- The last autosave file before the crash
- (49.55 MiB) Downloaded 115 times
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
I can not see how this is supposed to be related, I would guess you have not enough memory to run the game and save it.LuckyBadger wrote:I also have this problem, with Factorio crashing about 50% of the time on saves. This happens on both autosaves and manual saves. I only started to encountered this after the last release (0.14.8). I am running linux MInt Sarah, 32 bit. I have not installed any mods.
Here is my log file and I am attaching the last autosave before the crash.
Thanks - I love this game!
-
- Burner Inserter
- Posts: 9
- Joined: Fri Sep 23, 2016 8:15 pm
- Contact:
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
It's related in that the game crashes when it tries to save, the same problem that the o/p reported. The responders noted that no one else had reported the problem so I thought that this would be a logical place to post. I have no idea whether the root cause is the same - I just play the game, I didn't write it. If you feel that the post should be in a different thread or section, feel free to move it.
If insufficient memory is the cause then it must be because, the memory requirements have increased, as it worked perfectly on this machine prior to 0.14.8.
If insufficient memory is the cause then it must be because, the memory requirements have increased, as it worked perfectly on this machine prior to 0.14.8.
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
I ran into this problem starting today. I've played 8 hours on this map without problems until today. The log and save files are attached. I have no mods installed.
EDIT:I was able to work around this issue by deleting "_autosave_3.tmp.zip" and "_autosave_3.zip". Since I deleted them at the same time I do not know which deletion fixed the issue.
EDIT 2: I ran into the problem again, and found out I could get around the issue by simply NOT DOING ANYTHING when the autosave was saving. In previous failures I was actively cutting down a tree (I have a really big forest to clear).
EDIT:
EDIT 2: I ran into the problem again, and found out I could get around the issue by simply NOT DOING ANYTHING when the autosave was saving. In previous failures I was actively cutting down a tree (I have a really big forest to clear).
- Attachments
-
- _autosave2.zip
- Previous Successful AutoSave
- (7.5 MiB) Downloaded 114 times
-
- _autosave3.tmp.zip
- Corrupted Save
- (1.61 MiB) Downloaded 117 times
-
- factorio-current.log
- Log of session where error occured
- (5.34 KiB) Downloaded 116 times
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
That is quite interesting.KibbeZero wrote:I ran into this problem starting today. I've played 8 hours on this map without problems until today. The log and save files are attached. I have no mods installed.
EDIT:I was able to work around this issue by deleting "_autosave_3.tmp.zip" and "_autosave_3.zip". Since I deleted them at the same time I do not know which deletion fixed the issue.
EDIT 2: I ran into the problem again, and found out I could get around the issue by simply NOT DOING ANYTHING when the autosave was saving. In previous failures I was actively cutting down a tree (I have a really big forest to clear).
Can you reliably produce the crash? If so please describe the procedure as exact as possible and base it on a savegame that you have provided or can provide additionally.
Thank you.
-
- Burner Inserter
- Posts: 9
- Joined: Fri Sep 23, 2016 8:15 pm
- Contact:
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
I have solved my problem too. Increasing memory from 2 GB to 4 GB did the trick.
I note that the minimum requirements for Factorio are stated as 2 GB. Maybe time to revise that?
I note that the minimum requirements for Factorio are stated as 2 GB. Maybe time to revise that?
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
That is the minimum to run the game on a small map, for any amount of memory, you can make map that is too big to hold it, but yes, we could increase it to 4GB.LuckyBadger wrote:I have solved my problem too. Increasing memory from 2 GB to 4 GB did the trick.
I note that the minimum requirements for Factorio are stated as 2 GB. Maybe time to revise that?
-
- Burner Inserter
- Posts: 9
- Joined: Fri Sep 23, 2016 8:15 pm
- Contact:
Re: [0.13.20] [Win10/Steam] Crash on autosave: "(113): Chunk::preSaveHook"
In that case, may I suggest just adding a note that 2 GB is only adequate for small maps? (As opposed to increasing the minimum to 4 GB.) That way, you don't cut yourself off from potential customers with older machines. But give them a reason to upgrade later
Edit: Lack of memory may also explain the random crashes I get when playing on Windows XP, so maybe add a note for those users too.
Edit: Lack of memory may also explain the random crashes I get when playing on Windows XP, so maybe add a note for those users too.