Page 1 of 1

[0.15.12] Crash when loading save after disabling mod on: "ElectricEnergySource::migrateDataTo"

Posted: Sat May 20, 2017 10:15 am
by BlakkCooper
After playing on my world with 5dim's battlefield mod I got tired of enemy biters exploding through my defenses so I wanted to disable it.

When I disable 5dim's battlefield mod and try to load the last 2 save files both times the came crashes. After re-enabling the mod it loads fine again.

Code: Select all

   0.004 2017-05-20 12:02:58; Factorio 0.15.12 (build 29834, win64, steam)
   0.005 Operating system: Windows 7 Service Pack 1
   0.005 Program arguments: "D:\Spiele\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--force-d3d" "--force-opengl" "--wait-to-close" "2400" 
   0.005 Read data path: D:/Spiele/Steam/steamapps/common/Factorio/data
   0.005 Write data path: C:/Users/Benis/AppData/Roaming/Factorio
   0.005 Binaries path: D:/Spiele/Steam/steamapps/common/Factorio/bin
   0.021 System info: [CPU: AMD FX(tm)-6350 Six-Core Processor             , 6 cores, RAM: 16283MB]
   0.021 Display options: [FullScreen: 0] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.023 Available display adapters: 1
   0.023  [0]: \\.\DISPLAY1 - AMD Radeon R7 200 Series {0x8080005, [0,0], 1920x1080, 32bit, 60Hz}
   0.024 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.044 Could not bring the window to foreground.
   0.315 Initialised OpenGL:[0] AMD Radeon R7 200 Series; driver: 4.5.13474 Compatibility Profile Context 22.19.162.4
   0.387 DSound: Starting _dsound_update thread
   0.387 DSound: Enter _dsound_update; tid=5560
   0.387 Desktop composition is active.
   0.387 Graphics settings preset: medium
   0.388 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: false]
   0.585 Loading mod settings Factorissimo2 2.1.5 (settings.lua)
   0.586 Loading mod settings reverse-factory 4.0.3 (settings.lua)
   0.586 Loading mod settings Swarm 1.1.0 (settings.lua)
   0.586 Loading mod settings 5dim_core 0.15.7 (settings-updates.lua)
   0.593 Loading mod core 0.0.0 (data.lua)
   0.609 Loading mod base 0.15.12 (data.lua)
   0.749 Loading mod 5dim_core 0.15.7 (data.lua)
   0.856 Loading mod 200 Inventory Size 0.15.0 (data.lua)
   0.950 Loading mod autofill 1.4.8 (data.lua)
   1.055 Loading mod Big_Brother 0.4.3 (data.lua)
   1.167 Loading mod EvoGUI 0.4.202 (data.lua)
   1.289 Loading mod Factorissimo2 2.1.5 (data.lua)
   1.562 Loading mod Foreman 2.0.4 (data.lua)
   1.892 Loading mod integratedCircuitry 0.0.4 (data.lua)
   2.135 Loading mod Laser_Beam_Turrets 0.1.9 (data.lua)
   2.387 Loading mod programmable-controllers 0.15.0 (data.lua)
   2.694 Loading mod reverse-factory 4.0.3 (data.lua)
   2.923 Loading mod TimeTools 1.0.28 (data.lua)
   3.164 Loading mod Warehousing v15 0.0.13 (data.lua)
   3.428 Loading mod WaterWell 1.0.18 (data.lua)
   3.726 Loading mod 5dim_automatization 0.15.5 (data.lua)
   3.990 Loading mod 5dim_decoration 0.15.1 (data.lua)
   4.270 Loading mod 5dim_energy 0.15.7 (data.lua)
   4.596 Loading mod 5dim_equipment 0.15.3 (data.lua)
   4.854 Loading mod 5dim_logistic 0.15.1 (data.lua)
   5.133 Loading mod 5dim_mining 0.15.2 (data.lua)
   5.457 Loading mod 5dim_module 0.15.2 (data.lua)
   5.725 Loading mod 5dim_resources 0.15.3 (data.lua)
   5.996 Loading mod 5dim_trains 0.15.1 (data.lua)
   6.322 Loading mod 5dim_transport 0.15.4 (data.lua)
   6.619 Loading mod 5dim_vehicle 0.15.1 (data.lua)
   6.955 Loading mod base 0.15.12 (data-updates.lua)
   7.238 Loading mod 5dim_core 0.15.7 (data-updates.lua)
   7.527 Loading mod Big_Brother 0.4.3 (data-updates.lua)
   7.873 Loading mod Squeak Through 1.1.7 (data-updates.lua)
   8.056 Loading mod reverse-factory 4.0.3 (data-final-fixes.lua)
   8.434 Loading mod tree_collision 0.4.1 (data-final-fixes.lua)
   8.723 Checksum for core: 3549671022
   8.723 Checksum of base: 2844691227
   8.723 Checksum of 5dim_core: 3592999158
   8.723 Checksum of 200 Inventory Size: 3799817634
   8.723 Checksum of AutoDeconstruct: 0
   8.723 Checksum of autofill: 3086359458
   8.723 Checksum of Big_Brother: 1188679049
   8.723 Checksum of EvoGUI: 1040096666
   8.723 Checksum of Factorissimo2: 4006695402
   8.723 Checksum of Foreman: 730179224
   8.723 Checksum of integratedCircuitry: 3674985363
   8.723 Checksum of Laser_Beam_Turrets: 792444050
   8.723 Checksum of programmable-controllers: 1120515014
   8.723 Checksum of reverse-factory: 1093216125
   8.723 Checksum of SkipSpaghettiPhase: 0
   8.723 Checksum of Squeak Through: 3430405470
   8.723 Checksum of TimeTools: 2810132781
   8.723 Checksum of tree_collision: 3231141521
   8.723 Checksum of Warehousing v15: 451246801
   8.723 Checksum of WaterWell: 3530443325
   8.723 Checksum of 5dim_automatization: 627623309
   8.723 Checksum of 5dim_decoration: 3295409962
   8.723 Checksum of 5dim_energy: 3848437450
   8.723 Checksum of 5dim_equipment: 3972115192
   8.723 Checksum of 5dim_logistic: 910810633
   8.723 Checksum of 5dim_mining: 2209107325
   8.723 Checksum of 5dim_module: 1417243650
   8.723 Checksum of 5dim_resources: 2322803821
   8.723 Checksum of 5dim_trains: 274634287
   8.723 Checksum of 5dim_transport: 3609785660
   8.723 Checksum of 5dim_vehicle: 3068950422
   8.724 Checksum of Swarm: 1765238704
   9.216 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1495274577
   9.216 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   9.374 Loaded shader file D:/Spiele/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   9.375 Loaded shader file D:/Spiele/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   9.393 Crop bitmaps.
   9.619 Initial atlas bitmap size is 16384
   9.621 Created atlas bitmap 16384x7375
   9.621 Created atlas bitmap 8192x2218
   9.622 Created atlas bitmap 8192x1443
   9.622 Created atlas bitmap 4096x3656
   9.622 Created atlas bitmap 4096x1568
   9.623 Created atlas bitmap 4096x2188
  34.623 Sprites loaded
  34.623 Convert atlas 4096x3656 to: mipmap 
  34.943 Convert atlas 4096x1568 to: mipmap 
  35.074 Convert atlas 4096x2188 to: trilinear-filtering 
  35.191 Loading sounds...
  37.871 Custom inputs active: 9
  37.947 Factorio initialised
  41.858 Loading map C:\Users\Benis\AppData\Roaming\Factorio\saves\B27.zip: 89484325 bytes.
  41.911 Loading Level.dat: 195481304 bytes.
  41.919 Info Scenario.cpp:133: Map version 0.15.12-0
  45.843 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x000000013f31f162
