Segmentation fault under specific conditions (apparently unloading the entity the player is attached to) #14694
Labels
@ Server / Client / Env.
Unconfirmed bug
Bug report that has not been confirmed to exist/be reproducible
Minetest version
Irrlicht device
No response
Operating system and version
Linux Mint 21.3 Cinnamon
CPU model
Intel© Core™ i3-7100U CPU @ 2.40GHz × 2
GPU model
Intel Corporation HD Graphics 620
Active renderer
No response
Summary
The server can crash with Segmentation Fault error when riding an Advtrains train for some time. The bug can be easily reproduced when using a modified version of Advtrains from https://gitlab.com/tunnelers-abyss/advtrains which allows larger speed of trains (I had also once managed to reproduce it with the standard version of Advtrains but it was much more difficult). It's not because of bugs in the mod, because even if it is, potential bugs in mods shouldn't cause Segmentation Fault in the whole engine. Coredump pointed that the source of the crash is l_object.cpp:728:
Also, before the crash, there was the following line in the log:
WARNING[Server]: PlayerSAO::step() id=1 is attached to nonexistent parent. This is a bug.
Steps to reproduce
Restricting max memory for the app via
systemd-run --scope -p MemoryMax=500M --user ./bin/minetest
didn't help to reproduce the bug.
The text was updated successfully, but these errors were encountered: