[2.0.20] Crashing when trying to land from station. (CargoStation::getRandomAvailableHatch)

Things that has been reported already before.
TBEHotwing
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 23, 2024 12:42 am
Contact:

[2.0.20] Crashing when trying to land from station. (CargoStation::getRandomAvailableHatch)

Post by TBEHotwing »

Code: Select all

   0.000 2024-11-22 19:38:41; Factorio 2.0.20 (build 80511, win64, steam, space-age)
   0.001 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.001 Program arguments: "D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "10684" "--host" "C:/Users/chris/AppData/Roaming/Factorio/saves/_autosave2.zip" 
   0.001 Config path: C:/Users/chris/AppData/Roaming/Factorio/config/config.ini
   0.001 Read data path: D:/SteamLibrary/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/chris/AppData/Roaming/Factorio [119843/752524MB]
   0.001 Binaries path: D:/SteamLibrary/steamapps/common/Factorio/bin
   0.007 System info: [CPU: 12th Gen Intel(R) Core(TM) i9-12900K, 24 cores, RAM: 12732/32509 MB, page: 17301/65277 MB, virtual: 2101521/134217727 MB, extended virtual: 0 MB]
   0.032 Memory info:
   0.032  [0]: A-DATA Technology DDR4 3200 8192 MB 3200 MHz 1.2 v
   0.032  [1]: A-DATA Technology DDR4 3200 8192 MB 3200 MHz 1.2 v
   0.032  [2]: A-DATA Technology DDR4 3200 8192 MB 3200 MHz 1.2 v
   0.032  [3]: A-DATA Technology DDR4 3200 8192 MB 3200 MHz 1.2 v
   0.144 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.285 Video driver: windows
   0.285 Available displays: 2
   0.285  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3080 {0x05, [0,0], 2560x1080, 32bit, 200Hz}
   0.286  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 3080 {0x01, [2560,0], 1920x1080, 32bit, 144Hz}
   0.333 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.662 Initialised Direct3D[0]: NVIDIA GeForce RTX 3080; id: 10de-2216; driver: nvldumdx.dll 32.0.15.6603
   0.662   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.662   [Local Video Memory] Budget: 9285MB, CurrentUsage: 26MB, Reservation: 0/4770MB
   0.662   [Non-Local Vid.Mem.] Budget: 15486MB, CurrentUsage: 10MB, Reservation: 0/7871MB
   0.662   Tiled resources: Tier 2
   0.662   Unified Memory Architecture: No
   0.662   BGR 565 Supported: Yes
   0.662   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.662 Graphics settings preset: very-high
   0.662   Dedicated video memory size 10053 MB
   0.682 Desktop composition is active.
   0.682 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.682                   [Max threads (load/render): 32/24] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCwtl] [B:0,C:0,S:100]
   0.707 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.851 Logitech LED Controller initialized.
   0.877 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.877 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.877 Info ModManager.cpp:434: FeatureFlag quality = true
   0.877 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.877 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.877 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.877 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.878 Loading mod settings squeak-through-2 0.1.2 (settings.lua)
   0.880 Loading mod core 0.0.0 (data.lua)
   0.895 Loading mod base 2.0.20 (data.lua)
   1.021 Loading mod elevated-rails 2.0.20 (data.lua)
   1.044 Loading mod quality 2.0.20 (data.lua)
   1.055 Loading mod space-age 2.0.20 (data.lua)
   1.344 Loading mod base 2.0.20 (data-updates.lua)
   1.354 Loading mod quality 2.0.20 (data-updates.lua)
   1.372 Loading mod space-age 2.0.20 (data-updates.lua)
   1.380 Loading mod squeak-through-2 0.1.2 (data-final-fixes.lua)
   1.457 Checksum for core: 2863993211
   1.457 Checksum of base: 3548713318
   1.457 Checksum of squeak-through-2: 1101572755
   1.457 Checksum of elevated-rails: 2929976872
   1.457 Checksum of quality: 3484764141
   1.457 Checksum of space-age: 1973748825
   1.711 Prototype list checksum: 3872509593
   1.755 Loading sounds...
   2.208 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.208 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732322318
   2.523 Initial atlas bitmap size is 16384
   2.542 Created an atlas bitmap (size 16384x16380) [none]
   2.578 Created an atlas bitmap (size 16384x16384) [none]
   2.608 Created an atlas bitmap (size 16384x16384) [none]
   2.609 Created an atlas bitmap (size 16384x15420) [none]
   2.609 Created an atlas bitmap (size 16384x8392) [decal]
   2.613 Created an atlas bitmap (size 16384x16384) [low-object]
   2.613 Created an atlas bitmap (size 4096x960) [low-object]
   2.614 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   2.614 Created an atlas bitmap (size 16384x5596) [none]
   2.614 Created an atlas bitmap (size 1676x79) [not-compressed]
   2.614 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.620 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   2.621 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   2.621 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.621 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   2.621 Created an atlas bitmap (size 8192x2576) [mipmap]
   2.621 Created an atlas bitmap (size 2048x1520) [mipmap]
   2.621 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.622 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.622 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.622 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.623 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   2.642 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   2.648 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   2.648 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
   2.648 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.648 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.648 Loading 3D bitmaps.
   2.658 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.672 Parallel sprite loader initialized (threads: 23, bitmaps: 8228)
  15.645 Sprites loaded
  15.688 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  15.699 Generated mipmaps (4) for atlas [6] of size 4096x960   
  15.710 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  15.722 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  15.733 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  15.744 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  15.755 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  15.789 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  15.799 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  15.810 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  15.831 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  15.843 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  15.853 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  15.865 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  15.886 Custom mipmaps uploaded (3203)
  15.892 Video memory usage: 3556.15 MB (Atlases: 3425.84 MB, Textures: 130.30 MB)
  15.973 Factorio initialised
  15.977 Steam Storage Quota: 23410/23841
  15.984 Info ServerSynchronizer.cpp:22: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  15.984 Info ServerMultiplayerManager.cpp:808: updateTick(18446744073709551615) changing state from(Ready) to(PreparedToHostGame)
  15.984 Info ServerMultiplayerManager.cpp:808: updateTick(18446744073709551615) changing state from(PreparedToHostGame) to(CreatingGame)
  15.985 Loading map C:/Users/chris/AppData/Roaming/Factorio/saves/_autosave2.zip: 11393611 bytes.
  16.039 Loading level.dat: 28241741 bytes.
  16.041 Info Scenario.cpp:178: Map version 2.0.20-3
  16.605 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
  16.605 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
  16.605 Loading blueprint storage: Local timestamp 1717729214, Cloud timestamp -1
  16.873 Loading script.dat: 1509 bytes.
  16.877 Checksum for script __level__/control.lua: 1487321736
  16.887 Info UDPSocket.cpp:32: Opening socket at (IP ADDR:({0.0.0.0:34197}))
  16.888 Hosting game at IP ADDR:({0.0.0.0:34197})
  16.888 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=6
  17.100 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (zEQuXPZoOoS1vPYfwP2eeVxVlsvrT4zR) from the auth server.
  17.100 Info ServerMultiplayerManager.cpp:808: updateTick(8838001) changing state from(CreatingGame) to(InGame)
  17.110 Info GameActionHandler.cpp:4324: UpdateTick (8838001) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect) 
  17.248 Info SteamContext.cpp:540: Lobby created callback started.
  17.248 Info SteamContext.cpp:547: Lobby created succeeded.
  17.248 Info SteamContext.cpp:569: Lobby creation finished.
  17.248 Info SteamContext.cpp:577: Entered own lobby.
  46.013 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff7e5a3a224
