[boskid][2.0.20] Crash cutting wired belt and pasting onto different direction wired belt (WireRendering::canDrawWiresFr

This subforum contains all the issues which we already resolved.
User avatar
TrazLander
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Jan 26, 2023 4:50 am
Contact:

[boskid][2.0.20] Crash cutting wired belt and pasting onto different direction wired belt (WireRendering::canDrawWiresFr

Post by TrazLander »

Log: https://pastebin.com/TLUma3FX

Code: Select all

   0.001 2024-11-19 22:23:07; Factorio 2.0.20 (build 80511, win64, steam, space-age)
   0.001 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Config path: C:/Users/jrayi/AppData/Roaming/Factorio/config/config.ini
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/jrayi/AppData/Roaming/Factorio [458628/1906987MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.009 System info: [CPU: 12th Gen Intel(R) Core(TM) i7-12700K, 20 cores, RAM: 23834/32509 MB, page: 42057/52584 MB, virtual: 4365/134217727 MB, extended virtual: 0 MB]
   0.032 Memory info:
   0.032  [0]: Corsair CMK32GX5M2B5600C36 16384 MB 4000 MHz 1.1 v
   0.032  [1]: Corsair CMK32GX5M2B5600C36 16384 MB 4000 MHz 1.1 v
   0.179 Display options: [FullScreen: true] [VSync: true] [UIScale: manual-pixels (150.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.517 Video driver: windows
   0.517 Available displays: 4
   0.517  [3]: \\.\DISPLAY4 - NVIDIA GeForce RTX 3080 {0x05, [0,0], 3840x2160, 32bit, 120Hz}
   0.517  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3080 {0x01, [-2560,0], 2560x1440, 32bit, 144Hz}
   0.517  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 3080 {0x01, [0,-1440], 2560x1440, 32bit, 59Hz}
   0.517  [2]: \\.\DISPLAY3 - NVIDIA GeForce RTX 3080 {0x01, [-2560,-1440], 2560x1440, 32bit, 59Hz}
   0.583 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.750 Initialised Direct3D[0]: NVIDIA GeForce RTX 3080; id: 10de-220a; driver: nvldumdx.dll 32.0.15.6094
   0.750   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.750   [Local Video Memory] Budget: 11325MB, CurrentUsage: 8MB, Reservation: 0/5790MB
   0.750   [Non-Local Vid.Mem.] Budget: 15486MB, CurrentUsage: 0MB, Reservation: 0/7871MB
   0.750   Tiled resources: Tier 2
   0.750   Unified Memory Architecture: No
   0.750   BGR 565 Supported: Yes
   0.750   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.750 Graphics settings preset: very-high
   0.750   Dedicated video memory size 12093 MB
   0.774 Desktop composition is active.
   0.774 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.774                   [Max threads (load/render): 32/20] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:100,C:0,S:100]
   0.793 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.901 Logitech LED Controller initialized.
   0.929 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.929 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.929 Info ModManager.cpp:434: FeatureFlag quality = true
   0.929 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.929 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.929 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.929 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.933 Loading mod core 0.0.0 (data.lua)
   0.950 Loading mod base 2.0.20 (data.lua)
   1.165 Loading mod elevated-rails 2.0.20 (data.lua)
   1.204 Loading mod quality 2.0.20 (data.lua)
   1.222 Loading mod space-age 2.0.20 (data.lua)
   1.719 Loading mod base 2.0.20 (data-updates.lua)
   1.728 Loading mod quality 2.0.20 (data-updates.lua)
   1.741 Loading mod space-age 2.0.20 (data-updates.lua)
   1.807 Checksum for core: 2863993211
   1.808 Checksum of base: 3548713318
   1.808 Checksum of elevated-rails: 2929976872
   1.808 Checksum of quality: 3484764141
   1.808 Checksum of space-age: 1973748825
   2.093 Prototype list checksum: 3872509593
   2.136 Loading sounds...
   2.720 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.720 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732048784
   2.986 Initial atlas bitmap size is 16384
   3.002 Created an atlas bitmap (size 16384x16380) [none]
   3.020 Created an atlas bitmap (size 16384x16384) [none]
   3.046 Created an atlas bitmap (size 16384x16384) [none]
   3.047 Created an atlas bitmap (size 16384x15420) [none]
   3.047 Created an atlas bitmap (size 16384x8392) [decal]
   3.052 Created an atlas bitmap (size 16384x16384) [low-object]
   3.052 Created an atlas bitmap (size 4096x960) [low-object]
   3.052 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   3.053 Created an atlas bitmap (size 16384x5596) [none]
   3.053 Created an atlas bitmap (size 1676x79) [not-compressed]
   3.053 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.059 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   3.059 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   3.059 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   3.059 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   3.059 Created an atlas bitmap (size 8192x2576) [mipmap]
   3.060 Created an atlas bitmap (size 2048x1520) [mipmap]
   3.060 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.060 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.060 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.060 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.061 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   3.085 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   3.090 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   3.090 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
   3.091 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   3.091 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   3.091 Loading 3D bitmaps.
   3.103 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   3.120 Parallel sprite loader initialized (threads: 19, bitmaps: 8228)
  15.809 Sprites loaded
  15.832 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  15.843 Generated mipmaps (4) for atlas [6] of size 4096x960   
  15.865 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  15.876 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  15.887 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  15.898 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  15.910 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  15.945 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  15.957 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  15.968 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  15.992 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  16.003 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  16.014 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  16.025 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  16.050 Custom mipmaps uploaded (3203)
  16.055 Video memory usage: 3556.15 MB (Atlases: 3425.84 MB, Textures: 130.30 MB)
  16.171 Factorio initialised
  16.198 Steam Storage Quota: 19975/23841
  21.928 Joining game IP ADDR:({92.118.18.90:34210})
  21.928 Info UDPSocket.cpp:38: Opening socket
  21.933 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  22.002 Connection refused
  22.003 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
  22.003 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(Disconnected)
  22.004 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=6
  22.142 Info AuthServerConnector.cpp:146: Received key from auth server.
  22.143 Info UDPSocket.cpp:233: Closing socket
  22.143 Info UDPSocket.cpp:263: Socket closed
  22.143 Joining game IP ADDR:({92.118.18.90:34210})
  22.143 Info UDPSocket.cpp:38: Opening socket
  22.143 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  22.235 Info ClientSynchronizer.cpp:27: Initialized Synchronizer local peer(1) latency(32).
  22.238 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(ConnectedWaitingForMap)
  22.238 Info ClientRouter.cpp:228: ConnectionAccepted
  23.253 Info ClientMultiplayerManager.cpp:746: Received mapReadyForDownload
  23.253 Downloading file C:\Users\jrayi\AppData\Roaming\Factorio\temp\mp-download.zip (43147891 B, auxiliary 166 B, 85783 blocks)
  23.265 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  27.713 Finished download (4 s, 43.1 MB, 9.6 MB/s)
  27.778 Info ClientMultiplayerManager.cpp:726: updateTick(18446744073709551615) map download finished creating scenario
  27.784 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  27.784 Loading map C:\Users\jrayi\AppData\Roaming\Factorio\temp\mp-download.zip: 43147891 bytes.
  27.841 Loading level.dat: 125890283 bytes.
  27.845 Info Scenario.cpp:178: Map version 2.0.20-3
  29.321 Loading blueprint storage: Local timestamp 1731657735, Cloud timestamp 1731657732
  29.459 Loading script.dat: 1222 bytes.
  29.463 Checksum for script __level__/control.lua: 1487321736
  29.507 Info ClientMultiplayerManager.cpp:607: UpdateTick(54580900) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  31.137 Info ClientMultiplayerManager.cpp:607: UpdateTick(54581375) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  31.235 Info ClientMultiplayerManager.cpp:607: UpdateTick(54581375) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  31.286 Info GameActionHandler.cpp:4324: UpdateTick (54581379) processed PlayerJoinGame peerID(22) playerIndex(0) mode(connect) 
  41.603 Info ClientSynchronizer.cpp:319: Latency changed to (9)
  66.670 Info ClientSynchronizer.cpp:319: Latency changed to (8)
  71.670 Info ClientSynchronizer.cpp:319: Latency changed to (7)
  96.575 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff621cb25e3
ModuleBase: 0x00007ff620d80000, ImageSize: 02837000, RelativeAddress: 00f325e3
  96.575 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000000
  96.575 Error CrashHandler.cpp:523: Exception Context:
rax=00007ff621cb28a3, rbx=0000000000000002, rcx=00000119953e1a80,
rdx=00000119953e1a80, rsi=0000000000000000, rdi=00000119a08cae20,
rip=00007ff621cb25e3, rsp=000000049e5ff8f0, rbp=00000119a08cae20,
 r8=0000000000000002,  r9=0000000000000000, r10=00000119576d8c80,
r11=000000049e5ff800, r12=00007ff620d80000, r13=0000000000000000,
r14=00000119953e1a80, r15=0000000000000002
  96.575 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff620d80000 - 0x00007ff6235b7000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Util\CrashHandler.cpp(552): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8C93B21C)
00007FFA8C93B21C (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F3797FD)
00007FFA8F3797FD (ntdll): (filename not available): RtlCopyMemory
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F35F687)
00007FFA8F35F687 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F37517F)
00007FFA8F37517F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F2EE856)
00007FFA8F2EE856 (ntdll): (filename not available): RtlFindCharInUnicodeString
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F37416E)
00007FFA8F37416E (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Wires\WireRendering.cpp(20): WireRendering::canDrawWiresFromEntity
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Wires\WireRendering.cpp(76): WireRendering::draw
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Graphics\EntityRenderer.cpp(284): `EntityRenderer::threadJob'::`2'::<lambda_1>::operator()
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Graphics\EntityRenderer.cpp(302): EntityRenderer::threadJob
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Util\WorkerThread.cpp(71): WorkerThread::loop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl MapGenerationHelper::*)(void),MapGenerationHelper *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8D3A257D)
00007FFA8D3A257D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8F32AF08)
00007FFA8F32AF08 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  97.821 Error CrashHandler.cpp:190: Map tick at moment of crash: 54585285
  97.867 Info CrashHandler.cpp:318: Executable CRC: 1438233420
  97.867 Error Util.cpp:95: 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.
 101.098 Uploading log file
 101.127 Error CrashHandler.cpp:270: Heap validation: success.
 101.129 Creating crash dump.
 101.421 CrashDump success
