Bug#607178: ioquake3-server: Seg fault caused by code/botlib/be_aas_route.c:1860
Simon McVittie
smcv at debian.org
Sun Jan 16 23:54:40 UTC 2011
On Wed, 15 Dec 2010 at 11:17:22 +0000, Daniel Piddock wrote:
> I've been experiencing seg faults of the quake server using openarena from
> experimental (0.8.5-5+exp2). I recompiled both with DEB_BUILD_OPTIONS="noopt
> nostrip" and run with:
> OPENARENA_BACKTRACE=1 /usr/games/openarena-server +exec debian_server.cfg
Hi,
Thanks for testing the experimental openarena! Unfortunately, the openarena
wrapper script in revision -5+exp2 handled OPENARENA_BACKTRACE incorrectly.
Please try the attached script instead (or upgrade to -5+exp3, but you'd
need to rebuild it with nostrip again for useful results).
Regards,
Simon
-------------- next part --------------
#!/bin/sh
# quake3 or quake3-server or whatever
IOQ3SELF=openarena-server
# "server" or "client"
IOQ3ROLE=server
# ioquake3 or ioq3ded
IOQ3BINARY=ioq3ded
# q3a or openarena
IOQ3DOTDIR=openarena
ENGINE="/usr/lib/ioquake3/${IOQ3BINARY}"
DEBUGGER="$OPENARENA_DEBUGGER"
# we're a standalone game
CVARS="+set com_standalone 1"
CVARS="$CVARS +set fs_basegame baseoa"
CVARS="$CVARS +set fs_basepath /usr/lib/games/openarena"
CVARS="$CVARS +set fs_homepath \"$HOME/.$IOQ3DOTDIR\""
# OA uses a different protocol number to reflect incompatible game content
CVARS="$CVARS +set protocol 71"
# OA's default master server is different
CVARS="$CVARS +set sv_master1 dpmaster.deathmask.net"
# update.quake3arena.com is pretty irrelevant if you're playing OA
CVARS="$CVARS +set cl_motd 0"
QUIET=0
EXCUSE="\
OpenArena ${IOQ3ROLE} wrapper for Debian\n\
\n\
Usage: ${IOQ3SELF} [OPTION]...\n\
\n\
-h, --help\t\tDisplay this help\n\
-q, --quiet\t\tDisable console output\n\
+<internal command>\tPass commands to the engine\n"
while [ "$1" != "" ]; do
case "$1" in
-h|--help)
echo ${EXCUSE}
exit 0
;;
-q|--quiet)
CVARS="$CVARS +set ttycon 0"
QUIET=1
;;
*)
break
;;
esac
shift
done
if test "z$QUIET" = z1; then
exec >/dev/null 2>&1;
fi
if test -n "$OPENARENA_BACKTRACE"; then
exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args ${ENGINE} ${CVARS} "$@"
else
exec ${DEBUGGER} ${ENGINE} ${CVARS} "$@"
fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110116/20ae01ad/attachment.pgp>
More information about the Pkg-games-devel
mailing list