[0.17.4] UndoAction Crash - Right-Clicking While Dragging a Paste of Belts

This subforum contains all the issues which we already resolved.
Grenadith
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Feb 07, 2018 7:57 am
Contact:

[0.17.4] UndoAction Crash - Right-Clicking While Dragging a Paste of Belts

Post by Grenadith »

I was playing with high latency on a friend's client-hosted server. I copied a stretch of Fast Belts 10 long and 4 wide for a belt bus. With the paste, I held left-click and began dragging the selection upwards to create ghosts for a long stretch. While doing so, I right-clicked, and the game immediately crashed. I duplicated the crash immediately afterwards, so I know this was the cause of the crash.

I do not know what I was attempting by right-clicking, maybe just testing my finger to see if it still moved.
Attachments
factorio-previous.log
(15.97 KiB) Downloaded 79 times
Loewchen
Global Moderator
Global Moderator
Posts: 9274
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.4] Crash When Right-Clicking While Dragging a Paste of Belts

Post by Loewchen »

Code: Select all

   0.001 2019-03-03 19:46:29; Factorio 0.17.4 (build 43174, win64, steam)
   0.001 Operating system: Windows 10 (version 1803) 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/Andrew Olbrich/AppData/Roaming/Factorio [9275/475520MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.022 System info: [CPU: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz, 4 cores, RAM: 9110/16352 MB, page: 23956/30141 MB, virtual: 4325/134217727 MB, extended virtual: 0 MB]
   0.023 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.028 Available displays: 1
   0.028  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1070 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.080 Display: 0 -> Adapter: 0, Output: 0
   0.233 Initialised Direct3D[0]: NVIDIA GeForce GTX 1070; driver: nvldumdx.dll 25.21.14.1881
   0.233   D3D Feature Level: 11.1, DXGI 1.5+
   0.233   [Local Video Memory] Budget: 6874MB, CurrentUsage: 2MB, Reservation: 0/3639MB
   0.234   [Non-Local Vid.Mem.] Budget: 7358MB, CurrentUsage: 0MB, Reservation: 0/3883MB
   0.234   Tiled resources: Tier 2
   0.234   Unified Memory Architecture: No
   0.234   BGR 565 Supported: Yes
   0.234   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.303 Desktop composition is active.
   0.303 Graphics settings preset: very-high
   0.303   Dedicated video memory size 8088 MB
   0.303 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: low-quality]
   0.303                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.342 DSound: Starting _dsound_update thread
   0.342 DSound: Enter _dsound_update; tid=10280
   1.019 Loading mod core 0.0.0 (data.lua)
   1.250 Loading mod base 0.17.4 (data.lua)
   2.618 Loading mod base 0.17.4 (data-updates.lua)
   2.757 Checksum for core: 3928040144
   2.757 Checksum of base: 60305742
   3.395 Loading sounds...
   7.876 Info PlayerData.cpp:69: Local player-data.json unavailable
   7.876 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551573062
   8.107 Initial atlas bitmap size is 16384
   8.150 Created atlas bitmap 16384x16380 [none]
   8.154 Created atlas bitmap 16384x11284 [none]
   8.156 Created atlas bitmap 16384x2116 [decal]
   8.156 Created atlas bitmap 16384x3808 [low-object]
   8.157 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   8.172 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   8.172 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   8.174 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   8.174 Created atlas bitmap 16384x748 [alpha-mask]
   8.178 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
   8.178 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   8.192 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  22.778 Parallel Sprite Loader initialized (threads: 3)
  35.895 Sprites loaded
  35.929 Generated mipmaps for atlas of size 16384x3808
  35.940 Generated mipmaps for atlas of size 16384x1888
  35.973 Generated mipmaps for atlas of size 16384x6592
  35.984 Generated mipmaps for atlas of size 16384x480
  35.995 Generated mipmaps for atlas of size 16384x456
  36.007 Generated mipmaps for atlas of size 16384x1264
  36.010 Custom inputs active: 0
  36.094 Factorio initialised
  41.061 Loading map C:\Users\Andrew Olbrich\AppData\Roaming\Factorio\saves\0.17.X Multiplayer.zip: 14857079 bytes.
  41.293 Loading Level.dat: 30422869 bytes.
  41.298 Info Scenario.cpp:147: Map version 0.17.4-1
  42.133 Loading script.dat: 328 bytes.
  42.151 Checksum for script C:/Users/Andrew Olbrich/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
  49.709 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
  52.932 Info UDPSocket.cpp:210: Closing socket
  52.932 Info UDPSocket.cpp:240: Socket closed
  52.932 Info UDPSocket.cpp:210: Closing socket
  52.933 Joining game STEAM ID:({76561198033722847})
  52.933 Info UDPSocket.cpp:33: Opening socket
  52.938 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  53.810 Warning TransmissionControlHelper.cpp:179: Fragment 0000 failed too many times
  57.194 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ServerToClientHeartbeat) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  57.195 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.195 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.195 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.195 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.262 Connection refused
  57.262 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
  57.262 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  57.264 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2
  57.663 Info HttpSharedState.cpp:147: Status code: 200
  57.663 Info AuthServerConnector.cpp:139: Received key(300TmnpBGAp+ux0qjo2IZw==) for username(Grenadith) from auth server.
  57.664 Info UDPSocket.cpp:210: Closing socket
  57.664 Info UDPSocket.cpp:240: Socket closed
  57.664 Joining game STEAM ID:({76561198033722847})
  57.664 Info UDPSocket.cpp:33: Opening socket
  57.665 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  57.745 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.745 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from STEAM ID:({76561198033722847}): invalid state (WaitingForAccept) for packet type
  57.794 Connection refused
  57.794 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
  57.794 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  57.796 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2
  57.880 Info HttpSharedState.cpp:147: Status code: 200
  57.880 Info AuthServerConnector.cpp:139: Received key(300TmnpBGAp+ux0qjo2IZw==) for username(Grenadith) from auth server.
  57.882 Info UDPSocket.cpp:210: Closing socket
  57.882 Info UDPSocket.cpp:240: Socket closed
  57.882 Joining game STEAM ID:({76561198033722847})
  57.882 Info UDPSocket.cpp:33: Opening socket
  57.882 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  57.995 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  58.011 Connection refused
  58.011 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
  58.011 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  58.015 Info UDPSocket.cpp:210: Closing socket
  58.015 Info UDPSocket.cpp:240: Socket closed
  60.598 Joining game STEAM ID:({76561198033722847})
  60.598 Info UDPSocket.cpp:33: Opening socket
  60.599 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  60.610 Info ClientRouter.cpp:170: Received ConnectionReply with different connectionRequestID(2950190037) than ours(1216467593)
  60.610 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  60.610 Info ClientRouter.cpp:170: Received ConnectionReply with different connectionRequestID(2950190037) than ours(1216467593)
  60.610 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  60.610 Info ClientRouter.cpp:170: Received ConnectionReply with different connectionRequestID(2950190037) than ours(1216467593)
  60.610 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  60.610 Info ClientRouter.cpp:170: Received ConnectionReply with different connectionRequestID(2950190037) than ours(1216467593)
  60.610 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  60.610 Info ClientRouter.cpp:170: Received ConnectionReply with different connectionRequestID(2950190037) than ours(1216467593)
  60.610 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from STEAM ID:({76561198033722847}): invalid state (Connecting) for packet type
  60.795 Info ClientSynchronizer.cpp:35: Initialized Synchronizer local peer(1) latency(32).
  60.795 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
  60.795 Info ClientRouter.cpp:224: ConnectionAccepted
  61.694 Info ClientMultiplayerManager.cpp:743: Received mapReadyForDownload
  61.695 Downloading file C:\Users\Andrew Olbrich\AppData\Roaming\Factorio\temp\mp-download.zip (15055956 B, 29933 blocks)
  61.700 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  75.352 Finished download (13 s, 15.0 MB, 1.1 MB/s)
  75.382 Info ClientMultiplayerManager.cpp:723: updateTick(4294967295) map download finished creating scenario
  75.383 Info ClientMultiplayerManager.cpp:571: UpdateTick(4294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  75.383 Loading map C:\Users\Andrew Olbrich\AppData\Roaming\Factorio\temp\mp-download.zip: 15055956 bytes.
  75.477 Loading Level.dat: 32584222 bytes.
  75.482 Info Scenario.cpp:147: Map version 0.17.4-1
  76.373 Loading script.dat: 328 bytes.
  76.377 Checksum for script C:/Users/Andrew Olbrich/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
  76.397 Info ClientMultiplayerManager.cpp:571: UpdateTick(8667172) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  77.882 Info ClientMultiplayerManager.cpp:571: UpdateTick(8668142) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  79.444 Info ClientMultiplayerManager.cpp:571: UpdateTick(8668142) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  79.679 Info GameActionHandler.cpp:4041: UpdateTick (8668234) processed PlayerJoinGame peerID(2) playerIndex(0) mode(connect) 
  82.399 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff79d616501
ModuleBase: 0x00007ff79cd10000, ImageSize: 015ed000, RelativeAddress: 00906501
  82.399 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000010
  82.399 Error CrashHandler.cpp:396: Exception Context:
rax=00000219050062d0, rbx=0000000000000001, rcx=0000000000000000,
rdx=000000c2f5eff018, rsi=0000000000000000, rdi=0000021902642150,
rip=00007ff79d616501, rsp=000000c2f5efefe0, rbp=000000c2f5eff0e0,
 r8=0000000000000000,  r9=0000000000000001, r10=0000000000000000,
r11=000002190cc9c220, r12=00000219050062d0, r13=0000021981acd220,
r14=000002190263af20, r15=0000021981acd1f0
  82.399 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff79cd10000 - 0x00007ff79e2fd000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-ocil06\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-ocil06\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD2CCBDD0)
