[bf1942] New Build w/Bots - Crash

Randall WolfShield at hotmail.com
Sun Jan 19 12:22:22 EST 2003


How does one insert bots into game?

----- Original Message -----
From: "Fritz Elfert" <felfert at to.com>
To: <bf1942 at icculus.org>
Sent: Sunday, January 19, 2003 12:10 PM
Subject: [bf1942] New Build w/Bots - Crash


> Hi,
>
> Tried it with 31 bots + myself on LAN. Startmap was GuadalCanal, crash
> happened during map-change to Iwo_Jima.
> Here is the backtrace:
>
> GNU gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT)
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
details.
> This GDB was configured as "i386-redhat-linux"...(no debugging symbols
> found)...
> Core was generated by `./bf1942_lnxded +game BF1942 +restart 1 +dedicated
1
> +reconnectPassword 5569 +r'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libpthread.so.0...done.
>
> warning: Unable to set global thread event mask: generic error
> [New Thread 1024 (LWP 18515)]
> Error while reading shared library symbols:
> Cannot enable thread event reporting for Thread 1024 (LWP 18515): generic
> error
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /lib/libnss_files.so.2...done.
> Loaded symbols for /lib/libnss_files.so.2
> Reading symbols from /lib/libnss_nisplus.so.2...done.
> Loaded symbols for /lib/libnss_nisplus.so.2
> Reading symbols from /lib/libnsl.so.1...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libnss_nis.so.2...done.
> Loaded symbols for /lib/libnss_nis.so.2
> Reading symbols from /lib/libnss_dns.so.2...done.
> Loaded symbols for /lib/libnss_dns.so.2
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> Reading symbols from
> /home/bf1942/MultiplayerServers/GameSpyHost_Debug.so...done.
> Loaded symbols for /home/bf1942/MultiplayerServers/GameSpyHost_Debug.so
> #0  0x08e080dd in dice::bf::ai::IPIUnit::setTime () at eval.c:41
> 41      eval.c: No such file or directory.
>         in eval.c
> (gdb) bt
> #0  0x08e080dd in dice::bf::ai::IPIUnit::setTime () at eval.c:41
> #1  0x092b17a3 in dice::bf::ai::IPIUnit::setTime () at eval.c:41
> #2  0x08e08003 in dice::bf::ai::IPIUnit::IPIUnit () at eval.c:41
> #3  0x08dfc986 in dice::bf::ai::AIObjectUnit::createInformationPlugIn ()
at
> eval.c:41
> #4  0x08df8cac in dice::bf::ai::AIObjectReal::createInformation () at
> eval.c:41
> #5  0x08df88bf in dice::bf::ai::AIObjectReal::createInformation () at
> eval.c:41
> #6  0x08df8421 in dice::bf::ai::AIObjectReal::getInformation () at
eval.c:41
> #7  0x08d443fc in dice::bf::ai::BotMain::updateBotVehicle () at eval.c:41
> #8  0x08d0c4c5 in dice::bf::ai::BotManager::setBotIsAlive () at eval.c:41
> #9  0x08cba123 in dice::bf::GameServer::spawnPlayer () at eval.c:41
> #10 0x08cbf3c8 in dice::bf::GameServer::gameStatusPlaying () at eval.c:41
> #11 0x08cbe97b in dice::bf::GameServer::updateGameLogic () at eval.c:41
> #12 0x08ccb031 in dice::bf::GameServer::simulateFrame () at eval.c:41
> #13 0x08ca747e in dice::bf::GameServer::update () at eval.c:41
> #14 0x08a9b84d in dice::bf::Setup::mainLoop () at eval.c:41
> #15 0x08a9b04c in dice::bf::Setup::start () at eval.c:41
> #16 0x08a81a4d in main () at eval.c:41
> #17 0x40072316 in __libc_start_main (main=0x8a81890 <main>, argc=8,
> ubp_av=0xbffff414, init=0x8a80cb8 <_init>,
>     fini=0x954e77c <_fini>, rtld_fini=0x4000d2fc <_dl_fini>,
> stack_end=0xbffff40c)
>     at ../sysdeps/generic/libc-start.c:129
> (gdb)
>
> Core size is 85MB
> The environment is a little bit special: It's a chrooted minimalistic
> game-server environment based on RH7.2.
> (Known to be rock-solid with other games).
> Screen-log is attached.
>
> Apart from that, the server ran fine (without any lags/connection probs).
> Machine: Athlon 1200, 1G RAM, custom kernel based on RH's 2.4.9-34.
>
> Ciao
>  -Fritze
>



More information about the Bf1942 mailing list