[0.17.8] Crash on Ctrl+V after a Ctrl+X - CircuitConnector::markVisited

This subforum contains all the issues which we already resolved.
User avatar
Trylobot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Mar 07, 2019 7:32 pm
Contact:

[0.17.8] Crash on Ctrl+V after a Ctrl+X - CircuitConnector::markVisited

Post by Trylobot »

I was pasting a cut group of entities (7x requester chests, 7x filter inserters) which had very specific configuration settings and logic wire attachments, when the game crashed.

Update 1: After some further experimentation, it appears that at the exact moment of the crash, one of the robots is trying to pick up one of the filter inserters. That should help understand what actually causes this crash.

Update 2: I can also reproduce this crash reliably by manual removal of the "red science filter inserter" near the science labs area I created. It seems that something about its configuration is making the game go nuts when its removed by any means.

Update 3: Removal of just the red logic wire from that specific inserter also causes this crash

Update 4: If I change the circuit network behavior of that inserter to "None," I can safely remove the wire without a crash.
Attachments
_autosave2.zip
(3.34 MiB) Downloaded 76 times
factorio-current.log
(17.72 KiB) Downloaded 77 times
Loewchen
Global Moderator
Global Moderator
Posts: 10247
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.8] (Sandbox) Crash on Ctrl+V after a Ctrl+X

Post by Loewchen »

