[0.18.10] [Modded] Adding filters to pipes causes crash on load of saved game

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

[0.18.10] [Modded] Adding filters to pipes causes crash on load of saved game

Post by Deadlock989 »

Created four new pipe entities and placed them higgledy piggledy in a saved game.

Added two different filters to the fluid boxes of two of them, leaving the other two unfiltered.

Game now hard-crashes on trying to load the save.

Removed the filters, save loads normally.

Code: Select all

   0.001 2020-03-05 02:00:05; Factorio 0.18.10 (build 49800, win64, steam)
   0.001 Operating system: Windows 10 (version 1909) 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--window-size=maximized" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/REDACTED/AppData/Roaming/Factorio [108983/237858MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.009 System info: [CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, 8 cores, RAM: 8544/16323 MB, page: 13418/19506 MB, virtual: 4323/134217727 MB, extended virtual: 0 MB]
   0.009 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.015 Available displays: 1
   0.015  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x05, [0,0], 3840x2160, 32bit, 60Hz}
   0.059 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.154 Initialised Direct3D[0]: NVIDIA GeForce GTX 970; id: 10de-13c2; driver: nvldumdx.dll 26.21.14.4250
   0.154   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.154   [Local Video Memory] Budget: 3437MB, CurrentUsage: 2MB, Reservation: 0/1819MB
   0.154   [Non-Local Vid.Mem.] Budget: 7345MB, CurrentUsage: 0MB, Reservation: 0/3876MB
   0.154   Tiled resources: Tier 2
   0.154   Unified Memory Architecture: No
   0.154   BGR 565 Supported: Yes
   0.154   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.154 Graphics settings preset: very-high
   0.154   Dedicated video memory size 4043 MB
   0.201 Desktop composition is active.
   0.201 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: none] [Color: 32bit]
   0.201                   [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC] [B:0,C:0,S:100]
   0.271 DSound: Starting _dsound_update thread
   0.271 DSound: Enter _dsound_update; tid=16020
   0.417 Loading mod settings creative-mod 1.3.1 (settings.lua)
   0.420 Loading mod settings manual-inventory-sort 2.2.1 (settings.lua)
   0.420 Loading mod settings VehicleSnap 1.18.0 (settings.lua)
   0.420 Loading mod settings IndustrialRevolution 1.1.0 (settings.lua)
   0.423 Loading mod core 0.0.0 (data.lua)
   0.558 Loading mod base 0.18.10 (data.lua)
   0.879 Loading mod creative-mod 1.3.1 (data.lua)
   1.051 Loading mod DeadlockLargerLamp 1.3.2 (data.lua)
   1.210 Loading mod FNEI 0.3.0 (data.lua)
   1.367 Loading mod IndustrialDisplays 1.0.2 (data.lua)
   1.518 Loading mod manual-inventory-sort 2.2.1 (data.lua)
   1.671 Loading mod power-grid-comb 0.18.0 (data.lua)
   1.817 Loading mod SpeedControl 1.0.15 (data.lua)
   1.967 Loading mod VehicleSnap 1.18.0 (data.lua)
   2.115 Loading mod IndustrialRevolution 1.1.0 (data.lua)
   3.448 Loading mod base 0.18.10 (data-updates.lua)
   3.641 Loading mod IndustrialDisplays 1.0.2 (data-updates.lua)
   3.835 Loading mod IndustrialRevolution 1.1.0 (data-updates.lua)
   4.028 Loading mod creative-mod 1.3.1 (data-final-fixes.lua)
   4.281 Loading mod DeadlockLargerLamp 1.3.2 (data-final-fixes.lua)
   4.474 Loading mod IndustrialRevolution 1.1.0 (data-final-fixes.lua)
   8.240 Checksum for core: 1053640140
   8.240 Checksum of base: 2608151301
   8.240 Checksum of creative-mod: 3721447435
   8.240 Checksum of DeadlockLargerLamp: 2731013737
   8.240 Checksum of FNEI: 1951305706
   8.240 Checksum of IndustrialDisplays: 184515291
   8.240 Checksum of manual-inventory-sort: 286220899
   8.240 Checksum of power-grid-comb: 1829121871
   8.240 Checksum of romulinhosresearchqueuealwaystrue: 0
   8.241 Checksum of SpeedControl: 2899187544
   8.241 Checksum of VehicleSnap: 3082759310
   8.241 Checksum of IndustrialRevolution: 2245530059
   8.561 Prototype list checksum: 1990251397
   8.644 Loading sounds...
   8.734 Info PlayerData.cpp:70: Local player-data.json unavailable
   8.734 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1583366688
   8.995 Initial atlas bitmap size is 8192
   9.019 Created atlas bitmap 8192x8187 [not-compressed]
   9.036 Created atlas bitmap 8192x8178 [not-compressed]
   9.058 Created atlas bitmap 8192x8176 [not-compressed]
   9.072 Created atlas bitmap 8192x8188 [not-compressed]
   9.084 Created atlas bitmap 8192x8184 [not-compressed]
   9.101 Created atlas bitmap 8192x8192 [not-compressed]
   9.114 Created atlas bitmap 8192x8188 [not-compressed]
   9.138 Created atlas bitmap 8192x8164 [not-compressed]
   9.140 Created atlas bitmap 8192x2837 [not-compressed]
   9.141 Created atlas bitmap 8192x3686 [decal, not-compressed]
   9.149 Created atlas bitmap 8192x8176 [low-object, not-compressed, linear-minification]
   9.151 Created atlas bitmap 8192x4368 [low-object, not-compressed]
   9.151 Created atlas bitmap 4096x3088 [mipmap]
   9.153 Created atlas bitmap 8192x3736 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   9.158 Created atlas bitmap 8192x8048 [terrain, not-compressed, mipmap, linear-minification, linear-mip-level]
   9.160 Created atlas bitmap 8192x3424 [terrain, not-compressed, mipmap, linear-minification, linear-mip-level]
   9.160 Created atlas bitmap 4096x2848 [terrain-effect-map, not-compressed, mipmap, linear-minification, linear-mip-level]
   9.161 Created atlas bitmap 4096x1592 [smoke, not-compressed, mipmap, linear-minification, linear-magnification]
   9.163 Created atlas bitmap 8192x1888 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   9.163 Created atlas bitmap 2048x432 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   9.164 Created atlas bitmap 4096x2652 [alpha-mask]
   9.175 Created atlas bitmap 8192x8192 [shadow, linear-magnification, alpha-mask]
   9.185 Created atlas bitmap 8192x8176 [shadow, linear-magnification, alpha-mask]
   9.192 Created atlas bitmap 8192x8148 [shadow, linear-magnification, alpha-mask]
   9.204 Created atlas bitmap 8192x8184 [shadow, linear-magnification, alpha-mask]
   9.205 Created atlas bitmap 8192x5772 [shadow, linear-magnification, alpha-mask]
   9.206 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   9.212 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  10.056 Parallel Sprite Loader initialized (threads: 7)
  20.716 Warning! Sprite at {0,0; 32x32} from __creative-mod__/graphics/icons/duplicator.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} which is out of bounds of the source image.
  20.717 Warning! Sprite at {0,0; 32x32} from __creative-mod__/graphics/icons/item-source.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} which is out of bounds of the source image.
  20.717 Warning! Sprite at {0,0; 32x32} from __creative-mod__/graphics/icons/item-void.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} which is out of bounds of the source image.
  20.718 Warning! Sprite at {0,0; 32x32} from __creative-mod__/graphics/icons/random-item-source.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} which is out of bounds of the source image.
  20.797 Sprites loaded
  21.233 Generated mipmaps (4) for atlas [10] of size 8192x8176   
  21.277 Generated mipmaps (4) for atlas [11] of size 8192x4368   
  21.437 Generated mipmaps (3) for atlas [12] of size 4096x3088   
  21.449 Generated mipmaps (3) for atlas [13] of size 8192x3736   
  21.460 Generated mipmaps (3) for atlas [14] of size 8192x8048   
  21.471 Generated mipmaps (3) for atlas [15] of size 8192x3424   
  21.482 Generated mipmaps (3) for atlas [16] of size 4096x2848   
  21.493 Generated mipmaps (3) for atlas [17] of size 4096x1592   
  21.504 Generated mipmaps (5) for atlas [18] of size 8192x1888   
  21.516 Generated mipmaps (3) for atlas [26] of size 8192x2352   
  21.554 Custom mipmaps uploaded.
  21.564 Custom inputs active: 17
  21.628 Factorio initialised
 113.491 Loading map C:\Users\ucjtmsb\AppData\Roaming\Factorio\saves\new.zip: 6285094 bytes.
 113.578 Loading level.dat: 18038941 bytes.
 113.581 Info Scenario.cpp:187: Map version 0.18.10-1
 114.033 Error CrashHandler.cpp:478: Exception Code: c0000005, Address: 0x00007ff78acbfe78
