[0.17.9] Crash creating circuit design tied to power generation

This subforum contains all the issues which we already resolved.
Stakhanov
Inserter
Inserter
Posts: 27
Joined: Tue Jan 22, 2019 9:23 am
Contact:

[0.17.9] Crash creating circuit design tied to power generation

Post by Stakhanov »

This may or may not be an issue with 0.17 specifically (no mods) but I'm submitting this just in case.

I tried to make a SR latch from memory to regulate backup (steam engines) power generation but the result was very wrong , layout of decider combinators linked with a single color of wire like so :

Code: Select all

       (A < 20 : B=1) ----- (B > R : S=1) ----- Power switch
Accu [                            X
       (A > 70 : C=1) ----- (C > S : R=1)
This seems to have produced some kind of loop that froze and crashed the game.
Last edited by Stakhanov on Sun Mar 10, 2019 5:21 pm, edited 1 time in total.
Stakhanov
Inserter
Inserter
Posts: 27
Joined: Tue Jan 22, 2019 9:23 am
Contact:

Re: Faulty SR latch design tied to power generation crashed the game

Post by Stakhanov »

Sure thing. Unfortunately I didn't think to keep the relevant autosave from before it crashed , but the crash can probably be reproduced manually by setting up that circuit network contraption and wiring it to a power switch.

Code: Select all

   0.001 2019-03-10 14:31:25; Factorio 0.17.9 (build 43513, win64, steam)
   0.001 Operating system: Windows 7 Service Pack 1
   0.002 Program arguments: "F:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: F:/SteamLibrary/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/user/AppData/Roaming/Factorio [33029/121874MB]
   0.002 Binaries path: F:/SteamLibrary/steamapps/common/Factorio/bin
   0.045 System info: [CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 4 cores, RAM: 2352/3974 MB, page: 2786/7947 MB, virtual: 173/8388607 MB, extended virtual: 0 MB]
   0.046 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.100 Available displays: 1
   0.100  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1050 Ti {0x80005, [0,0], 1280x1024, 32bit, 75Hz}
   0.176 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.660 Initialised Direct3D[0]: NVIDIA GeForce GTX 1050 Ti; id: 10de-1c82; driver: nvd3dumx.dll 23.21.13.8831
   0.660   D3D Feature Level: 11.0, DXGI 1.2+
   0.660   BGR 565 Supported: No
   0.660   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.788 Desktop composition is active.
   0.788 Graphics settings preset: low
   0.788   Dedicated video memory size 4008 MB
   0.788 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: low-quality]
   0.788                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: low] [Color: 32bit]
   0.836 DSound: Starting _dsound_update thread
   0.836 DSound: Enter _dsound_update; tid=6212
   1.571 Loading mod core 0.0.0 (data.lua)
   1.746 Loading mod base 0.17.9 (data.lua)
   2.748 Loading mod base 0.17.9 (data-updates.lua)
   2.877 Checksum for core: 2736929835
   2.878 Checksum of base: 3535299958
   3.692 Loading sounds...
   4.895 Info PlayerData.cpp:69: Local player-data.json unavailable
   4.895 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1552219154
   5.081 Initial atlas bitmap size is 16384
   5.116 Created atlas bitmap 16384x16376 [none]
   5.120 Created atlas bitmap 16384x8944 [none]
   5.121 Created atlas bitmap 16384x2116 [decal]
   5.123 Created atlas bitmap 16384x3808 [low-object]
   5.123 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.126 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   5.126 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   5.127 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   5.128 Created atlas bitmap 16384x748 [alpha-mask]
   5.131 Created atlas bitmap 16384x11220 [shadow, linear-magnification, alpha-mask]
   5.131 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   5.170 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  27.937 Parallel Sprite Loader initialized (threads: 1)
  51.990 Sprites loaded
  52.110 Generated mipmaps for atlas of size 16384x3808
  52.130 Generated mipmaps for atlas of size 16384x1888
  52.170 Generated mipmaps for atlas of size 16384x6880
  52.190 Generated mipmaps for atlas of size 16384x480
  52.210 Generated mipmaps for atlas of size 16384x456
  52.220 Generated mipmaps for atlas of size 16384x1264
  52.315 Custom inputs active: 0
  52.434 Factorio initialised
  82.573 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  82.574 Info ServerMultiplayerManager.cpp:714: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
  82.574 Info ServerMultiplayerManager.cpp:714: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
  82.585 Loading map C:\Users\user\AppData\Roaming\Factorio\saves\017deathworldcoop1s14.zip: 17392342 bytes.
  82.675 Loading Level.dat: 37245990 bytes.
  82.683 Info Scenario.cpp:147: Map version 0.17.9-1
  83.532 Loading script.dat: 328 bytes.
  83.568 Checksum for script C:/Users/user/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
  83.578 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
  83.585 Hosting game at IP ADDR:({0.0.0.0:34197})
  83.585 Info ServerMultiplayerManager.cpp:714: updateTick(6974178) changing state from(CreatingGame) to(InGame)
  83.643 Info ServerRouter.cpp:606: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
  83.646 Info GameActionHandler.cpp:4013: UpdateTick (6974178) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect) 
  83.772 Info ServerRouter.cpp:485: Own address is IP ADDR:({109.7.240.252:34197}) (confirmed by pingpong1)
  83.772 Info ServerRouter.cpp:485: Own address is IP ADDR:({109.7.240.252:34197}) (confirmed by pingpong3)
  83.875 Info ServerRouter.cpp:485: Own address is IP ADDR:({109.7.240.252:34197}) (confirmed by pingpong4)
  83.891 Info SteamContext.cpp:447: Failed to get lobby game server information.
  84.039 Info SteamContext.cpp:401: Lobby created callback started.
  84.039 Info SteamContext.cpp:408: Lobby created succeeded.
  84.040 Info SteamContext.cpp:430: Lobby creation finished.
  84.040 Info SteamContext.cpp:437: Entered own lobby.
  84.187 Info MatchingServer.cpp:86: Matching server game `4639102` has been created.
  84.192 Info SteamContext.cpp:391: Leaving lobby...
  84.192 Info ServerMultiplayerManager.cpp:643: Matching server connection resumed
  84.480 Info SteamContext.cpp:401: Lobby created callback started.
  84.480 Info SteamContext.cpp:408: Lobby created succeeded.
  84.480 Info SteamContext.cpp:430: Lobby creation finished.
  84.480 Info SteamContext.cpp:437: Entered own lobby.
 101.108 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(STEAM ID:({76561198299429377}))
 101.108 Refusing connection for address (STEAM ID:({76561198299429377})), username (Hypercarry). PasswordMissing
 102.008 Warning TransmissionControlHelper.cpp:179: Fragment 0005 failed too many times
 103.408 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(STEAM ID:({76561198299429377}))
 103.408 Info ServerRouter.cpp:418: Replying to connectionRequest for address(STEAM ID:({76561198299429377})).
 103.408 Info ServerSynchronizer.cpp:557: nextHeartbeatSequenceNumber(619) adding peer(1)
 103.457 Info ServerMultiplayerManager.cpp:714: updateTick(6975355) changing state from(InGame) to(InGameSavingMap)
 103.492 Info ServerMultiplayerManager.cpp:813: updateTick(6975355) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
 104.299 Info ServerMultiplayerManager.cpp:876: UpdateTick(6975355) Serving map(C:\Users\user\AppData\Roaming\Factorio\temp\mp-save-0.zip) for peer(1) size(17251753) crc(3612638842)
 104.299 Info ServerMultiplayerManager.cpp:714: updateTick(6975355) changing state from(InGameSavingMap) to(InGame)
 104.392 Info ServerMultiplayerManager.cpp:813: updateTick(6975361) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
 109.875 Info ServerMultiplayerManager.cpp:813: updateTick(6975690) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
 111.008 Info ServerMultiplayerManager.cpp:813: updateTick(6975758) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
 111.691 Info ServerMultiplayerManager.cpp:813: updateTick(6975799) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
 111.691 Info GameActionHandler.cpp:4013: UpdateTick (6975799) processed PlayerJoinGame peerID(1) playerIndex(1) mode(connect) 
 111.791 Info ServerMultiplayerManager.cpp:813: updateTick(6975805) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
 248.627 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
 249.525 Info AppManagerStates.cpp:1716: Saving finished
 549.728 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
 550.740 Info AppManagerStates.cpp:1716: Saving finished
 850.910 Info AppManager.cpp:267: Saving to _autosave3 (blocking).
 851.890 Info AppManagerStates.cpp:1716: Saving finished