Code: Select all

   0.000 2019-03-07 12:19:11; Factorio 0.17.8 (build 43440, win64, steam)
   0.000 Operating system: Windows 10 (build 17763) 
   0.000 Program arguments: "F:\Games\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.000 Read data path: F:/Games/SteamLibrary/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/tyler/AppData/Roaming/Factorio [190183/243581MB]
   0.000 Binaries path: F:/Games/SteamLibrary/steamapps/common/Factorio/bin
   0.015 System info: [CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 12 cores, RAM: 2553/16301 MB, page: 3442/18733 MB, virtual: 4336/134217727 MB, extended virtual: 0 MB]
   0.016 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.019 Available displays: 1
   0.019  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.062 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.159 Initialised Direct3D[0]: NVIDIA GeForce GTX 970; id: 10de-13c2; driver: nvldumdx.dll 25.21.14.1881
   0.159   D3D Feature Level: 11.1, DXGI 1.5+
   0.159   [Local Video Memory] Budget: 3437MB, CurrentUsage: 2MB, Reservation: 0/1819MB
   0.159   [Non-Local Vid.Mem.] Budget: 7335MB, CurrentUsage: 0MB, Reservation: 0/3871MB
   0.159   Tiled resources: Tier 2
   0.159   Unified Memory Architecture: No
   0.159   BGR 565 Supported: Yes
   0.159   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.216 Desktop composition is active.
   0.216 Graphics settings preset: very-high
   0.216   Dedicated video memory size 4043 MB
   0.216 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.216                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   0.267 DSound: Starting _dsound_update thread
   0.267 DSound: Enter _dsound_update; tid=5808
   0.485 Loading mod core 0.0.0 (data.lua)
   0.590 Loading mod base 0.17.8 (data.lua)
   1.082 Loading mod base 0.17.8 (data-updates.lua)
   1.165 Checksum for core: 2736929835
   1.165 Checksum of base: 3541142062
   1.573 Loading sounds...
   3.399 Info PlayerData.cpp:69: Local player-data.json unavailable
   3.399 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551914808
   3.500 Crop bitmaps.
   8.389 Parallel Sprite Loader initialized (threads: 11)
  13.091 Initial atlas bitmap size is 16384
  13.113 Created atlas bitmap 16384x16384 [none]
  13.116 Created atlas bitmap 16384x11296 [none]
  13.116 Created atlas bitmap 16384x2116 [decal]
  13.117 Created atlas bitmap 16384x3808 [low-object]
  13.118 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  13.118 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  13.119 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
  13.119 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  13.120 Created atlas bitmap 16384x748 [alpha-mask]
  13.122 Created atlas bitmap 16384x12640 [shadow, linear-magnification, alpha-mask]
  13.122 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
  13.147 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  13.824 Parallel Sprite Loader initialized (threads: 11)
  19.610 Sprites loaded
  19.677 Generated mipmaps for atlas of size 16384x3808
  19.710 Generated mipmaps for atlas of size 16384x1888
  19.731 Generated mipmaps for atlas of size 16384x6880
  19.742 Generated mipmaps for atlas of size 16384x480
  19.753 Generated mipmaps for atlas of size 16384x456
  19.764 Generated mipmaps for atlas of size 16384x1264
  19.772 Custom inputs active: 0
  19.834 Factorio initialised
  83.855 Loading map C:\Users\tyler\AppData\Roaming\Factorio\saves\v0.17 Current.zip: 16651643 bytes.
  83.973 Loading Level.dat: 33614187 bytes.
  83.978 Info Scenario.cpp:147: Map version 0.17.7-2
  85.042 Loading script.dat: 328 bytes.
  85.049 Checksum for script C:/Users/tyler/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
 263.613 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/categories
 263.613 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&version=0.17
 278.515 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/player-auto-build/full
 278.851 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/5749099663fb3841c5686313261950992af7ffad.thumb.png
 288.100 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/yemtositemcount/full
 288.299 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/853dd811d9eb3f56babd6150efa38615d65e0ef4.thumb.png
 296.317 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/PeppeBotStart/full
 296.600 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 297.134 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 297.134 Info HttpSharedState.cpp:147: Status code: 404
 297.134 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 306.834 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/GhostPlacerExpress/full
 306.984 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 307.036 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 307.036 Info HttpSharedState.cpp:147: Status code: 404
 307.036 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 315.835 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/there-is-my-ghost/full
 316.051 Error CachedChangelog.cpp:54: Failed to parse changelog for mod There is my ghost: invalid changelog file, error on line 36, duplicate Date: line.
 316.051 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/d3590b792ce7e1bb31e74e41bbe81d00a6649a28.thumb.png
 322.619 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/PickerBlueprinter/full
 322.868 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 322.916 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 322.916 Info HttpSharedState.cpp:147: Status code: 404
 322.916 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 326.036 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Blueprint_Flip_Turn_017/full
 326.233 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 326.300 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 326.300 Info HttpSharedState.cpp:147: Status code: 404
 326.300 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 332.819 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/BlueprintExtensions/full
 333.019 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 333.083 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 333.083 Info HttpSharedState.cpp:147: Status code: 404
 333.083 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 334.783 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Bluebuild/full
 335.037 Error CachedChangelog.cpp:54: Failed to parse changelog for mod Bluebuild: invalid changelog file, error on line 32, missing Version: line.
 335.037 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/636d916cde355cca70985bba344ed08aadb50a98.thumb.png
 346.970 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/PickerExtended/full
 347.170 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 347.217 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 347.217 Info HttpSharedState.cpp:147: Status code: 404
 347.217 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 352.204 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Nanobots/full
 352.404 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 352.451 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 352.451 Info HttpSharedState.cpp:147: Status code: 404
 352.451 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 358.519 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/logistic-cargo-wagon/full
 358.687 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/25358c82d96140797c2ae8286229cd0d71ce8bfd.thumb.png
 361.604 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/LTN_Content_Reader/full
 361.820 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/93ed48d09d8de1b1cc00b23136940a135094e8b4.thumb.png
 368.904 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/JamozedsTweaks/full
 369.154 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/dc0b1a5ba24dbfea0f3569bcbc6b2a84f2ba8049.thumb.png
 375.887 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/module-requestor/full
 375.987 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/2c3481ac96644c8b148eb7d4cb4d7f73f646921a.thumb.png
 378.172 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/diplomacy/full
 378.422 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/352369dea9ac414c172881d940265e079ce14541.thumb.png
 379.738 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Smaller%20Beacons/full
 379.971 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/7fb5354dd43fb67df2ab88f22007dce1ad5fa054.thumb.png
 381.336 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Munda_drone_logistic/full
 381.588 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 381.636 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 381.636 Info HttpSharedState.cpp:147: Status code: 404
 381.636 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 384.888 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/GhostScanner/full
 385.088 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/2c1b54aaf2a44ae0d83621eaddf3e6d37d45ed47.thumb.png
 387.105 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/AutomaticLogisticChest/full
 387.321 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/.thumb.png
 387.370 Info HttpSharedState.cpp:146: Downloading https://mods-data.factorio.com/assets/.thumb.png
 387.370 Info HttpSharedState.cpp:147: Status code: 404
 387.370 Error ModPortal.cpp:367: Mod portal API call failed: status 404
 713.930 Loading Level.dat: 1118317 bytes.
 713.931 Info Scenario.cpp:147: Map version 0.17.8-0
 713.952 Checksum for script C:/Users/tyler/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 4196669447
