Page MenuHomeFeedback Tracker

Linux Dayz experimental - DayzServer seg faults on graceful shutdown
Assigned, NormalPublic

Description

After launching Dayz and then issue a kill -15 on the process, it takes up to 60 seconds to finish then it seg faults.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Operating System Version
NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)"
Category
Server
Steps To Reproduce

./DayZServer -config=serverDZ.cfg -port=2302 -freezecheck -BEpath=/home/dayz2/serverfiles/battleye/ -profiles=/home/dayz2/serverprofile/

ps -ef|grep DayZServer

dayz2 78698 61179 99 12:02 pts/3 00:02:19 ./DayZServer -config=serverDZ.cfg -port=2302 -freezecheck -BEpath=/home/dayz2/serverfiles/battleye/ -profiles=/home/dayz2/serverprofile/

kill -15 78698

tail /var/log/apport.log

ERROR: apport (pid 78826) Sat Jan 29 12:04:09 2022: called for pid 78698, signal 11, core limit 18446744073709551615, dump mode 1
ERROR: apport (pid 78826) Sat Jan 29 12:04:09 2022: ignoring implausibly big core limit, treating as unlimited
ERROR: apport (pid 78826) Sat Jan 29 12:04:09 2022: executable: /home/dayz2/serverfiles/DayZServer (command line "./DayZServer -config=serverDZ.cfg -port=2302 -freezecheck -BEpath=/home/dayz2/serverfiles/battleye/ -profiles=/home/dayz2/serverprofile/")
ERROR: apport (pid 78826) Sat Jan 29 12:04:09 2022: executable does not belong to a package, ignoring
ERROR: apport (pid 78826) Sat Jan 29 12:04:10 2022: writing core dump to core._home_dayz2_serverfiles_DayZServer.1004.1a3b9832-d2f2-4187-8469-3a341052866d.78698.15521598 (limit: -1)

Additional Information

12:03:12 BattlEye Server: RCon admin #3 (192.168.1.246:60635) logged in
12:04:09
Unreachable
Received fatal signal: SIGSEGV(11) PID: 78698

  • SIGNAL SIGSEGV (11)

exitWithDefaultSignalHandler:156. Exiting due to signal, 11
Segmentation fault (core dumped)

Also RPT
12:03:09 [CE][Hive] :: Init sequence finished.
12:03:09 Player connect enabled
12:03:10 [IdleMode] Entering IN - save processed
12:04:09 --- Termination successfully completed ---

stack dump [1]  ./DayZServer() [0xd2cede]
stack dump [2]  /lib/x86_64-linux-gnu/libpthread.so.0 : +0x153c0 [0x7f89728583c0]
stack dump [3]  ./DayZServer() [0x85e150]
stack dump [4]  ./DayZServer() [0x8405f6]
stack dump [5]  ./DayZServer() [0x842def]
stack dump [6]  ./DayZServer() [0xd29da7]
stack dump [7]  ./DayZServer() [0xd29db9]
stack dump [8]  ./DayZServer() [0x9fb944]
stack dump [9]  ./DayZServer() [0x5e85c1]
stack dump [10]  ./DayZServer() [0x5626d5]
stack dump [11]  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main+0xf3 [0x7f897232a0b3]
stack dump [12]  ./DayZServer() [0x5d9efa]

Event Timeline

Geez assigned this task to dedmen.Jan 31 2022, 10:24 AM
Geez changed the task status from New to Assigned.
Geez added subscribers: dedmen, Geez.

Any updates on this?

I believe this was fixed. server shuts down in 6 seconds.