ModuleBase: 0x00007ff78a6d0000, ImageSize: 0190a000, RelativeAddress: 005efe78
 114.033 Error CrashHandler.cpp:484: Access Violation: Read at address 0000000000000008
 114.033 Error CrashHandler.cpp:498: Exception Context:
rax=000001fbb6fec808, rbx=0000000000000000, rcx=fc2b35a006870000,
rdx=000001fac2890fd0, rsi=000001fabd2faf40, rdi=000001fbac69e970,
rip=00007ff78acbfe78, rsp=0000007c402fde70, rbp=0000007c402fdf70,
 r8=000001fac46527c0,  r9=0000007c402fde10, r10=00007ff78b960370,
r11=0000007c402fde40, r12=000001fac2890c40, r13=000001fbaf17cc20,
r14=000001fbac69e970, r15=0000000000000000
 114.034 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff78a6d0000 - 0x00007ff78bfda000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-s80wcv\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-s80wcv\src\util\logger.cpp (540): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-s80wcv\src\util\logger.cpp (547): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-s80wcv\src\util\crashhandler.cpp (185): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-s80wcv\src\util\crashhandler.cpp (527): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3930F69A)
00007FFF3930F69A (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C104B32)
00007FFF3C104B32 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C0EC6D6)
00007FFF3C0EC6D6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C10121F)
00007FFF3C10121F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C0CA289)
00007FFF3C0CA289 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C0FFE8E)
00007FFF3C0FFE8E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-s80wcv\src\map\map.cpp (1140): Map::setupEntities
c:\cygwin64\tmp\factorio-build-s80wcv\src\scenario\scenario.cpp (307): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-s80wcv\src\scenario\parallelscenarioloader.cpp (151): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3A687BD4)
00007FFF3A687BD4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3C0CCED1)
00007FFF3C0CCED1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 116.189 Error Util.cpp:97: 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.
 118.221 Uploading log file
 118.237 Error CrashHandler.cpp:258: Heap validation: success.
 118.238 Creating crash dump.
 118.409 CrashDump success
Image

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [0.18.10] [Modded] Adding filters to pipes causes crash on load of saved game

Post by Deadlock989 »

Follow-up: I was able to rescue the saved game by forcing a migration check. If migration runs for any other reason such as removed items or recipes, then another check is also run on pipe entities that would cause fluid mixing. If however the game doesn't need to migrate anything other than the pipe entities, then the game just hard crashes instead.
Attachments
Untitled.jpg
Untitled.jpg (51.68 KiB) Viewed 632 times
Image

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

Re: [0.18.10] [Modded] Adding filters to pipes causes crash on load of saved game

Post by Rseding91 »

This is fixed in the latest version since the fluid-mixing restraints were relaxed.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”