New build segfault

Christopher Kunz chris at de-punkt.de
Mon Feb 24 04:37:02 EST 2003


Ahem.

STREAM_LOG: StartHost:[#rs]
STREAM_LOG: Level:bf1942/levels/Santo_Croce/coop.con
FORMAT_LOG: Time:2003/02/24:10.02d
STREAM_WARNING: Couldn't open console script 
"mods/BF1942/Settings/banlist.con"
STREAM_WARNING: Error bf1942/Game/Startup.con (1): renderer.playBink 
Movies/ea.bik 1000.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (2): renderer.playBink 
Movies/Dice.bik 5.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (3): renderer.playBink 
Movies/Intro.bik 1.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (4): renderer.playBink 
Movies/legal.bik 3.0
Segmentation fault

That looks weird. Why in the blazing skies does the server try to play 
the intro movies?

recvfrom(49, 0xaa47c90, 1472, 0, 0x40b132a2, 0xbfffef44) = -1 EAGAIN 
(Resource temporarily unavailable)
recvfrom(51, 0x43d46e60, 4096, 0, 0xbfffee58, 0xbfffedcc) = -1 EAGAIN 
(Resource temporarily unavailable)
time(NULL)                              = 1046079133
sendto(51, "\\hb\\14690\\bf1942", 16, 0, {sin_family=AF_INET, 
sin_port=htons(27900), sin_addr=inet_addr("64.81.178.54")}}, 16) = 16
sendto(51, "\\hb\\14690\\bf1942", 16, 0, {sin_family=AF_INET, 
sin_port=htons(27900), sin_addr=inet_addr("194.251.249.103")}}, 16) = 16
gettimeofday({1046079133, 732651}, NULL) = 0
sendto(50, "\\heartbeat\\23000\\gamename\\bfield"..., 36, 0, 
{sin_family=AF_INET, sin_port=htons(27900), 
sin_addr=inet_addr("216.177.89.34")}}, 16) = 36
gettimeofday({1046079133, 732803}, NULL) = 0
select(1024, [50], NULL, NULL, {0, 0})  = 0 (Timeout)
select(1024, [50], NULL, NULL, {0, 0})  = 0 (Timeout)
gettimeofday({1046079133, 733065}, NULL) = 0
gettimeofday({1046079133, 869459}, NULL) = 0
recvfrom(49, 0xaa47c90, 1472, 0, 0x40b132a2, 0xbfffed64) = -1 EAGAIN 
(Resource temporarily unavailable)
gettimeofday({1046079133, 869917}, NULL) = 0
gettimeofday({1046079133, 870107}, NULL) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Well, looks like it can't bind to the port or whatnot. I didn't find 
this output useful, so i fed bf1942_lnxded to gdb.

GameStart:
STREAM_LOG: -----------

STREAM_LOG: StartHost:[#rs]
STREAM_LOG: Level:bf1942/levels/baytown/coop.con
FORMAT_LOG: Time:2003/02/24:10.02d
STREAM_WARNING: Couldn't open console script 
"mods/BF1942/Settings/banlist.con"
STREAM_WARNING: Error bf1942/Game/Startup.con (1): renderer.playBink 
Movies/ea.bik 1000.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (2): renderer.playBink 
Movies/Dice.bik 5.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (3): renderer.playBink 
Movies/Intro.bik 1.0
STREAM_WARNING: Error bf1942/Game/Startup.con: Unknown object or method!
STREAM_WARNING: Error bf1942/Game/Startup.con (4): renderer.playBink 
Movies/legal.bik 3.0
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1635)]
0x08bb192f in dice::bf::GameServer::gameStatusPreGame ()
(gdb) bt
#0  0x08bb192f in dice::bf::GameServer::gameStatusPreGame ()
#1  0x08bb1616 in dice::bf::GameServer::updateGameLogic ()
#2  0x08bc081e in dice::bf::GameServer::simulateFrame ()
#3  0x08b82431 in dice::bf::GameServer::update ()
#4  0x0868199a in dice::bf::Setup::mainLoop ()
#5  0x08681031 in dice::bf::Setup::start ()
#6  0x0863241a in main ()
#7  0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

Looks like an error while switching to the second thread. The 
installation is just a tar jxvf to the old installation dir, nothing 
else changed.

If you need, you can get a shell on the box, Ryan.

--ck

-- 
php development | hosting |  housing | professional game server hosting
http://www.de-punkt.de   [ chris at de-punkt.de ]    http://www.stormix.de
+49 5241 2349813 | +49 5241 2349820 | laportestr. 2a, 30449 hannover.de
Rather to reign in Hell, than serve in Heaven. -- Milton, Paradise Lost




More information about the Bf1942 mailing list