[Dominik][0.17.15][Mod]Crash after repeated 'Can't Mix Fluids' error

This subforum contains all the issues which we already resolved.
jpole1
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

[Dominik][0.17.15][Mod]Crash after repeated 'Can't Mix Fluids' error

Post by jpole1 »

Log attached.
factorio-current.log
(86.34 KiB) Downloaded 87 times
Happens each time I try to place a building next to an existing fluid system. First time trying to place gives "can't mix fluids." Second time trying to place crashes the game.

It's a valid area on the map for the building, but it has to be rotated to have the proper outputs line up. Can't rotate until I place the building though.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: Crash after repeated 'Can't Mix Fluids' error

Post by TruePikachu »

Code: Select all

  83.082 Error CrashHandler.cpp:409: Exception Code: c0000005, Address: 0x00007ff622051924
ModuleBase: 0x00007ff621dd0000, ImageSize: 01623000, RelativeAddress: 00281924
  83.082 Error CrashHandler.cpp:415: Access Violation: Read at address 0000000000000010
  83.082 Error CrashHandler.cpp:429: Exception Context:
rax=0000000000000000, rbx=000000ce0058d040, rcx=0000000000000004,
rdx=000000ce0058d040, rsi=0000000000000001, rdi=000000cde77c29c0,
rip=00007ff622051924, rsp=000000cd871ae580, rbp=0000000000000000,
 r8=0000000000000001,  r9=0000000000000000, r10=0000000000000000,
r11=0000000000000000, r12=0000000000000119, r13=000000cd82600a30,
r14=0000000000000000, r15=0000000000000003
  83.082 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff621dd0000 - 0x00007ff6233f3000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-z2hre9\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\logger.cpp (527): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\crashhandler.cpp (170): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\crashhandler.cpp (456): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C1851D32)
00007FF8C1851D32 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44DF1B3)
00007FF8C44DF1B3 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44C1E26)
00007FF8C44C1E26 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44D349D)
00007FF8C44D349D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44948D7)
00007FF8C44948D7 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44D262A)
00007FF8C44D262A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-z2hre9\src\fluid\fluidmanager.cpp (97): FluidManager::countAndMarkVisitedRecursive
c:\cygwin64\tmp\factorio-build-z2hre9\src\fluid\fluidmanager.cpp (263): FluidManager::moveOut
c:\cygwin64\tmp\factorio-build-z2hre9\src\entity\pipe.cpp (85): PipeToGround::onDestroy
c:\cygwin64\tmp\factorio-build-z2hre9\src\entity\entity.cpp (287): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-z2hre9\src\manualstorage.cpp (212): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-build-z2hre9\src\manualminer.cpp (123): ManualMiner::performMining
c:\cygwin64\tmp\factorio-build-z2hre9\src\entity\character.cpp (673): Character::update
c:\cygwin64\tmp\factorio-build-z2hre9\src\surface\chunk.cpp (567): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-z2hre9\src\surface\chunk.cpp (616): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-z2hre9\src\surface\surface.cpp (1366): Surface::update
c:\cygwin64\tmp\factorio-build-z2hre9\src\map\map.cpp (1458): Map::updateEntities
c:\cygwin64\tmp\factorio-build-z2hre9\src\game.cpp (191): Game::update
c:\cygwin64\tmp\factorio-build-z2hre9\src\scenario\scenario.cpp (1156): Scenario::update
c:\cygwin64\tmp\factorio-build-z2hre9\src\mainloop.cpp (1104): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-z2hre9\src\mainloop.cpp (970): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\workerthread.cpp (42): WorkerThread::loop
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 RouterBase::*)(void),ClientRouter *>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void),ClientRouter *> > > >::_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: 00007FF8C1EB13D2)
00007FF8C1EB13D2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C44554F4)
00007FF8C44554F4 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
It might help if you post a savefile where this can trivially be reproduced.
jpole1
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

Re: Crash after repeated 'Can't Mix Fluids' error

Post by jpole1 »

It's got all of Py's mods, but it doesn't seem to me like any of those would be causing this issue.

