[Rseding91] [0.16.6] Crash when loading map without activating mods.

This subforum contains all the issues which we already resolved.
Post Reply
Zavian
Smart Inserter
Smart Inserter
Posts: 1641
Joined: Thu Mar 02, 2017 2:57 am
Contact:

[Rseding91] [0.16.6] Crash when loading map without activating mods.

Post by Zavian »

Reproduction recipe. Download the attached save. Factorio crashes when I attempt to load it. Seen on 0.16.4, and reproduced today on 0.16.6.

Note that this map was created using https://mods.factorio.com/mods/Chrisgbk ... e-mode-fix, and but triggers when I attempt to load that map with creative mod disabled. No other mods have been installed on this version.

Code: Select all

   0.001 2017-12-19 14:59:24; Factorio 0.16.6 (build 34439, win64, alpha)
   0.001 Operating system: Windows 10 (version 1607) 
   0.001 Program arguments: "D:\foo\Factorio_0.16.0\bin\x64\factorio.exe" "--wait-to-close" "15860" 
   0.001 Read data path: D:/foo/Factorio_0.16.0/data
   0.002 Write data path: D:/foo/Factorio_0.16.0 [1136899/1430796MB]
   0.002 Binaries path: D:/foo/Factorio_0.16.0/bin
   0.010 System info: [CPU: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz, 8 cores, RAM: 12279MB]
   0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.011 Available display adapters: 1
   0.011  [0]: \\.\DISPLAY1 - AMD Radeon HD 5700 Series {0x8080005, [0,0], 1920x1200, 32bit, 60Hz}
   0.014 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.069 Initialised Direct3D:[0] AMD Radeon HD 5700 Series; driver: aticfx64.dll 8.17.10.1433
   0.070   Video memory size (dedicated video/dedicated system/shared system/available): 1010/0/3840/4092 MB
   0.106 DSound: Starting _dsound_update thread
   0.106 DSound: Enter _dsound_update; tid=2352
   0.106 
   0.109 Desktop composition is active.
   0.109 Graphics settings preset: medium-with-low-vram
   0.109 Graphics options: [Graphics quality: normal] [Video memory usage: medium] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.110                   [Parallel sprite loading: 1] [Max texture size: 4096/4096] [Bmp cache: 1] [Sprite slicing: 1] [Low quality rotation: 1]
   0.174 Loading mod core 0.0.0 (data.lua)
   0.196 Loading mod base 0.16.6 (data.lua)
   0.377 Loading mod base 0.16.6 (data-updates.lua)
   0.439 Checksum for core: 1649222139
   0.439 Checksum of base: 1679652734
   0.580 Loading sounds...
   0.691 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1513655957
   0.691 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.811 Loaded shader file D:/foo/Factorio_0.16.0/data/core/graphics/shaders/game.cso
   0.812 Loaded shader file D:/foo/Factorio_0.16.0/data/core/graphics/shaders/zoom-to-world.cso
   0.812 Loaded shader file D:/foo/Factorio_0.16.0/data/core/graphics/shaders/alpha-mask.cso
   0.818 Crop bitmaps.
   4.541 Initial atlas bitmap size is 4096
   4.545 Created atlas bitmap 4096x4093 [none]
   4.545 Created atlas bitmap 4096x1559 [none]
   4.546 Created atlas bitmap 4096x3560 [terrain]
   4.546 Created atlas bitmap 4096x1952 [shadow]
   4.546 Created atlas bitmap 4096x1374 [smoke]
   4.546 Created atlas bitmap 4096x1868 [no-crop, trilinear-filtering, icon, light]
   4.547 Created atlas bitmap 4096x476 [alpha-mask]
  25.917 Sprites loaded
  25.917 Convert atlas 4096x1868 to: trilinear-filtering 
  25.960 Convert atlas 4096x476 to: alpha-mask
  26.149 Custom inputs active: 0
  26.157 Info Updater.cpp:750: Downloading https://updater.factorio.com/get-available-versions?username=Zavian&token=<private>&apiVersion=2
  29.997 0 packages available to download (experimental updates enabled).
  30.063 Factorio initialised
 714.075 Loading map D:\foo\Factorio_0.16.0\saves\create.1.zip: 5982173 bytes.
 714.217 Loading Level.dat: 11003349 bytes.
 714.221 Info Scenario.cpp:135: Map version 0.16.4-0
 714.570 Info BlueprintLibrary.cpp:232: Loaded library shelves:
 714.570 Info BlueprintLibrary.cpp:798: Game shelf: playerIndex = 65535, nextRecordID = 1; timestamp = 0; records: (id: 65535, 0; label: "", preview: false, empty: false; single)
 714.570 Info BlueprintLibrary.cpp:800: Player shelf: playerIndex = 0, nextRecordID = 45; timestamp = 1512414045; records: (id: 0, 12; label: "", preview: false, empty: false; book) (id: 0, 8; label: "", preview: false, empty: false; single) (id: 0, 9; label: "", preview: false, empty: false; single) (id: 0, 11; label: "", preview: false, empty: false; single) (id: 0, 13; label: "", preview: false, empty: false; single) (id: 0, 14; label: "", preview: false, empty: false; single) (id: 0, 15; label: "", preview: false, empty: false; single) (id: 0, 17; label: "", preview: false, empty: false; single) (id: 0, 18; label: "", preview: false, empty: false; single) (id: 0, 19; label: "", preview: false, empty: false; single) (id: 0, 20; label: "", preview: false, empty: false; single) (id: 0, 21; label: "", preview: false, empty: false; single) (id: 0, 23; label: "", preview: false, empty: false; single) (id: 0, 24; label: "", preview: false, empty: false; single) (id: 0, 25; label: "", preview: false, empty: false; single) (id: 0, 26; label: "", preview: false, empty: false; single) (id: 0, 27; label: "", preview: false, empty: false; single) (id: 0, 28; label: "", preview: false, empty: false; single) (id: 0, 29; label: "", preview: false, empty: false; single) (id: 0, 30; label: "", preview: false, empty: false; single) (id: 0, 31; label: "", preview: false, empty: false; single) (id: 0, 32; label: "", preview: false, empty: false; single) (id: 0, 33; label: "", preview: false, empty: false; single) (id: 0, 34; label: "", preview: false, empty: false; single) (id: 0, 35; label: "", preview: false, empty: false; single) (id: 0, 36; label: "", preview: false, empty: false; single) (id: 0, 44; label: "", preview: false, empty: false; single) (id: 0, 37; label: "2.4GW Nuclear Reactor", preview: false, empty: false; single) (id: 0, 38; label: "Accumulator bank", preview: false, empty: false; single) (id: 0, 39; label: "Circuits 1Beacon", preview: false, empty: false; single) (id: 0, 7; label: "Green Circuits", preview: false, empty: false; single) (id: 0, 40; label: "Modular refinery++", preview: false, empty: false; single) (id: 0, 16; label: "Oil_Processing", preview: false, empty: false; single) (id: 0, 41; label: "Power pole", preview: false, empty: false; single) (id: 0, 5; label: "Red Circuits", preview: false, empty: false; single) (id: 0, 42; label: "Refinery block", preview: false, empty: false; single) (id: 0, 43; label: "Refinery block", preview: false, empty: false; single) (id: 0, 10; label: "Steel Furnace 2x21", preview: false, empty: false; single
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-oztsuc\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-oztsuc\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-oztsuc\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-oztsuc\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-oztsuc\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-oztsuc\src\energy\electricsubnetwork.cpp (1027): ElectricSubNetwork::removeAdditionalSource
c:\cygwin64\tmp\factorio-oztsuc\src\energy\electricenergysource.cpp (182): ElectricEnergySource::disconnectNetwork
c:\cygwin64\tmp\factorio-oztsuc\src\energy\reorderelectricenergysourceloadhelper.cpp (19): ReorderElectricEnergySourceLoadHelper::reconnectPrimaryNetwork
c:\cygwin64\tmp\factorio-oztsuc\src\map\mapdeserialiser.cpp (63): MapDeserialiser::setupLoadHelpers
c:\cygwin64\tmp\factorio-oztsuc\src\map\map.cpp (738): Map::setupEntities
c:\cygwin64\tmp\factorio-oztsuc\src\scenario\scenario.cpp (210): Scenario::loadFactory
c:\cygwin64\tmp\factorio-oztsuc\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: 00007FFA79DB8364)
00007FFA79DB8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA7C0B7091)
00007FFA7C0B7091 (ntdll): (filename not available): RtlUserThreadStart
 716.598 Error ElectricSubNetwork.cpp:1027: Energy source to migrate not found.
Logger::writeStacktrace skipped.
 716.598 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.
 924.084 Creating crash dump.
 924.275 CrashDump success
Attachments
creative-mode-fix_0.0.5.zip
version of creative mode used
(1.59 MiB) Downloaded 122 times
create.1.zip
save file
(5.71 MiB) Downloaded 127 times
factorio-dump-previous.dmp
I believe that this is a same crash but from 0.16.4. Sorry I forgot to save that log before updating factorio to 0.16.6 today. :/ Reproduction was slightly different. Play for some hours in my vanilla 0.16 map, then quit back to the main menu and try to load create.1, forgetting to activate the creative mode mod first.
(487.04 KiB) Downloaded 116 times
factorio-dump-current.dmp
crash from 0.16.6 as described above
(480.32 KiB) Downloaded 123 times
factorio-current.log
log from 0.16.6 as described above (this is the same log in the code block above).
(8.93 KiB) Downloaded 118 times

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

Re: [Rseding91] [0.16.6] Crash when loading map without activating mods.

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”