[0.16.4] Crash on load of 0.14 map: Player::`scalar deleting destructor

Things that has been reported already before.
rbtcollins
Inserter
Inserter
Posts: 26
Joined: Thu Jan 01, 2015 7:03 am
Contact:

[0.16.4] Crash on load of 0.14 map: Player::`scalar deleting destructor

Post by rbtcollins »

Loading a map I have from a while back I trigger this crash.



Code: Select all

800.121 Loading map C:\Users\robertc\AppData\Roaming\Factorio\saves\TimedStart18g.zip: 10224072 bytes.
 800.177 Loading Level.dat: 20160389 bytes.
 800.187 Info Scenario.cpp:135: Map version 0.14.13-2
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2016-11-24_Factorio_0.15.0.json
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-01-17_Factorio_0.15.0.json
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-01-18_Factorio_0.15.0.json
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-02-08_Factorio_0.15.0.json
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-03-03_Factorio_0.15.0.json
 800.190 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-12-03_Factorio_0.16.0.json
 801.825 Warning Map.cpp:294: Map loading failed: Couldn't read from input file. File could be corrupted.
 801.974 Error CrashHandler.cpp:286: Exception Code: c0000005, Address: 0x00007ff6fc30ac27
ModuleBase: 0x00007ff6fb6f0000, ImageSize: 012da000, RelativeAddress: 00c1ac27
 801.974 Error CrashHandler.cpp:292: Access Violation: Read at address 0000000000000008
 801.974 Error CrashHandler.cpp:308: Exception Context:
rax=0000000000000000, rbx=000001ded9e47830, rcx=fffffffffffffff8,
rdx=0000000000000008, rsi=0000000000000008, rdi=0000000000000000,
rip=00007ff6fc30ac27, rsp=0000001f3b04a268, rbp=0000000000000000,
 r8=000001e003993ab0,  r9=0000000000008000, r10=0000000000000008,
r11=000001df26b21320, r12=00000000ffffffff, r13=0000001f3b04a640,
r14=0000000000000000, r15=0000000000000000
 801.974 Crashed in D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff6fb6f0000 - 0x00007ff6fc9ca000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-5uhluj\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-5uhluj\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-5uhluj\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-5uhluj\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-5uhluj\src\util\crashhandler.cpp (334): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF588F6913)
00007FFF588F6913 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BADDA9D)
00007FFF5BADDA9D (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BAC6466)
00007FFF5BAC6466 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BADA07D)
00007FFF5BADA07D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BA49C58)
00007FFF5BA49C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BAD90FE)
00007FFF5BAD90FE (ntdll): (filename not available): KiUserExceptionDispatcher
f:\dd\vctools\crt\vcruntime\src\string\amd64\memcpy.asm (137): memcpy
c:\cygwin64\tmp\factorio-5uhluj\src\player.cpp (237): Player::~Player
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6FBE15BB4)
00007FF6FBE15BB4 (Factorio): (filename not available): Player::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-5uhluj\src\map\map.cpp (1033): Map::~Map
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\memory (2337): std::unique_ptr<Map,std::default_delete<Map> >::~unique_ptr<Map,std::default_delete<Map> >
f:\dd\vctools\crt\vcruntime\src\eh\amd64\handlers.asm (50): _CallSettingFrame
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (974): __FrameUnwindToState
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (179): __FrameUnwindToEmptyState
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (305): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (205): __CxxFrameHandler3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BADA0FD)
00007FFF5BADA0FD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BA488D8)
00007FFF5BA488D8 (ntdll): (filename not available): RtlUnwindEx
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (508): _UnwindNestedFrames
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1126): CatchIt
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (592): FindHandler
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (357): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp (205): __CxxFrameHandler3
f:\dd\vctools\crt\vcstartup\src\gs\amd64\gshandlereh.c (114): __GSHandlerCheck_EH
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BADA07D)
00007FFF5BADA07D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BA49C58)
00007FFF5BA49C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BA45851)
00007FFF5BA45851 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF58959D98)
00007FFF58959D98 (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1186): __CxxCallCatchBlock
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BAD9603)
00007FFF5BAD9603 (ntdll): (filename not available): RtlCaptureContext
c:\cygwin64\tmp\factorio-5uhluj\src\map\map.cpp (271): Map::load
c:\cygwin64\tmp\factorio-5uhluj\src\scenario\scenario.cpp (142): Scenario::loadFactory
c:\cygwin64\tmp\factorio-5uhluj\src\scenario\parallelscenarioloader.cpp (116): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): 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> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (211): 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: 00007FFF59C62774)
00007FFF59C62774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5BAA0D51)
00007FFF5BAA0D51 (ntdll): (filename not available): RtlUserThreadStart
 805.733 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.
 810.239 Creating crash dump.
 810.512 CrashDump success
Attachments
mods.zip
(113.1 MiB) Downloaded 139 times
TimedStart18g.zip
(9.75 MiB) Downloaded 89 times
factorio-dump-previous.dmp
(807.51 KiB) Downloaded 102 times
factorio-previous.log
(97.63 KiB) Downloaded 91 times
Linnun
Inserter
Inserter
Posts: 48
Joined: Fri Dec 15, 2017 5:51 am
Contact:

Re: [0.16.4] Crash Player::`scalar deleting destructor

Post by Linnun »

Does the crash also occur when you are not using any mods?
rbtcollins
Inserter
Inserter
Posts: 26
Joined: Thu Jan 01, 2015 7:03 am
Contact:

Re: [0.16.4] Crash Player::`scalar deleting destructor

Post by rbtcollins »

Yes, occurs without mods too.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14591
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.4] Crash Player::`scalar deleting destructor

Post by Rseding91 »

Thanks for the report. Your map was saved in 0.14.13 which happens to be when a specific bug caused the save to become unloadable if you changed any entities/prototypes and tried to load it.

If you take the mods and load it in 0.14.14 and re-save it, it will be loadable in any future version.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Duplicates”