[cod] codwar error while starting

Roberto Omezzolli goas at g-portal.de
Mon Aug 13 11:41:46 EDT 2012


hello,

 

we are having a strange error for the last few days, does anybody else
noticed this while starting codwaw?

 

*** glibc detected *** ./codwaw_lnxded-bin: malloc(): memory corruption:
0x1a194                        c70 ***

======= Backtrace: =========

/lib/i686/cmov/libc.so.6(+0x6b381)[0xb75b8381]

/lib/i686/cmov/libc.so.6(+0x6e185)[0xb75bb185]

/lib/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xb75bcd8c]

./codwaw_lnxded-bin[0x834ca48]

./codwaw_lnxded-bin[0x834cf40]

./codwaw_lnxded-bin[0x834d2ca]

./codwaw_lnxded-bin[0x83a11aa]

./codwaw_lnxded-bin[0x83a1ba7]

./codwaw_lnxded-bin[0x839fe7f]

./codwaw_lnxded-bin[0x83a0533]

./codwaw_lnxded-bin[0x83a08d8]

./codwaw_lnxded-bin[0x839ceca]

./codwaw_lnxded-bin[0x822c527]

./codwaw_lnxded-bin[0x829acdc]

./codwaw_lnxded-bin[0x829b036]

./codwaw_lnxded-bin[0x829241d]

./codwaw_lnxded-bin[0x82503a2]

./codwaw_lnxded-bin[0x82933b6]

./codwaw_lnxded-bin[0x82503a2]

./codwaw_lnxded-bin[0x82505ae]

./codwaw_lnxded-bin[0x825c27e]

./codwaw_lnxded-bin[0x82e0dee]

/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7563ca6]

./codwaw_lnxded-bin[0x804b551]

======= Memory map: ========

 

Von: Morpheus [mailto:morpheus at clantoc.org] 
Gesendet: Montag, 13. August 2012 11:30
An: Call of Duty server admin list.
Betreff: Re: [cod] WaW Punkbuster Homepath

 

Hi,

for my cod5 server, pb folder is located at the same level where the binary
is. Here is my startscript :

#!/bin/bash
SCREENNAME="codwaw_public"
APP_PATH=/home/games/codwaw/
IP=xx.xx.xx.xx
PORT=xxxx
CFG=server.cfg
FSGAME=""
FSHOMEPATH=$APP_PATH

cd $APP_PATH

usage() {
echo "---------------------------------------------------------------------"
echo "Usage: `basename $0` (start|stop|restart)"
echo "---------------------------------------------------------------------"
exit 2
}

if [ -z $1 ]; then
usage
fi

test -x $APP_PATH/codwaw_lnxded || exit 0


start() {
test_session=`screen -list|grep $SCREENNAME|wc -l`
if [ $test_session -eq 1 ]; then
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Une session est déjà lancée"
echo "---------------------------------------------------------------------"
else
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Debut de la sequence"
echo "---------------------------------------------------------------------"
        screen -dmS $SCREENNAME ./codwaw_lnxded +set fs_basepath $APP_PATH
+set fs_homepath $FSHOMEPATH +set dedicated 2 +set fs_game $FSGAME +exec
$CFG +set sv_punkbuster 1 +set g_antilag 1 +set net_ip $IP +set net_port
$PORT +map_rotate
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Fin de la sequence"
echo "---------------------------------------------------------------------"
fi
}


stop() {
echo "---------------------------------------------------------------------"
echo "Arret du serveur : Debut de la sequence"
echo "---------------------------------------------------------------------"
screen -dr $SCREENNAME -X quit
echo "---------------------------------------------------------------------"
echo "Arret du serveur : Fin de la sequence"
echo "---------------------------------------------------------------------"

}


case "$1" in
        start)
                start
                ;;
        stop)
                stop
                ;;
        restart)
                stop
                sleep 1
                start
                ;;
        *)
                usage
                ;;
esac
exit 0

You may need to give absolute paths for your fs_homepath and fs_basepath
vars. 

Morpheus


Le 13/08/2012 11:21, Mathis Klooß a écrit :

Hey There,

i need some help for my Startscript -> COD:WW (cod5)

how can i change the Punkbuster Homepath?
so actualy the homepath ist : $HOME/.codwaw/pb/

how can i set the correct punkbuster path? -> $HOME/server/cod5-bolt/pb

Thanks
Gunah

Startscript:
cd $HOME/server/cod5-bolt

./codwaw_lnxded \
+set net_ip [ServerIP] \
+set net_port 28960 \
+set dedicated 2 \
+set fs_basepath ./ \
+set fs_homepath ./ \
+set sv_punkbuster 1 \
+set ui_maxclients 24 \
+set sv_maxclients 24 \
+set sv_pure 1 \
+exec start.cfg





_______________________________________________
cod mailing list
cod at icculus.org
http://icculus.org/mailman/listinfo/cod

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20120813/ff62107e/attachment-0001.htm>


More information about the cod mailing list