ModuleBase: 0x00007ff7e4c60000, ImageSize: 02837000, RelativeAddress: 00dda224
  46.013 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000020
  46.013 Error CrashHandler.cpp:523: Exception Context:
rax=000001c928261e40, rbx=0000000000000094, rcx=0000000000000000,
rdx=000001c922db0000, rsi=000001ca32c8b770, rdi=000001c928261e48,
rip=00007ff7e5a3a224, rsp=0000000d6494c9f0, rbp=000001c928261e48,
 r8=000001c922be4800,  r9=0000000000000001, r10=0000000000000003,
r11=0000000d6494c8d0, r12=0000000000000000, r13=000001ca51f564d8,
r14=000001ca32c8bad0, r15=0000000000000000
  46.013 Crashed in D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7e4c60000 - 0x00007ff7e7497000)
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: 00007FF864BABFEC)
00007FF864BABFEC (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8673F98FD)
00007FF8673F98FD (ntdll): (filename not available): RtlCopyMemory
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8673DF6B7)
00007FF8673DF6B7 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8673F527F)
00007FF8673F527F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF86736E886)
00007FF86736E886 (ntdll): (filename not available): RtlFindCharInUnicodeString
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8673F426E)
00007FF8673F426E (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Space\CargoDelivery\CargoStation.cpp(385): CargoStation::getRandomAvailableHatch
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Space\SurfaceCargoLogistics.cpp(185): SurfaceCargoLogistics::getRandomAvailableInputHatch
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Space\SurfaceCargoLogistics.cpp(160): SurfaceCargoLogistics::getLandingDestination
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Player.cpp(931): Player::checkLandAtCurrentPlanet
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\GameActionHandler.cpp(3100): GameActionHandler::landAtPlanet
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\GameActionHandler.cpp(367): GameActionHandler::actionPerformed
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Input\InputSource.cpp(67): InputSource::flushActions
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Net\NetworkInputHandler.cpp(177): NetworkInputHandler::flushActions
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Net\NetworkInputHandler.cpp(117): NetworkInputHandler::tryToApplyNextTickClosure
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Net\ServerMultiplayerManager.cpp(760): ServerMultiplayerManager::updateMultiplayerInputInternal
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\Net\MultiplayerManagerBase.cpp(166): MultiplayerManagerBase::updateMultiplayerInput
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\MainLoop.cpp(1385): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-5qgi5w\src\MainLoop.cpp(1209): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\functional(823): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
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: 00007FF866D6259D)
00007FF866D6259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8673AAF38)
00007FF8673AAF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  47.391 Error CrashHandler.cpp:190: Map tick at moment of crash: 8841422
  47.430 Info CrashHandler.cpp:318: Executable CRC: 1438233420
  47.430 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.
  57.584 Uploading log file
  57.595 Error CrashHandler.cpp:270: Heap validation: success.
  57.596 Creating crash dump.
  57.923 CrashDump success
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3254
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.20] Crashing when trying to land from station. (CargoStation::getRandomAvailableHatch)

Post by boskid »

From what i know this issue was fixed in 2.0.21 that is available in experimental branch. Can you verify if the issue was fixed there?

Ref 122356 122616 122631 122649 122656

-- edit:

I think this issue was indirectly fixed by 121978

-- edit:

Klonan says this is the same bug report (nullptr hatch) so i am moving this to Duplicates due to 121978
Post Reply

Return to “Duplicates”