
Apparent crash when players time out
Justsnoopy30 opened this issue ยท 3 comments
I am not sure if this is krypton's fault, but the crash report points to a krypton mixin at the top of the stacktrace.
Crash report: crash-2022-05-23_18.47.28-server.txt
@astei I believe this is the crash that I mentioned in the discord.
The list of mods which we both have are as follows:
- worldedit
- starlight
- spark
- servertick
- ledger
- ferritecore
- carpet mod
I'll look into this further, but I believe I may already have a fix.
(I just wasn't able to reproduce previously, but this should help with reproducing)
This is what I said about it in the discord server:
a possible crash due to moving to a new chunk after changing dimensions/dying (caused by a race condition, I believe)
I believe it may have something to do with a player being removed from a dimension, thus the corresponding ObjectSet<ServerPlayerEntity>
has already been removed, but for some reason there's a race condition that causes it to execute twice & throw a nullptr.