Wire two belts:
Image

Cut:
Image

Ctrl-Shift Paste:
Image

They do not have to be wired to each other, cutting and pasting the right to the left one also works:
Image
comrain
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 23, 2024 2:15 pm
Contact:

Re: [2.0.20] Crash cutting wired belt and pasting onto different direction wired belt (WireRendering::canDrawWiresFromE)

Post by comrain »

I can confirm this. Happened to me in a hosted save. Only the client crashed. Can be reproduced on both Linux and Windows.

Steps to reproduce:
  • Go to space platform "Bangz"
    Screenshot_20241123_152057.png
    Screenshot_20241123_152057.png (6.49 KiB) Viewed 923 times
  • Cut (Ctrl + X) the three entities in the picture
    Screenshot_20241123_152134.png
    Screenshot_20241123_152134.png (158.26 KiB) Viewed 923 times
  • Force paste (Shift + Ctrl + V) one tile up
    Screenshot_20241123_153300.png
    Screenshot_20241123_153300.png (175.29 KiB) Viewed 923 times
Savefile, screenshots and logs (server, Linux client, Win client):
WireRendering-Crash.zip
(44.83 MiB) Downloaded 17 times
The "nocrash" file is the log from the win client while the Linux client crashed.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3437
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.20] Crash cutting wired belt and pasting onto different direction wired belt (WireRendering::canDrawWir

Post by boskid »

Thanks for the report. I managed to reproduce the issue and fix it for 2.0.25.
Post Reply

Return to “Resolved Problems and Bugs”