The quick reproduction of my issue is right after I loaded this save, I constructed two more Destructive Distillation Columns to mirror the setup you see on screen. When I tried to build them just to the left of the buildings shown on screen, the second attempt is what caused the crash, on each occasion.

Save file below.
py17.zip
(11.69 MiB) Downloaded 92 times
Peregrineus
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 22, 2018 8:39 pm
Contact:

Re: [Dominik][0.17.15][Mod]Crash after repeated 'Can't Mix Fluids' error

Post by Peregrineus »

Crash with the same stacktrace (if I read it well).
In a sandbox map, I have a Assembling machine2 which unpacks barrels with lube. If I reset the recipe in the assembler by choosing a different barrel empty recipe, which gives the 'can't mix fluids' warning, and then deconstruct the connecting pipe, the game crashes 4/4 times.
Attachments
17-sandbox-blue.zip
Map on which the crash is reproducible.
(4.98 MiB) Downloaded 85 times
factorio-current.log
Log file with crash stacktrace
(9.1 KiB) Downloaded 79 times
Der_tolle_Emil
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Feb 27, 2019 8:07 pm
Contact:

Re: [Dominik][0.17.15][Mod]Crash after repeated 'Can't Mix Fluids' error

Post by Der_tolle_Emil »

Can confirm.

Place an assembler below an existing pipe (with water for example), pick a recipe that needs something else than water, get the "Can't mix fluids" error, remove the assembler -> Crash to Desktop.

Version 0.17.15, no mods installed.

Log:

Code: Select all

   0.000 2019-03-19 20:43:48; Factorio 0.17.15 (build 43864, win64, steam)
   0.000 Operating system: Windows 10 (version 1803) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/emil4/AppData/Roaming/Factorio [161825/976195MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.006 System info: [CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz, 8 cores, RAM: 5669/32704 MB, page: 6897/37568 MB, virtual: 4332/134217727 MB, extended virtual: 0 MB]
   0.006 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.011 Available displays: 2
   0.011  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.011  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x01, [1920,0], 1920x1200, 32bit, 59Hz}
   0.050 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.113 Initialised Direct3D[0]: NVIDIA GeForce GTX 970; id: 10de-13c2; driver: nvldumdx.dll 24.21.13.9907
   0.113   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 1,discard,-,-,none
   0.113   [Local Video Memory] Budget: 3436MB, CurrentUsage: 2MB, Reservation: 0/1819MB
   0.113   [Non-Local Vid.Mem.] Budget: 14716MB, CurrentUsage: 0MB, Reservation: 0/7767MB
   0.113   Tiled resources: Tier 2
   0.113   Unified Memory Architecture: No
   0.113   BGR 565 Supported: Yes
   0.113   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.145 Desktop composition is active.
   0.145 Graphics settings preset: very-high
   0.145   Dedicated video memory size 4043 MB
   0.146 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.146                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   0.176 DSound: Starting _dsound_update thread
   0.176 DSound: Enter _dsound_update; tid=6648
   0.234 Loading mod core 0.0.0 (data.lua)
   0.294 Loading mod base 0.17.15 (data.lua)
   0.466 Loading mod base 0.17.15 (data-updates.lua)
   0.539 Checksum for core: 2126933501
   0.539 Checksum of base: 1967292039
   0.925 Loading sounds...
   0.985 Info PlayerData.cpp:69: Local player-data.json unavailable
   0.985 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1552737143
   1.079 Initial atlas bitmap size is 16384
   1.101 Created atlas bitmap 16384x16376 [none]
   1.103 Created atlas bitmap 16384x11296 [none]
   1.103 Created atlas bitmap 16384x2116 [decal]
   1.104 Created atlas bitmap 16384x3808 [low-object]
   1.105 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.105 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.105 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.106 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.106 Created atlas bitmap 16384x748 [alpha-mask]
   1.107 Created atlas bitmap 16384x12644 [shadow, linear-magnification, alpha-mask]
   1.108 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.112 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.691 Parallel Sprite Loader initialized (threads: 7)
   7.669 Sprites loaded
   7.747 Generated mipmaps for atlas of size 16384x3808
   7.780 Generated mipmaps for atlas of size 16384x1888
   7.813 Generated mipmaps for atlas of size 16384x6880
   7.835 Generated mipmaps for atlas of size 16384x480
   7.846 Generated mipmaps for atlas of size 16384x456
   7.857 Generated mipmaps for atlas of size 16384x1264
   7.871 Custom inputs active: 6
   7.967 Factorio initialised
  12.684 Loading map C:\Users\emil4\AppData\Roaming\Factorio\saves\megabasev1.zip: 9287141 bytes.
  12.729 Loading level.dat: 22284708 bytes.
  12.732 Info Scenario.cpp:161: Map version 0.17.14-0
  13.643 Loading script.dat: 328 bytes.
  13.646 Checksum for script C:/Users/emil4/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
  36.335 Error CrashHandler.cpp:409: Exception Code: c0000005, Address: 0x00007ff691e75003
