[0.13.10,11] Crash loading save file on Linux

This subforum contains all the issues which we already resolved.
Post Reply
Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

[0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

Log file attached. Save file is from 0.13.9.
Attachments
TIMEWASTER.zip
(51.12 MiB) Downloaded 182 times
factorio-current.log
(7.91 KiB) Downloaded 137 times

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

Re: [0.13.10,11] Crash loading save file on Linux

Post by posila »

Hi, thanks for the report.
When I load the save in vanilla Factorio it loads fine. Can you share your mod folder, please?

Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

I stripped all mods from factorio and still cannot load the save file... crashes half-way through loading (Thanks for the new GUI that makes mods easy to toggle!)
I then even physically deleted the mod directory to make sure there were no remnants.
I still get the crash, new log file attached (no mods). This is in 0.13.11 Linux x64.

Thanks for the always incredible addiction you have given us!


I like the details in the log file. As a developer, my own software doesn't give such great crash reports with not just the assert, but the callstack . Did you roll your own Logger.cpp or it based on some library?
Attachments
factorio-current.log
(7.45 KiB) Downloaded 127 times

Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

As a double check I just manually downloaded the x64 0.13.11 tarball and expanded it into a fresh install.
It also crashes loading the savefile.

Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

I downloaded 0.13.11 on Max OSX and tried loading the same save file. Again, crash on load with very similar assert() failures.
Log file from the Mac attached.
Attachments
factorio-current.log
(6.55 KiB) Downloaded 132 times

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by daniel34 »

posila wrote:Hi, thanks for the report.
When I load the save in vanilla Factorio it loads fine. Can you share your mod folder, please?
Doesn't load on Windows x64 0.13.9 and 0.13.11 either (without mods).

Code: Select all

   0.000 2016-07-27 21:55:12; Factorio 0.13.11 (build 23577, win64, alpha)
   0.000 Operating system: Windows 7 Service Pack 1
   0.000 Program arguments: "D:\Games\Factorio\bin\x64\Factorio.exe" 
   0.000 Read data path: D:/Games/Factorio/data
   0.000 Write data path: D:/Games/Factorio
   0.000 Binaries path: D:/Games/Factorio/bin
   0.015 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.016 Available display adapters: 1
   0.016  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 750 Ti {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.016 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.051 Initialised Direct3D:[0] NVIDIA GeForce GTX 750 Ti; driver: nvd3dumx.dll 10.18.13.5891
   0.053     Video memory size (dedicated video/dedicated system/shared system/available): 1993/0/2048/4038 MB
   0.076 Desktop composition is active.
   0.164 Loading mod core 0.0.0 (data.lua)
   0.177 Loading mod base 0.13.11 (data.lua)
   0.322 Checksum for core: 3471280900
   0.322 Checksum for mod base: 2556737699
   1.022 Initial atlas bitmap size is 16384
   1.027 Created atlas bitmap 16384x9326
   1.765 Created atlas bitmap 4096x968
   2.873 Atlases loaded from disk cache.
   3.673 Sprites loaded
   3.673 Convert atlas 4096x968 to: trilinear-filtering 
   4.076 Loading sounds...
   6.044 Custom inputs active: 0
   6.044 Info Updater.cpp:749: Downloading https://www.factorio.com/updater/get-available-versions?username=daniel34&token=<private>&apiVersion=2
   7.483 0 packages available to download (experimental updates enabled).
   7.565 Factorio initialised
  13.189 Loading map D:/Games\Factorio\saves\TIMEWASTER.zip
  13.247 Info Scenario.cpp:127: Map version 0.13.9-2
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-69zlzn\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\circuitnetwork\circuitconnector.cpp (291): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-69zlzn\src\circuitnetwork\circuitconnector.cpp (592): CircuitConnector::~CircuitConnector
c:\cygwin64\tmp\factorio-69zlzn\src\entity\electricpole.cpp (305): ElectricPole::~ElectricPole
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6F9714)
000000013F6F9714 (Factorio): (filename not available): ElectricPole::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-69zlzn\src\blueprint.cpp (77): Blueprint::clear
c:\cygwin64\tmp\factorio-69zlzn\src\blueprint.cpp (20): Blueprint::~Blueprint
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6C38A0)
000000013F6C38A0 (Factorio): (filename not available): BlueprintItem::~BlueprintItem
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6F6B64)
000000013F6F6B64 (Factorio): (filename not available): BlueprintItem::`scalar deleting destructor'
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1663): std::vector<ItemStack,std::allocator<ItemStack> >::_Tidy
f:\dd\vctools\crt\vcruntime\src\eh\amd64\handlers.asm (50): _CallSettingFrame
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1113): __FrameUnwindToState
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (149): __FrameUnwindToEmptyState
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (396): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (186): __CxxFrameHandler3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CD9D8D)
0000000076CD9D8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC8A2C)
0000000076CC8A2C (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076A72D4E)
0000000076A72D4E (kernel32): (filename not available): RtlUnwindEx
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (481): _UnwindNestedFrames
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1262): CatchIt
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (679): FindHandler
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (449): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (186): __CxxFrameHandler3
f:\dd\vctools\crt\vcstartup\src\gs\amd64\gshandlereh.c (101): __GSHandlerCheck_EH
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CD9D0D)
0000000076CD9D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC91AF)
0000000076CC91AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC97A8)
0000000076CC97A8 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FEFD43CACD)
000007FEFD43CACD (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (136): _CxxThrowException
c:\cygwin64\tmp\factorio-69zlzn\src\id\prototypelist.cpp (276): PrototypeList<ItemPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-69zlzn\src\id\prototypelist.cpp (264): PrototypeList<ItemPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-69zlzn\src\item\itemstack.cpp (160): ItemStack::load
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventory.cpp (340): Inventory::load
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventory.cpp (25): Inventory::Inventory
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventorywithfilters.cpp (25): InventoryWithFilters::InventoryWithFilters
c:\cygwin64\tmp\factorio-69zlzn\src\item\quickbar.cpp (24): QuickBar::QuickBar
c:\cygwin64\tmp\factorio-69zlzn\src\entity\character.cpp (845): Character::Character
c:\cygwin64\tmp\factorio-69zlzn\src\entity\characterprototype.cpp (128): CharacterPrototype::createInternal
c:\cygwin64\tmp\factorio-69zlzn\src\entity\entityprototype.cpp (374): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-69zlzn\src\surface\chunk.cpp (351): Chunk::load
c:\cygwin64\tmp\factorio-69zlzn\src\surface\surface.cpp (597): Surface::load
c:\cygwin64\tmp\factorio-69zlzn\src\map\map.cpp (530): Map::Map
c:\cygwin64\tmp\factorio-69zlzn\src\scenario\scenario.cpp (134): Scenario::loadFactory
c:\cygwin64\tmp\factorio-69zlzn\src\scenario\parallelscenarioloader.cpp (58): ParallelScenarioLoader::doLoad
c:\boost_1_61_0\boost\thread\detail\thread.hpp (117): boost::detail::thread_data<boost::_bi::bind_t<void,void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManager * __ptr64,bool),boost::_bi::list6<boost::_bi::value<ParallelScenarioLoader * __ptr64>,boost::_bi::value<MapDeserialiser * __ptr64>,boost::_bi::value<enum InputType>,boost::_bi::value<InputHandler * __ptr64>,boost::_bi::value<MultiplayerManager * __ptr64>,boost::_bi::value<bool> > > >::run
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FA84773)
000000013FA84773 (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: 0000000076A5652D)
0000000076A5652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CDC521)
0000000076CDC521 (ntdll): (filename not available): RtlUserThreadStart
  19.816 Error CircuitConnector.cpp:291: Trying to disconnect circuit connector in inconsistent state.
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-69zlzn\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\crashhandler.cpp (187): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-69zlzn\src\circuitnetwork\circuitconnector.cpp (291): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-69zlzn\src\circuitnetwork\circuitconnector.cpp (592): CircuitConnector::~CircuitConnector
c:\cygwin64\tmp\factorio-69zlzn\src\entity\electricpole.cpp (305): ElectricPole::~ElectricPole
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6F9714)
000000013F6F9714 (Factorio): (filename not available): ElectricPole::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-69zlzn\src\blueprint.cpp (77): Blueprint::clear
c:\cygwin64\tmp\factorio-69zlzn\src\blueprint.cpp (20): Blueprint::~Blueprint
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6C38A0)
000000013F6C38A0 (Factorio): (filename not available): BlueprintItem::~BlueprintItem
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F6F6B64)
000000013F6F6B64 (Factorio): (filename not available): BlueprintItem::`scalar deleting destructor'
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1663): std::vector<ItemStack,std::allocator<ItemStack> >::_Tidy
f:\dd\vctools\crt\vcruntime\src\eh\amd64\handlers.asm (50): _CallSettingFrame
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1113): __FrameUnwindToState
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (149): __FrameUnwindToEmptyState
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (396): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (186): __CxxFrameHandler3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CD9D8D)
0000000076CD9D8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC8A2C)
0000000076CC8A2C (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076A72D4E)
0000000076A72D4E (kernel32): (filename not available): RtlUnwindEx
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (481): _UnwindNestedFrames
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1262): CatchIt
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (679): FindHandler
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (449): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (186): __CxxFrameHandler3
f:\dd\vctools\crt\vcstartup\src\gs\amd64\gshandlereh.c (101): __GSHandlerCheck_EH
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CD9D0D)
0000000076CD9D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC91AF)
0000000076CC91AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CC97A8)
0000000076CC97A8 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FEFD43CACD)
000007FEFD43CACD (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (136): _CxxThrowException
c:\cygwin64\tmp\factorio-69zlzn\src\id\prototypelist.cpp (276): PrototypeList<ItemPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-69zlzn\src\id\prototypelist.cpp (264): PrototypeList<ItemPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-69zlzn\src\item\itemstack.cpp (160): ItemStack::load
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventory.cpp (340): Inventory::load
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventory.cpp (25): Inventory::Inventory
c:\cygwin64\tmp\factorio-69zlzn\src\item\inventorywithfilters.cpp (25): InventoryWithFilters::InventoryWithFilters
c:\cygwin64\tmp\factorio-69zlzn\src\item\quickbar.cpp (24): QuickBar::QuickBar
c:\cygwin64\tmp\factorio-69zlzn\src\entity\character.cpp (845): Character::Character
c:\cygwin64\tmp\factorio-69zlzn\src\entity\characterprototype.cpp (128): CharacterPrototype::createInternal
c:\cygwin64\tmp\factorio-69zlzn\src\entity\entityprototype.cpp (374): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-69zlzn\src\surface\chunk.cpp (351): Chunk::load
c:\cygwin64\tmp\factorio-69zlzn\src\surface\surface.cpp (597): Surface::load
c:\cygwin64\tmp\factorio-69zlzn\src\map\map.cpp (530): Map::Map
c:\cygwin64\tmp\factorio-69zlzn\src\scenario\scenario.cpp (134): Scenario::loadFactory
c:\cygwin64\tmp\factorio-69zlzn\src\scenario\parallelscenarioloader.cpp (58): ParallelScenarioLoader::doLoad
c:\boost_1_61_0\boost\thread\detail\thread.hpp (117): boost::detail::thread_data<boost::_bi::bind_t<void,void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManager * __ptr64,bool),boost::_bi::list6<boost::_bi::value<ParallelScenarioLoader * __ptr64>,boost::_bi::value<MapDeserialiser * __ptr64>,boost::_bi::value<enum InputType>,boost::_bi::value<InputHandler * __ptr64>,boost::_bi::value<MultiplayerManager * __ptr64>,boost::_bi::value<bool> > > >::run
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FA84773)
000000013FA84773 (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: 0000000076A5652D)
0000000076A5652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CDC521)
0000000076CDC521 (ntdll): (filename not available): RtlUserThreadStart
  24.012 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.
