[1.1.104] Null pointer dereference in rail.cpp
Posted: Thu Mar 28, 2024 7:49 pm
Hi, I experienced a game crash on 1.1.104 build 62119.
For searchability in the forum: Rail::requestToOpenGates in rail.cpp did a null pointer dereference (Read at address 0000000000000000) on line 1745.
-> What did you do?
I am afraid I don't have much more to say as I was playing normally when it crashed. I think I clicked on the map (graphics, not button) to open it and redirect some train to some station (but did not yet).
-> What happened?
The game crashed and invited me to post it on the forum. So here I am!
-> What did you expect to happen instead?
The map top open.
-> Does it happen always, once, or sometimes?
This is the first time I've ever had the game crash.
-> If you can reproduce the issue provide the exact steps!
I will do my best to break the game again!
Attached are the logs, and the map can be found here : https://foobarbaz.s3.fr-par.scw.cloud/_autosave3.zip (autosave, I cannot tell you for how long after it it crashed). The map does not have a lot of train gates, perhaps it helps.
The game is modded with a few mods:
- Actual Craft Time v0.5.9
- Auto Deconstruct v0.3.12
- Automatic Train Painter v1.2.0
- Display Plates - Ground Signs & Map Markers v1.5.1
- Simulation Helper v1.1.6
- Spidertron Enhancements v1.9.1
- Text Plates v0.6.10
- Vil's Clear nightvision v1.0.1
Thanks!
For searchability in the forum: Rail::requestToOpenGates in rail.cpp did a null pointer dereference (Read at address 0000000000000000) on line 1745.
-> What did you do?
I am afraid I don't have much more to say as I was playing normally when it crashed. I think I clicked on the map (graphics, not button) to open it and redirect some train to some station (but did not yet).
-> What happened?
The game crashed and invited me to post it on the forum. So here I am!
-> What did you expect to happen instead?
The map top open.
-> Does it happen always, once, or sometimes?
This is the first time I've ever had the game crash.
-> If you can reproduce the issue provide the exact steps!
I will do my best to break the game again!
Attached are the logs, and the map can be found here : https://foobarbaz.s3.fr-par.scw.cloud/_autosave3.zip (autosave, I cannot tell you for how long after it it crashed). The map does not have a lot of train gates, perhaps it helps.
The game is modded with a few mods:
- Actual Craft Time v0.5.9
- Auto Deconstruct v0.3.12
- Automatic Train Painter v1.2.0
- Display Plates - Ground Signs & Map Markers v1.5.1
- Simulation Helper v1.1.6
- Spidertron Enhancements v1.9.1
- Text Plates v0.6.10
- Vil's Clear nightvision v1.0.1
Thanks!