00007FFBD2CCBDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD6623167)
00007FFBD6623167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD660B5E6)
00007FFBD660B5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD661F7DD)
00007FFBD661F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD658D856)
00007FFBD658D856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD661E70E)
00007FFBD661E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-ocil06\src\removedentityundoaction.cpp (43): RemovedEntityUndoAction::RemovedEntityUndoAction
c:\cygwin64\tmp\factorio-build-ocil06\src\undoitem.cpp (61): UndoItem::entityRemoved
c:\cygwin64\tmp\factorio-build-ocil06\src\latencystate.cpp (943): LatencyState::handleMinedEntity
c:\cygwin64\tmp\factorio-build-ocil06\src\manualminer.cpp (123): ManualMiner::performMining
c:\cygwin64\tmp\factorio-build-ocil06\src\latencystate.cpp (298): LatencyState::update
c:\cygwin64\tmp\factorio-build-ocil06\src\latencyinputhandler.cpp (826): LatencyInputHandler::update
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (1077): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-ocil06\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*)(ParallelScenarioSaver *),ParallelScenarioSaver *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *> > > >::_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: 00007FFBD4063DC4)
00007FFBD4063DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBD65F3691)
00007FFBD65F3691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  84.189 Error CrashHandler.cpp:174: Map tick at moment of crash: 8668398
  84.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.
 100.380 Uploading log file
 100.389 Error CrashHandler.cpp:221: Heap validation: success.
 100.390 Creating crash dump.
 100.796 CrashDump success
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.17.4] UndoAction Crash - Right-Clicking While Dragging a Paste of Belts

Post by kovarex »

Hello, I believe, that this is related to some of (many) the undo queue bugs we fixed in the late 0.17, so I'm moving it to resolved.
Post Reply

Return to “Resolved Problems and Bugs”