quick links: log file | graphical issues | wiki

Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

I ruled out a corrupted .zip savefile, since I have three _autosaveX.zip files from the same game which all also do not load.

That logfile of the crash when loading one of those is attached here, it looks pretty similar to the TIMEWASTER.zip crash logfile.
Attachments
factorio-current.log
(6.41 KiB) Downloaded 108 times

nonstickfrypan
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Fri Apr 15, 2016 9:02 am
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by nonstickfrypan »

Radioactive Pretzels wrote:I like the details in the log file. As a developer, my own software doesn't give such great crash reports with not just the assert, but the callstack . Did you roll your own Logger.cpp or it based on some library?
http://www.codeproject.com/Articles/111 ... -callstack

Radioactive Pretzels
Inserter
Inserter
Posts: 43
Joined: Mon Jul 25, 2016 11:12 pm
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Radioactive Pretzels »

Good news! Seems (sorta) fixed in 0.13.13!

I say "sorta" because if I load the save, it now succeeds and the game starts great, but if I save the game again (even immediately) the new save won't load.. it just hangs and I have to force quit Factorio.

BUT I found this does not happen if mods are disabled, and in particular just the "AutoDeconstruct" mod.
So this may be a new problem, but this update now exposed a MOD bug and not Factorio!
I wonder if the original crash symptom had something to due with AutoDeconstruct's saved data.

Whew.. I was getting worried. I have about 190 hours in this world, and all of my last 50 hours of play had this "can't load" bug.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.10,11] Crash loading save file on Linux

Post by Rseding91 »

Radioactive Pretzels wrote:Good news! Seems (sorta) fixed in 0.13.13!

I say "sorta" because if I load the save, it now succeeds and the game starts great, but if I save the game again (even immediately) the new save won't load.. it just hangs and I have to force quit Factorio.

BUT I found this does not happen if mods are disabled, and in particular just the "AutoDeconstruct" mod.
So this may be a new problem, but this update now exposed a MOD bug and not Factorio!
I wonder if the original crash symptom had something to due with AutoDeconstruct's saved data.

Whew.. I was getting worried. I have about 190 hours in this world, and all of my last 50 hours of play had this "can't load" bug.
Can you make a new bug report with all of the mods and save file(s) needed + steps to reproduce the new issue?
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”