[Genhis][2.0.42] Crash replacing train stop ghost with LTN version "Failed to get EntityGhost"

This subforum contains all the issues which we already resolved.
boywithumbrella
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 30, 2025 12:23 am
Contact:

[Genhis][2.0.42] Crash replacing train stop ghost with LTN version "Failed to get EntityGhost"

Post by boywithumbrella »

Factorio 2.0.42 with LTN 2.3.2 crashes when replacing a regular train station ghost with an LTN station ghost in map view.

log snippet:

Code: Select all

ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96A39E8D7)
00007FF96A39E8D7 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96A69BF6C)
00007FF96A69BF6C (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  79.322 Error Entity.cpp:3587: Failed to get EntityGhost for [name=logistic-train-stop, type=train-stop(TrainStop), position={-783.000, -585.000}, direction=West, force=player, surface=nauvis, setup=false, owned-by-ghost=true, to-be-deconstructed=false, to-be-upgraded=false, simulation=true]
  79.322 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
  79.322 Info LuaEventDispatcher.cpp:754: dispatching event on_entity_color_changed (ID 196), script mod-SpidertronPatrols
  79.322 Error CrashHandler.cpp:190: Map tick at moment of crash: 45695396
  79.357 Info CrashHandler.cpp:318: Executable CRC: 2611162946
  79.357 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.
  89.036 Uploading log file
  89.098 Error CrashHandler.cpp:270: Heap validation: success.
  89.099 Creating crash dump.
  89.256 CrashDump success
log, mod list, and crash dump attached. Cross-posted to LTN bug reports:
https://mods.factorio.com/mod/LogisticT ... b0b243c793
Attachments
factorio-dump-previous.dmp
(1.04 MiB) Downloaded 18 times
mod-list.json
(5.21 KiB) Downloaded 21 times
factorio.log
(36.35 KiB) Downloaded 21 times
Last edited by boywithumbrella on Sun Mar 30, 2025 3:26 am, edited 1 time in total.
boywithumbrella
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 30, 2025 12:23 am
Contact:

Re: [2.0.42] Crash replacing train stop ghost with LTN version "Failed to get EntityGhost"

Post by boywithumbrella »

attached is a save file (with its factorio log and crash dump). Steps to reproduce:
1. load save, switch to map view, switch to Nauvis (on Nauvis, there is a spidertron standing next to a disconnected set of tracks, with a station ghost attached to those tracks)
2. left-click on spidertron to open its inventory, press Q, left-click on LTN train station in spidertron's inventory, press E to close inventory window, place the LTN train station with the mouse cursor over the train station ghost, left-click to replace the train station ghost with the LTN train station
3. observe the crash
Attachments
factorio-dump-current.dmp
(1.07 MiB) Downloaded 17 times
factorio-current.log
(45.18 KiB) Downloaded 22 times
station_ghost_crash.zip
(26.26 MiB) Downloaded 21 times
Genhis
Factorio Staff
Factorio Staff
Posts: 792
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.42] Crash replacing train stop ghost with LTN version "Failed to get EntityGhost"

Post by Genhis »

Thanks for the report and for the attached save file. The crash is fixed for the next release, 2.0.46.
Post Reply

Return to “Resolved Problems and Bugs”