_DEDICATED -o WeaponInfo.o WeaponInfo.cpp gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o zoneControlGame.o zoneControlGame.cpp In file included from luaObject.h:31, from item.h:31, from ship.h:29, from flagItem.h:30, from gameType.h:30, from zoneControlGame.h:28, from zoneControlGame.cpp:26: EventManager.h:111:7: warning: no newline at end of file gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../clipper/clipper.o ../clipper/clipper.cpp gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../master/masterInterface.o ../master/masterInterface.cpp gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../master/database.o ../master/database.cpp ../master/database.cpp: In destructor âDbQuery::~DbQuery()â: ../master/database.cpp:516: warning: deleting âQuery*â is undefined gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../recast/RecastAlloc.o ../recast/RecastAlloc.cpp gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../recast/RecastMesh.o ../recast/RecastMesh.cpp ../recast/RecastMesh.cpp: In function âbool buildMeshAdjacency(short unsigned in t*, int, short unsigned int*, int, int)â: ../recast/RecastMesh.cpp:134: warning: unused variable âp0â ../recast/RecastMesh.cpp:135: warning: unused variable âp1â ../recast/RecastMesh.cpp: In function âbool rcBuildPolyMesh(int, int*, int, int* , int, rcPolyMesh&)â: ../recast/RecastMesh.cpp:466: warning: operation on âpolysâ may be undefined ../recast/RecastMesh.cpp: At global scope: ../recast/RecastMesh.cpp:43: warning: âbool buildMeshAdjacency(short unsigned in t*, int, short unsigned int*, int, int)â defined but not used ../recast/RecastMesh.cpp:248: warning: âbool intersect(const int*, const int*, c onst int*, const int*)â defined but not used gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../sqlite/sqlite3.o ../sqlite/sqlite3.c gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -c -DZAP _DEDICATED -o ../Triangle/triangle.o ../Triangle/triangle.c ../Triangle/triangle.c: In function âincircleadaptâ: ../Triangle/triangle.c:5414: warning: âaxtbclenâ may be used uninitialized in th is function ../Triangle/triangle.c:5414: warning: âaytbclenâ may be used uninitialized in th is function ../Triangle/triangle.c:5414: warning: âbxtcalenâ may be used uninitialized in th is function ../Triangle/triangle.c:5414: warning: âbytcalenâ may be used uninitialized in th is function ../Triangle/triangle.c:5414: warning: âcxtablenâ may be used uninitialized in th is function ../Triangle/triangle.c:5414: warning: âcytablenâ may be used uninitialized in th is function ../Triangle/triangle.c: In function âinsertvertexâ: ../Triangle/triangle.c:8277: warning: âtoprcasing.orientâ may be used uninitiali zed in this function ../Triangle/triangle.c:8277: warning: âtoprcasing.triâ may be used uninitialized in this function gcc -g -I../tnl -I../libsdl/SDL -I../openal -I../Triangle -I../recast -I../clipp er -I../alure -I../libspeex -I../boost -DTNL_ENABLE_LOGGING -Wall -O2 -o ../exe/ bitfighterd BanList.o barrier.o BotNavMeshZone.o ClientInfo.o Color.o config.o c ontrolObjectConnection.o CoreGame.o CTFGame.o dataConnection.o EditorObject.o En gineeredItem.o EventManager.o flagItem.o game.o gameConnection.o gameLoader.o ga meNetInterface.o gameObject.o GameSettings.o gameStats.o gameType.o gameWeapons. o Geometry.o GeomUtils.o goalZone.o gridDB.o HTFGame.o IniFile.o InputCode.o ite m.o lineEditor.o loadoutZone.o luaGameInfo.o luaLevelGenerator.o luaObject.o lua Util.o main.o masterConnection.o md5wrapper.o move.o moveObject.o NexusGame.o Pi ckupItem.o playerInfo.o Point.o polygon.o projectile.o rabbitGame.o Rect.o retri eveGame.o robot.o ScreenInfo.o ServerGame.o ship.o shipItems.o SimpleLine.o Slip Zone.o soccerGame.o SoundEffect.o SoundSystem.o Spawn.o speedZone.o statistics.o stringUtils.o teamInfo.o teleporter.o textItem.o Timer.o WallSegmentManager.o W eaponInfo.o zoneControlGame.o ../clipper/clipper.o ../master/masterInterface.o . ./master/database.o ../recast/RecastAlloc.o ../recast/RecastMesh.o ../sqlite/sql ite3.o ../Triangle/triangle.o ../tnl/libtnl.a ../libtomcrypt/libtomcrypt.a ../lu a/lua-vec/src/liblua.a -lpthread -lstdc++ -lm -ldl make[1]: Leaving directory `/home/sam686/bf017/zap' [1]+ Done make dedicated -j2 [sam686@mc bf017]$ [sam686@mc bf017]$ [sam686@mc bf017]$ [sam686@mc bf017]$ [sam686@mc bf017]$ ps -A -f UID PID PPID C STIME TTY TIME CMD root 1 0 0 Apr01 ? 00:00:00 init [3] root 1123 1 0 Apr01 ? 00:00:00 /sbin/udevd -d root 1501 1 0 Apr01 ? 00:00:00 syslogd -m 0 root 1522 1 0 Apr01 ? 00:00:00 /usr/sbin/sshd root 1532 1 0 Apr01 ? 00:00:00 xinetd -stayalive -pidfile /var/ root 1552 1 0 Apr01 ? 00:00:11 sendmail: accepting connections smmsp 1560 1 0 Apr01 ? 00:00:00 sendmail: Queue runner@01:00:00 root 1570 1 0 Apr01 ? 00:00:01 /usr/sbin/httpd root 1582 1 0 Apr01 ? 00:00:00 crond xfs 1601 1 0 Apr01 ? 00:00:00 xfs -droppriv -daemon root 1622 1 0 Apr01 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/ root 1623 1622 0 Apr01 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/ sam686 3572 1 0 Apr21 ? 01:00:23 ./bitfighterd -hostaddr any:2800 root 5284 1 0 Apr01 ? 00:00:00 SCREEN root 5285 5284 0 Apr01 pts/2 00:00:00 /bin/bash apache 5300 1570 0 Apr22 ? 00:00:00 /usr/sbin/httpd apache 6001 1570 0 Apr23 ? 00:00:00 /usr/sbin/httpd apache 11549 1570 0 Apr26 ? 00:00:00 /usr/sbin/httpd apache 11550 1570 0 Apr26 ? 00:00:00 /usr/sbin/httpd root 13572 1522 0 09:34 ? 00:00:00 sshd: sam686 [priv] sam686 13576 13572 0 09:35 ? 00:00:00 sshd: sam686@pts/1 sam686 13577 13576 0 09:35 pts/1 00:00:00 -bash sam686 13993 13577 0 10:48 pts/1 00:00:00 ps -A -f [sam686@mc bf017]$ kill 3572 [sam686@mc bf017]$ cd exe [sam686@mc exe]$ screen gdb bitfighterd [screen is terminating] [sam686@mc exe]$ gdb -bash: gdb: command not found [sam686@mc exe]$ gdb -bash: gdb: command not found [sam686@mc exe]$ sudo yum install gdb [sudo] password for sam686: Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.rmg.io * extras: mirror.rmg.io * updates: mirror.rmg.io addons | 1.9 kB 00:00 base | 1.1 kB 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 updates/primary_db | 301 kB 00:00 vz-base | 951 B 00:00 vz-updates | 951 B 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package gdb.x86_64 0:7.0.1-42.el5.centos set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gdb x86_64 7.0.1-42.el5.centos updates 2.4 M Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Total download size: 2.4 M Is this ok [y/N]: y Downloading Packages: gdb-7.0.1-42.el5.centos.x86_64.rpm | 2.4 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : gdb 1/1 Installed: gdb.x86_64 0:7.0.1-42.el5.centos Complete! [sam686@mc exe]$ screen gdb bitfighterd [detached] [sam686@mc exe]$ dir bficon.bmp bitfighter.log joystick_presets.ini music bitfighterd bitfighter_server.log levels robots bitfighter.ini editor_plugins master.cfg scripts [sam686@mc exe]$ vi bitfighter.ini [sam686@mc exe]$ screen -r [detached] [sam686@mc exe]$ dir bficon.bmp bitfighter.log joystick_presets.ini music bitfighterd bitfighter_server.log levels robots bitfighter.ini editor_plugins master.cfg scripts [sam686@mc exe]$ cd .. [sam686@mc bf017]$ dir alure doc libspeex misc tnl BitFighter_sam.sln End-User\ License.txt libtomcrypt mysql++ tnlping Bitfighter.sln exe libvorbis openal Triangle boost lib LICENSE.txt README.txt updater build libogg lua recast zap clipper libpng Makefile resource zlib cwPrefixWin32.h libsdl master sqlite [sam686@mc bf017]$ cd exe [sam686@mc exe]$ cp ../resource/scripts/* scripts [sam686@mc exe]$ cp ../resource/robots/* robots [sam686@mc exe]$ screen -r [detached] [sam686@mc exe]$ top top - 10:56:06 up 26 days, 10:42, 1 user, load average: 0.94, 0.61, 0.34 Tasks: 25 total, 2 running, 23 sleeping, 0 stopped, 0 zombie Cpu(s): 45.1%us, 0.0%sy, 0.0%ni, 54.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 3657728k total, 309304k used, 3348424k free, 0k buffers Swap: 0k total, 0k used, 0k free, 0k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 14053 sam686 25 0 64736 37m 3328 R 81.6 1.1 2:17.14 bitfighterd 1 root 18 0 10368 632 600 S 0.0 0.0 0:00.68 init 1123 root 15 -4 12624 332 328 S 0.0 0.0 0:00.00 udevd 1501 root 18 0 5928 588 488 S 0.0 0.0 0:00.46 syslogd 1522 root 15 0 62644 736 636 S 0.0 0.0 0:00.21 sshd 1532 root 18 0 22556 600 596 S 0.0 0.0 0:00.00 xinetd 1552 root 15 0 62836 900 684 S 0.0 0.0 0:11.79 sendmail 1560 smmsp 15 0 58340 684 560 S 0.0 0.0 0:00.03 sendmail 1570 root 15 0 262m 10m 6540 S 0.0 0.3 0:01.65 httpd 1582 root 15 0 20884 640 580 S 0.0 0.0 0:00.24 crond 1601 xfs 18 0 20276 600 560 S 0.0 0.0 0:00.00 xfs 1622 root 18 0 46756 376 372 S 0.0 0.0 0:00.00 saslauthd 1623 root 18 0 46756 136 132 S 0.0 0.0 0:00.00 saslauthd 5284 root 15 0 22736 340 336 S 0.0 0.0 0:00.00 screen 5285 root 15 0 12216 1108 1104 S 0.0 0.0 0:00.00 bash 5300 apache 15 0 262m 5404 1160 S 0.0 0.1 0:00.00 httpd 6001 apache 15 0 262m 5416 1176 S 0.0 0.1 0:00.00 httpd [sam686@mc exe]$ screen -r (gdb) (gdb) (gdb) backtrace #0 0x0000000000624a18 in TNL::NetInterface::disconnect (this=0x9e3c50, conn=0xa144e0, reason=ReasonShutdown, reasonString=0x7007ca "") at netInterface.cpp:1269 #1 0x0000000000625265 in TNL::NetInterface::~NetInterface (this=0x9e3c50, __in_chrg=) at netInterface.cpp:67 #2 0x00000000004a9648 in Zap::GameNetInterface::~GameNetInterface ( this=0x9e3c50, __in_chrg=) at gameNetInterface.h:39 #3 0x000000000048a3a0 in decRef (this=0x9fa010, __in_chrg=) at ../tnl/tnlNetBase.h:378 #4 ~RefObjectRef (this=0x9fa010, __in_chrg=) at ../tnl/tnlNetBase.h:507 #5 ~RefPtr (this=0x9fa010, __in_chrg=) at ../tnl/tnlNetBase.h:528 #6 Zap::Game::~Game (this=0x9fa010, __in_chrg=) at game.cpp:160 #7 0x0000000000552f3c in Zap::ServerGame::~ServerGame (this=0x9fa010, __in_chrg=) at ServerGame.cpp:138 #8 0x000000000051a687 in Zap::shutdownBitfighter () at main.cpp:683 #9 0x000000000050c983 in Zap::LuaScriptRunner::luaPanicked ( L=) at luaObject.cpp:985 #10 0x00000000006739b1 in luaD_throw () #11 0x0000000000670e29 in lua_error () #12 0x000000000067e250 in luaL_error () ---Type to continue, or q to quit--- #13 0x000000000050a452 in Lunar::push (L=0xa12e50, obj=0xc9fba0, gc=false) at ../lua/include/lunar.h:142 #14 0x0000000000509233 in Zap::LuaLevelGenerator::prepareEnvironment ( this=0xc9fba0) at luaLevelGenerator.cpp:434 #15 0x000000000050dc17 in Zap::LuaScriptRunner::startLua (this=0xc9fba0, scriptType=10568928) at luaObject.cpp:797 #16 0x0000000000508bee in Zap::LuaLevelGenerator::loadScript (this=0x9e3c50) at luaLevelGenerator.cpp:63 #17 0x0000000000508bb9 in Zap::LuaLevelGenerator::runScript (this=0x9e3c50) at luaLevelGenerator.cpp:69 #18 0x000000000054fc94 in Zap::ServerGame::runLevelGenScript (this=0x9fa010, scriptName=) at ServerGame.cpp:1030 #19 0x000000000054fed7 in Zap::ServerGame::loadLevel (this=0x9fa010, levelFileName="mazeracer.level") at ServerGame.cpp:996 #20 0x0000000000550879 in Zap::ServerGame::cycleLevel (this=0x9fa010, nextLevel=-4) at ServerGame.cpp:636 #21 0x00000000004c75ac in Zap::GameType::serverRemoveClient (this=0x9f3bd0, clientInfo=0xa19600) at gameType.cpp:2437 #22 0x000000000054e95d in Zap::ServerGame::removeClient (this=0x9fa010, clientInfo=0xa144e0) at ServerGame.cpp:1069 #23 0x000000000062164f in TNL::NetInterface::handleDisconnect (this=0x9e3c50, address=, stream=0x7fffffffd860) at netInterface.cpp:1340 ---Type to continue, or q to quit--- #24 0x0000000000626b20 in TNL::NetInterface::processPacket (this=0x9e3c50, sourceAddress=..., pStream=0x7fffffffd860) at netInterface.cpp:477 #25 0x0000000000626c6f in TNL::NetInterface::checkIncomingPackets ( this=0x9e3c50) at netInterface.cpp:428 #26 0x000000000055395b in Zap::ServerGame::idle (this=0x9fa010, timeDelta=72) at ServerGame.cpp:1332 #27 0x000000000051a946 in Zap::idle () at main.cpp:576 #28 0x000000000051a969 in Zap::dedicatedServerLoop () at main.cpp:622 #29 0x000000000051bc50 in main (argc=, argv=) at main.cpp:1049 (gdb)