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

Simon McVittie smcv at debian.org
Wed Jun 27 07:51:43 UTC 2012


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 \
>         --background --exec $BINARY --startas $DAEMON \
>         --make-pidfile --chuid $USER \
>         -- $DAEMON_OPTS > $LOGFILE 2>&1 || return 1

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





More information about the Pkg-games-devel mailing list