ModuleBase: 0x000000013f250000, ImageSize: 011c3000, RelativeAddress: 000cf162
  45.843 Error CrashHandler.cpp:151: Exception Context:
rax=0000000000000000, rbx=0000013500000000, rcx=0000000069a7c148,
rdx=0000000069a73fa8, rsi=0000000069a7c148, rdi=000000000000a428,
rip=000000013f31f162, rsp=000000000ac9c660, rbp=0000000069a73fa8,
 r8=000000000000022a,  r9=0000000069a7c1d0, r10=0000000069a69af8,
r11=ec1bee1c008e0013, r12=0000000000000000, r13=0000000019c8c380,
r14=0000000000000000, r15=0000000019c8c2d0
  45.843 Crashed in D:\Spiele\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x000000013f250000 - 0x0000000140413000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-m7qjfs\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-m7qjfs\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-m7qjfs\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-m7qjfs\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-m7qjfs\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007744BC10)
000000007744BC10 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077650108)
0000000077650108 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775E7958)
00000000775E7958 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775F812D)
00000000775F812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775E855F)
00000000775E855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007761BCB8)
000000007761BCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-m7qjfs\src\energy\electricenergysource.cpp (483): ElectricEnergySource::migrateDataTo
c:\cygwin64\tmp\factorio-m7qjfs\src\energy\electricsubnetwork.cpp (725): ElectricSubNetwork::deAllocateEnergySource
c:\cygwin64\tmp\factorio-m7qjfs\src\entity\electricturret.cpp (29): ElectricTurret::~ElectricTurret
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F3675E4)
000000013F3675E4 (Factorio): (filename not available): ElectricTurret::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-m7qjfs\src\map\advancedtile.cpp (82): AdvancedTile::~AdvancedTile
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FD7BE78)
000000013FD7BE78 (Factorio): (filename not available): `eh vector destructor iterator'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F608E51)
000000013F608E51 (Factorio): (filename not available): std::array<AdvancedTile,16>::~array<AdvancedTile,16>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FD7BE78)
000000013FD7BE78 (Factorio): (filename not available): `eh vector destructor iterator'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F608D9A)
000000013F608D9A (Factorio): (filename not available): Chunk::~Chunk
c:\cygwin64\tmp\factorio-m7qjfs\src\surface\surface.cpp (705): Surface::~Surface
c:\cygwin64\tmp\factorio-m7qjfs\src\map\map.cpp (1043): 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: 000000013FE27B2D)
000000013FE27B2D (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: 00000000775F81AD)
00000000775F81AD (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775E7DDC)
00000000775E7DDC (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773E052E)
00000000773E052E (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 (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: 00000000775F812D)
00000000775F812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775E855F)
00000000775E855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775E8B58)
00000000775E8B58 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FEFD7FA06D)
000007FEFD7FA06D (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (136): _CxxThrowException
c:\cygwin64\tmp\factorio-m7qjfs\src\id\prototypelist.cpp (301): PrototypeList<EntityPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-m7qjfs\src\id\prototypelist.cpp (289): PrototypeList<EntityPrototype>::getCovariantPrototypeForRemovedPrototype
c:\cygwin64\tmp\factorio-m7qjfs\src\entity\entityprototype.cpp (446): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-m7qjfs\src\surface\chunk.cpp (425): Chunk::load
c:\cygwin64\tmp\factorio-m7qjfs\src\surface\surface.cpp (662): Surface::load
c:\cygwin64\tmp\factorio-m7qjfs\src\map\map.cpp (594): Map::loadData
c:\cygwin64\tmp\factorio-m7qjfs\src\map\map.cpp (278): Map::load
c:\cygwin64\tmp\factorio-m7qjfs\src\scenario\scenario.cpp (140): Scenario::loadFactory
c:\cygwin64\tmp\factorio-m7qjfs\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: 00000000773C59CD)
00000000773C59CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775FA561)
00000000775FA561 (ntdll): (filename not available): RtlUserThreadStart
  52.495 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.
Save file: B27.zip

Re: [0.15.12] Crash when loading save after disabling mod on: "ElectricEnergySource::migrateDataTo"

Posted: Sat May 20, 2017 5:41 pm
by Rseding91
Thanks for the save. It's now fixed for the next version of 0.15.