Bug#664637: openarena-server: AAS shutdown server fatal crashed

June 26th, 2012 - 08:10 pm ET by Markus Koschany | Report spam
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)

fixed 664637 0.8.8-5
thanks


Hello,

well, i didn't follow my own advise and continued to monitor the
openarena server.


1. I think the "AAS shutdown"-bug is valid for the stable version but
not for wheezy anymore. In fact now the server crashes if only human
players play on it, last recently with seven players on oa_dm5.
Therefore i think that the bugs which i observed are different and i
will open another report as soon as i have more information.

2. I would like to debug this issue or at least gather a useful debug
output from the server but i struggle with the preparations.

- I have installed gdb, ioquake3-dbg and openarena-dbg packages.
- I have set OPENARENA_BACKTRACE=1 in /etc/default/openarena-server
- I have edited /etc/init.d/openarena-server like that

//user permissions are Debian-openarena:games
LOGFILE="/home/user/openarena.log"

start-stop-daemon --start --pidfile $PIDFILE --oknodo \

Unfortunately the daemon doesn't log anything in $LOGFILE. I missed
something but i don't know what.

What is the appropriate way to debug the openarena server?

Thanks!

Markus







To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Simon McVittie
June 27th, 2012 - 04:00 am ET | Report spam
On 27/06/12 00:57, Markus Koschany wrote:
1. I think the "AAS shutdown"-bug is valid for the stable version but
not for wheezy anymore.



OK, that's good to know!

2. I would like to debug this issue or at least gather a useful debug
output from the server


[...]
start-stop-daemon --start --pidfile $PIDFILE --oknodo \



That will log the output of start-stop-daemon to $LOGFILE.
Unfortunately, start-stop-daemon doesn't generally output anything - it
starts openarena-server, puts it in the background and exits.

What is the appropriate way to debug the openarena server?



Either start it by hand (not via the init script), or put a wrapper
similar to this somewhere (e.g. /usr/local/bin/openarena-server-wrapper):

#!/bin/sh
OPENARENA_BACKTRACE=1
export OPENARENA_BACKTRACE
exec > /home/user/openarena-server.log 2>&1
exec /usr/games/openarena-server "$@"

and modify the init script so it has
DAEMON=/usr/local/bin/openarena-server-wrapper (or wherever you put it)
instead of its current value.

S



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics