Page MenuHomeFeedback Tracker

Linux Dayz Experimental 1.20 server does not exit cleanly upon SIGTERM
Assigned, NormalPublic

Description

When running the latest DayZ experimental server with any mods, stopping the server via control c or sending the SIGTERM signal to the process, causes what looks like a double free, which then causes a deadlock in the program. I've briefly inspected a core file from this scenario and found that many threads were stuck on PTHREAD_COND_MUTEX, a clear indication of a deadlock, IMO.

When no mods are loaded, the server exits cleanly.

BUT, with certain mods loaded, and I suspect VPPAdminTools, the server seg faults upon exit. This is also not a clean exit, but at least it does exit, whereas with the previous scenario, only a SIGKILL will end the process.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Operating System Version
Debian testing
Category
Server
Steps To Reproduce

Run Linux Dayz experimental server with any mod.
Send it the SIGTERM signal.
Observe as it deadlocks and never exits.

Additional Information

Run Linux Dayz experimental server with VPPAdminTools (Most likely...)
Send it the SIGTERM signal.
Observe as it receives a SIGSEGV and exits uncleanly.

Event Timeline

Geez changed the task status from New to Assigned.Mar 2 2023, 9:56 AM
Geez added subscribers: dedmen, Geez.
This comment was removed by Geez.