1320.120 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
1320.336 Info AppManagerStates.cpp:1766: Saving finished
1920.335 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
1920.552 Info AppManagerStates.cpp:1766: Saving finished
2905.190 Info AppManager.cpp:267: Saving to _autosave3 (blocking).
2905.422 Info AppManagerStates.cpp:1766: Saving finished
3505.406 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
3505.654 Info AppManagerStates.cpp:1766: Saving finished
4105.653 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
4105.872 Info AppManagerStates.cpp:1766: Saving finished
4190.058 Time travel logging:
2910.289 Player 0 ran command: game.player.force.recipes["loader"].enabled = true game.player.force.recipes["fast-loader"].enabled = true game.player.force.recipes["express-loader"].enabled = true game.player.force.recipes["infinity-chest"].enabled = true game.player.force.recipes["electric-energy-interface"].enabled = true
2933.440 Player 0 ran command: game.player.force.recipes["loader"].enabled = true
4190.058 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff6431c5e30
ModuleBase: 0x00007ff643120000, ImageSize: 015f3000, RelativeAddress: 000a5e30
4190.058 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000090
4190.058 Error CrashHandler.cpp:396: Exception Context:
rax=0000000000000000, rbx=000001b0515d69c0, rcx=0000000000000000,
rdx=0000000000000001, rsi=0000000000000000, rdi=0000000000000001,
rip=00007ff6431c5e30, rsp=00000021988fe8a0, rbp=00000021988fe8f0,
 r8=0000000000000000,  r9=0000000000000002, r10=00000021988fe8c8,
r11=00000021988fe860, r12=000001b0515d6ab0, r13=0000000000000000,
r14=000001b0586bb680, r15=0000000000000001
4190.058 Crashed in F:\Games\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff643120000 - 0x00007ff644713000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-k9grxp\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-k9grxp\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-k9grxp\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-k9grxp\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-k9grxp\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEAC4584C)
00007FFBEAC4584C (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE1580CB)
00007FFBEE1580CB (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE13FD36)
00007FFBEE13FD36 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE15468F)
00007FFBEE15468F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE0B4BEF)
00007FFBEE0B4BEF (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE1533FE)
00007FFBEE1533FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-k9grxp\src\circuitnetwork\circuitconnector.cpp (450): CircuitConnector::markVisited
c:\cygwin64\tmp\factorio-build-k9grxp\src\circuitnetwork\circuitconnector.cpp (394): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-build-k9grxp\src\circuitnetwork\circuitconnector.cpp (352): CircuitConnector::disconnect
c:\cygwin64\tmp\factorio-build-k9grxp\src\circuitnetwork\behaviors\insertercontrolbehavior.cpp (153): InserterControlBehavior::onDestroy
c:\cygwin64\tmp\factorio-build-k9grxp\src\entity\inserter.cpp (1212): Inserter::onDestroy
c:\cygwin64\tmp\factorio-build-k9grxp\src\entity\entity.cpp (286): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-k9grxp\src\entity\entity.cpp (888): Entity::mine
c:\cygwin64\tmp\factorio-build-k9grxp\src\entity\entity.cpp (865): Entity::mine
c:\cygwin64\tmp\factorio-build-k9grxp\src\entity\constructionrobot.cpp (808): ConstructionRobot::update
c:\cygwin64\tmp\factorio-build-k9grxp\src\surface\chunk.cpp (554): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-k9grxp\src\surface\chunk.cpp (603): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-k9grxp\src\surface\surface.cpp (1362): Surface::update
c:\cygwin64\tmp\factorio-build-k9grxp\src\map\map.cpp (1435): Map::updateEntities
c:\cygwin64\tmp\factorio-build-k9grxp\src\game.cpp (189): Game::update
c:\cygwin64\tmp\factorio-build-k9grxp\src\scenario\scenario.cpp (1077): Scenario::update
c:\cygwin64\tmp\factorio-build-k9grxp\src\mainloop.cpp (1101): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-k9grxp\src\mainloop.cpp (968): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-k9grxp\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 TransferSource::*)(void),TransferSource *>,std::default_delete<std::tuple<void (__cdecl TransferSource::*)(void),TransferSource *> > > >::_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: 00007FFBEBDB81F4)
00007FFBEBDB81F4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBEE11A251)
00007FFBEE11A251 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
4191.534 Error CrashHandler.cpp:174: Map tick at moment of crash: 185051
4191.534 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.
4208.587 Uploading log file
4208.591 Error CrashHandler.cpp:221: Heap validation: success.
4208.592 Creating crash dump.
4208.798 CrashDump success
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.17.8] Crash on Ctrl+V after a Ctrl+X - CircuitConnector::markVisited

Post by kovarex »

Hello, this should be already solved in the newest version. (And I tested the save with the instruction, and it worked fine).
Post Reply

Return to “Resolved Problems and Bugs”