[Rseding91] [0.15.18] Crash when loading a save with item-with-tags

This subforum contains all the issues which we already resolved.
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

[Rseding91] [0.15.18] Crash when loading a save with item-with-tags

Post by justarandomgeek »

I'm developing a mod to use an item-with-tags to store circuit data, but while testing it I reloaded to update my control script and got the following log:

Code: Select all

   0.002 2017-06-03 22:05:08; Factorio 0.15.18 (build 30150, win64, alpha)
   0.002 Operating system: Windows 10 (version 1607) 
   0.002 Program arguments: "D:\factorio\Factorio_0.15.0\bin\x64\factorio.exe" 
   0.002 Read data path: D:/factorio/Factorio_0.15.0/data
   0.002 Write data path: D:/factorio/Factorio_0.15.0
   0.002 Binaries path: D:/factorio/Factorio_0.15.0/bin
   0.009 System info: [CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz, 12 cores, RAM: 65444MB]
   0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 2]
   0.011 Available display adapters: 3
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
   0.022  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1080 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.022  [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 1080 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.023 Create display on adapter 2. Size 1280x720 at position [310, 162].
   0.104 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080; driver: nvldumdx.dll 22.21.13.8205
   0.109     Video memory size (dedicated video/dedicated system/shared system/available): 8110/0/32722/4092 MB
   0.155 DSound: Starting _dsound_update thread
   0.155 DSound: Enter _dsound_update; tid=43108
   0.155 Device reset internal.
   0.159 Desktop composition is active.
   0.159 Graphics settings preset: very-high
   0.159 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.331 Loading mod settings Factorissimo2 2.1.0 (settings.lua)
   0.331 Loading mod settings palettecleanser 0.15.2 (settings.lua)
   0.332 Loading mod settings nixie-tubes 0.15.19 (settings.lua)
   0.335 Loading mod core 0.0.0 (data.lua)
   0.344 Loading mod base 0.15.18 (data.lua)
   0.450 Loading mod FARL 1.0.0 (data.lua)
   0.478 Loading mod LogisticTrainNetwork 1.1.2 (data.lua)
   0.505 Loading mod color-coding 1.15.3 (data.lua)
   0.534 Loading mod combinatorgraph 0.15.1 (data.lua)
   0.562 Loading mod datatape 0.15.0 (data.lua)
   0.588 Loading mod Factorissimo2 2.1.0 (data.lua)
   0.682 Loading mod location-combinator 0.15.1 (data.lua)
   0.751 Loading mod move-tool 0.1.0 (data.lua)
   0.817 Loading mod palettecleanser 0.15.2 (data.lua)
   0.903 Loading mod Power Armor MK3 0.0.5 (data.lua)
   0.988 Loading mod pushbutton 0.15.6 (data.lua)
   1.056 Loading mod research-queue 1.5.1 (data.lua)
   1.121 Loading mod scammer 0.15.1 (data.lua)
   1.191 Loading mod Screenshot_Tool 0.1.0 (data.lua)
   1.271 Loading mod wirestripper 0.15.0 (data.lua)
   1.357 Loading mod conman 0.15.4 (data.lua)
   1.451 Loading mod nixie-tubes 0.15.19 (data.lua)
   1.526 Loading mod player-combinator 0.15.3 (data.lua)
   1.594 Loading mod research-combinator 0.15.4 (data.lua)
   1.662 Loading mod stringy-train-stop 0.15.1 (data.lua)
   1.738 Loading mod base 0.15.18 (data-updates.lua)
   1.809 Loading mod FARL 1.0.0 (data-updates.lua)
   1.877 Loading mod Bot Landfill 1.0.0 (data-updates.lua)
   1.960 Loading mod FARL 1.0.0 (data-final-fixes.lua)
   2.042 Loading mod LogisticTrainNetwork 1.1.2 (data-final-fixes.lua)
   2.042 Script data-final-fixes.lua:2: [LTN] generating virtual signals
   2.042 Script data-final-fixes.lua:15: [LTN] 2 locomotives added
   2.042 Script data-final-fixes.lua:45: [LTN] 1 wagons added
   2.112 Loading mod research-queue 1.5.1 (data-final-fixes.lua)
   2.186 Loading mod nixie-tubes 0.15.19 (data-final-fixes.lua)
   2.279 Checksum for core: 368996287
   2.279 Checksum of base: 3838408653
   2.279 Checksum of FARL: 1993721406
   2.279 Checksum of LogisticTrainNetwork: 4130769595
   2.279 Checksum of Bot Landfill: 2112801366
   2.279 Checksum of color-coding: 1304164671
   2.279 Checksum of combinatorgraph: 822375060
   2.279 Checksum of crashed-engineer-start: 0
   2.279 Checksum of datatape: 2569672943
   2.279 Checksum of Factorissimo2: 2225128871
   2.279 Checksum of location-combinator: 912177564
   2.280 Checksum of move-tool: 1643858141
   2.280 Checksum of palettecleanser: 2235835634
   2.280 Checksum of Power Armor MK3: 2896806364
   2.280 Checksum of pushbutton: 3567178136
   2.280 Checksum of recipeid: 0
   2.280 Checksum of research-queue: 615097349
   2.280 Checksum of scammer: 3219988858
   2.280 Checksum of Screenshot_Tool: 2817577247
   2.280 Checksum of signalstrings: 0
   2.280 Checksum of wirestripper: 1828094396
   2.280 Checksum of conman: 273182504
   2.280 Checksum of nixie-tubes: 170316161
   2.280 Checksum of player-combinator: 3763369866
   2.280 Checksum of research-combinator: 357749944
   2.280 Checksum of stringy-train-stop: 2362220893
   2.738 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1496540893
   2.738 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   2.927 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/game.cso
   2.927 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/zoom-to-world.cso
   2.950 Initial atlas bitmap size is 16384
   2.955 Created atlas bitmap 16384x9740
   3.331 Created atlas bitmap 16384x3530
   3.433 Created atlas bitmap 16384x2545
   3.492 Created atlas bitmap 8192x1920
   3.531 Created atlas bitmap 8192x800
   3.540 Created atlas bitmap 8192x2108
  20.048 Sprites loaded
  20.048 Convert atlas 8192x1920 to: mipmap 
  20.154 Convert atlas 8192x800 to: mipmap 
  20.282 Convert atlas 8192x2108 to: trilinear-filtering 
  21.616 Loading sounds...
  23.682 Custom inputs active: 5
  23.727 Factorio initialised
  29.312 Loading map D:\factorio\Factorio_0.15.0\saves\_autosave3.zip: 6690237 bytes.
  29.564 Loading Level.dat: 38329480 bytes.
  29.568 Info Scenario.cpp:134: Map version 0.15.18-0
  30.777 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x00007ff64801d4c2
ModuleBase: 0x00007ff647f50000, ImageSize: 011f9000, RelativeAddress: 000cd4c2
  30.777 Error CrashHandler.cpp:151: Exception Context:
rax=0000000000000000, rbx=0000262600000001, rcx=000002203efc1c70,
rdx=000002203eea35c0, rsi=000002203efc1c70, rdi=000000000002aeac,
rip=00007ff64801d4c2, rsp=000000351c36c430, rbp=000002203eea35c0,
 r8=00000000000045fa,  r9=000002203efc1d00, r10=000002203ed4bfd0,
r11=000002206a0512c0, r12=0000000000000000, r13=000002203e403bb0,
r14=0000000000000000, r15=000002203e403b00
  30.777 Crashed in D:\factorio\Factorio_0.15.0\bin\x64\factorio.exe (0x00007ff647f50000 - 0x00007ff649149000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-myuen1\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-myuen1\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-myuen1\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-myuen1\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-myuen1\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987B84F77)
00007FF987B84F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A86ED1B)
00007FF98A86ED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A856BD6)
00007FF98A856BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A86AB9D)
00007FF98A86AB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A809913)
00007FF98A809913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A869CBA)
00007FF98A869CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-myuen1\src\energy\electricenergysource.cpp (485): ElectricEnergySource::migrateDataTo
c:\cygwin64\tmp\factorio-myuen1\src\energy\electricsubnetwork.cpp (725): ElectricSubNetwork::deAllocateEnergySource
c:\cygwin64\tmp\factorio-myuen1\src\entity\roboport.cpp (179): Roboport::~Roboport
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6480E6364)
00007FF6480E6364 (factorio): (filename not available): Roboport::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-myuen1\src\map\advancedtile.cpp (82): AdvancedTile::~AdvancedTile
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF648A9E8B0)
00007FF648A9E8B0 (factorio): (filename not available): `eh vector destructor iterator'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF648469711)
00007FF648469711 (factorio): (filename not available): std::array<AdvancedTile,16>::~array<AdvancedTile,16>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF648A9E8B0)
00007FF648A9E8B0 (factorio): (filename not available): `eh vector destructor iterator'
c:\cygwin64\tmp\factorio-myuen1\src\surface\chunk.cpp (648): Chunk::~Chunk
c:\cygwin64\tmp\factorio-myuen1\src\surface\surface.cpp (705): Surface::~Surface
c:\cygwin64\tmp\factorio-myuen1\src\map\map.cpp (1046): Map::~Map
c:\program files (x86)\microsoft visual studio 14.0\vc\include\memory (1396): std::unique_ptr<Map,std::default_delete<Map> >::~unique_ptr<Map,std::default_delete<Map> >
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF648B4ABCD)
00007FF648B4ABCD (factorio): (filename not available): `Map::load'::`1'::dtor$1
f:\dd\vctools\crt\vcruntime\src\eh\amd64\handlers.asm (50): _CallSettingFrame
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (1119): __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: 00007FF98A86AC1D)
00007FF98A86AC1D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A80A2AA)
00007FF98A80A2AA (ntdll): (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 (1268): 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 (114): __GSHandlerCheck_EH
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A86AB9D)
00007FF98A86AB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A809913)
00007FF98A809913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A80B629)
00007FF98A80B629 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987B63C58)
00007FF987B63C58 (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (136): _CxxThrowException
c:\cygwin64\tmp\factorio-myuen1\src\util\deserialiser.hpp (186): Deserialiser::readOrThrow
c:\cygwin64\tmp\factorio-myuen1\src\util\propertytree.cpp (88): PropertyTree::PropertyTree
c:\cygwin64\tmp\factorio-myuen1\src\util\propertytree.cpp (88): PropertyTree::PropertyTree
c:\cygwin64\tmp\factorio-myuen1\src\util\propertytree.cpp (88): PropertyTree::PropertyTree
c:\cygwin64\tmp\factorio-myuen1\src\map\mapdeserialiser.hpp (187): MapDeserialiser::Loader<std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,PropertyTree,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,PropertyTree> > >,void>::load
c:\cygwin64\tmp\factorio-myuen1\src\item\itemwithtags.cpp (20): ItemWithTags::ItemWithTags
c:\cygwin64\tmp\factorio-myuen1\src\item\itemwithtagsprototype.cpp (17): ItemWithTagsPrototype::create
c:\cygwin64\tmp\factorio-myuen1\src\item\itemstack.cpp (182): ItemStack::load
c:\cygwin64\tmp\factorio-myuen1\src\item\inventory.cpp (350): Inventory::load
c:\cygwin64\tmp\factorio-myuen1\src\item\inventory.cpp (23): Inventory::Inventory
c:\cygwin64\tmp\factorio-myuen1\src\entity\craftingmachine.cpp (64): CraftingMachine::CraftingMachine
c:\cygwin64\tmp\factorio-myuen1\src\entity\furnace.cpp (28): Furnace::Furnace
c:\cygwin64\tmp\factorio-myuen1\src\entity\furnaceprototype.cpp (25): FurnacePrototype::createInternal
c:\cygwin64\tmp\factorio-myuen1\src\entity\entityprototype.cpp (461): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-myuen1\src\surface\chunk.cpp (425): Chunk::load
c:\cygwin64\tmp\factorio-myuen1\src\surface\surface.cpp (662): Surface::load
c:\cygwin64\tmp\factorio-myuen1\src\map\map.cpp (594): Map::loadData
c:\cygwin64\tmp\factorio-myuen1\src\map\map.cpp (278): Map::load
c:\cygwin64\tmp\factorio-myuen1\src\scenario\scenario.cpp (141): Scenario::loadFactory
c:\cygwin64\tmp\factorio-myuen1\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: 00007FF98A0E8364)
00007FF98A0E8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF98A8270D1)
00007FF98A8270D1 (ntdll): (filename not available): RtlUserThreadStart
  32.200 Error Util.cpp:80: 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.

The item-with-tags has one tag, "datatape" which is an array of ConstantCombinatorParameters

https://github.com/justarandomgeek/factorio-datatape is the mod in question, but as the log shows there are several others.
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

Re: [0.15.18] Crash when loading a save with item-with-tags

Post by justarandomgeek »

Savefile + mods
Attachments
bugmods.zip
(25.27 MiB) Downloaded 147 times
_autosave3.zip
(6.38 MiB) Downloaded 155 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15251
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.15.18] Crash when loading a save with item-with-tags

Post by Rseding91 »

Thanks for the save and mods. It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”