1152.043 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
1152.984 Info AppManagerStates.cpp:1716: Saving finished
1453.526 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
1454.502 Info AppManagerStates.cpp:1716: Saving finished
1586.482 Error CrashHandler.cpp:515: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-1cqbqz\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-1cqbqz\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-1cqbqz\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-1cqbqz\src\util\crashhandler.cpp (524): CrashHandler::SignalHandler
minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (304): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FFEFAE8)
000000013FFEFAE8 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EFBF7D)
0000000076EFBF7D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076ED043A)
0000000076ED043A (ntdll): (filename not available): RtlInitializeResource
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EFB61E)
0000000076EFB61E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\graph.cpp (278): agui::Graph::paintComponent
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\widget.cpp (1183): agui::Widget::recursivePaintChildren
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\layout.cpp (80): agui::Layout::recursivePaintChildren
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\layout.cpp (80): agui::Layout::recursivePaintChildren
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\frame.cpp (88): agui::Frame::recursivePaintChildren
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\widget\widget.cpp (1189): agui::Widget::recursivePaintChildren
c:\cygwin64\tmp\factorio-build-1cqbqz\libraries\agui\gui.cpp (709): agui::Gui::render
c:\cygwin64\tmp\factorio-build-1cqbqz\src\globalcontext.cpp (1311): GlobalContext::prepareRenderGui
c:\cygwin64\tmp\factorio-build-1cqbqz\src\mainloop.cpp (905): MainLoop::prepare
c:\cygwin64\tmp\factorio-build-1cqbqz\src\mainloop.cpp (598): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-1cqbqz\src\mainloop.cpp (366): MainLoop::run
c:\cygwin64\tmp\factorio-build-1cqbqz\src\main.cpp (1242): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076C8571D)
0000000076C8571D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EE385D)
0000000076EE385D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
1591.727 Error CrashHandler.cpp:174: Map tick at moment of crash: 7063903
1591.727 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.
1598.359 Uploading log file
1598.362 Error CrashHandler.cpp:221: Heap validation: success.
1598.393 Creating crash dump.
1598.638 CrashDump success
Rseding91
Factorio Staff
Factorio Staff
Posts: 14250
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.9] Crash creating circuit design tied to power generation

Post by Rseding91 »

Thanks for the report. This is fixed in the latest version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”