ModuleBase: 0x00007ff691c00000, ImageSize: 01623000, RelativeAddress: 00275003
  36.335 Error CrashHandler.cpp:415: Access Violation: Read at address FFFFFFFFFFFFFFFF
  36.335 Error CrashHandler.cpp:429: Exception Context:
rax=0000000000000000, rbx=0000000000000000, rcx=0000000000000000,
rdx=fffedb8000007f80, rsi=0000000000000002, rdi=0000000000000000,
rip=00007ff691e75003, rsp=000000231edff9d0, rbp=0000020d047b83e0,
 r8=0000020d047b8448,  r9=fffedb8000007f80, r10=0000020c99f4fb70,
r11=0000020d047b83e0, r12=0000000000000000, r13=0000020cfa4cac40,
r14=0000000000000020, r15=0000000000000004
  36.335 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff691c00000 - 0x00007ff693223000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-z2hre9\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\logger.cpp (527): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\crashhandler.cpp (170): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-z2hre9\src\util\crashhandler.cpp (456): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9667CBDD0)
00007FF9667CBDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969F13167)
00007FF969F13167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969EFB5E6)
00007FF969EFB5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969F0F7DD)
00007FF969F0F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969E7D856)
00007FF969E7D856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969F0E70E)
00007FF969F0E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-z2hre9\src\fluid\fluidbox.cpp (106): FluidBox::PipeConnection::calculateFlowSpeed
c:\cygwin64\tmp\factorio-build-z2hre9\src\fluid\fluidsystem.cpp (63): FluidSystem::update
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\ppl.h (2259): Concurrency::_Parallel_chunk_helper<unsigned __int64,unsigned __int64,<lambda_1254a2f84a60b69af2cf9a2bc5bc42ff>,Concurrency::auto_partitioner,0>::operator()
f:\dd\vctools\crt\crtw32\concrt\chores.cpp (149): Concurrency::details::_UnrealizedChore::_StructuredChoreWrapper
f:\dd\vctools\crt\crtw32\concrt\internalcontextbase.cpp (1606): Concurrency::details::InternalContextBase::ExecuteChoreInline
f:\dd\vctools\crt\crtw32\concrt\internalcontextbase.cpp (1721): Concurrency::details::InternalContextBase::Dispatch
f:\dd\vctools\crt\crtw32\concrt\freethreadproxy.cpp (203): Concurrency::details::FreeThreadProxy::Dispatch
f:\dd\vctools\crt\crtw32\concrt\threadproxy.cpp (177): Concurrency::details::ThreadProxy::ThreadProxyMain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF967603DC4)
00007FF967603DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969EE3691)
00007FF969EE3691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  37.622 Error CrashHandler.cpp:175: Map tick at moment of crash: 6289241
  37.622 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.
  45.203 Uploading log file
  45.207 Error CrashHandler.cpp:197: Heap validation: success.
  45.208 Creating crash dump.
  45.365 CrashDump success
Attachments
factorio-current.log
(8.41 KiB) Downloaded 68 times
Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik][0.17.15][Mod]Crash after repeated 'Can't Mix Fluids' error

Post by Dominik »

Hi, I forgot to mark this - this issue was already resolved from another report and should be ok in the current version (17.16). Thanks for reports though :)
Post Reply

Return to “Resolved Problems and Bugs”