Bug 439 - Server runs fine and dies after about a day of running
Status: RESOLVED WONTFIX
Alias: None
Product: Battlefield 1942
Classification: Unclassified
Component: dedicated server
Version: beta1
Hardware: PC Linux
: P2 critical
Assignee: Ryan C. Gordon
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2003-03-10 13:32 EST by daniel
Modified: 2005-05-20 05:12:49 EDT
1 user (show)

See Also:



Description daniel 2003-03-10 13:32:08 EST
gdb -c core bf1942_lnxded
GNU gdb 5.3
Copyright 2002 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 "i686-pc-linux-gnu"...(no debugging symbols found)...
Core was generated by `./bf1942_lnxded +game BF1942 +restart 1 +dedicated 1 
+reconnectPassword 2190 +r'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /home/bf1942/bf1942-lnxded-
1.3beta/MultiplayerServers/GameSpyHost.so...(no debugging symbols found)...
done.
Loaded symbols for /home/bf1942/bf1942-lnxded-
1.3beta/MultiplayerServers/GameSpyHost.so
Reading symbols from /home/bf1942/bf1942-lnxded-
1.3beta/MultiplayerServers/ASEHost.so...(no debugging symbols found)...done.
Loaded symbols for /home/bf1942/bf1942-lnxded-
1.3beta/MultiplayerServers/ASEHost.so
#0  0x08ba024c in dice::bf::GameServer::handleDrop ()
(gdb) bt'
#0  0x08ba024c in dice::bf::GameServer::handleDrop ()
No symbol table info available.
#1  0x08bae5df in dice::bf::GameServer::killPlayer ()
No symbol table info available.
#2  0x08ba83c3 in dice::bf::GameServer::_giveDamage ()
No symbol table info available.
#3  0x08ba7a87 in dice::bf::GameServer::giveDamage ()
No symbol table info available.
#4  0x08bb6c88 in dice::bf::GameServer::handleCollisionForProjectile ()
No symbol table info available.
#5  0x091ddfd5 in dice::ref2::world::SimpleObject::handleCollision ()
No symbol table info available.
#6  0x08fbbd66 in dice::ref2::world::Projectile::handleCollision ()
No symbol table info available.
#7  0x09193121 in dice::ref2::world::PointResponsePhysics::solveImpulse ()
No symbol table info available.
#8  0x0919c297 in dice::ref2::world::ResponsePhysicsManager::update ()
No symbol table info available.
#9  0x08643cdd in dice::bf::Game::updateWorldCollision ()
No symbol table info available.
#10 0x08bc06ad in dice::bf::GameServer::simulateFrame ()
No symbol table info available.
#11 0x08b82431 in dice::bf::GameServer::update ()
No symbol table info available.
#12 0x0868199a in dice::bf::Setup::mainLoop ()
No symbol table info available.
#13 0x08681031 in dice::bf::Setup::start ()
No symbol table info available.
#14 0x0863241a in main ()
No symbol table info available.
#15 0x400a9e54 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) where
#0  0x08ba024c in dice::bf::GameServer::handleDrop ()
#1  0x08bae5df in dice::bf::GameServer::killPlayer ()
#2  0x08ba83c3 in dice::bf::GameServer::_giveDamage ()
#3  0x08ba7a87 in dice::bf::GameServer::giveDamage ()
#4  0x08bb6c88 in dice::bf::GameServer::handleCollisionForProjectile ()
#5  0x091ddfd5 in dice::ref2::world::SimpleObject::handleCollision ()
#6  0x08fbbd66 in dice::ref2::world::Projectile::handleCollision ()
#7  0x09193121 in dice::ref2::world::PointResponsePhysics::solveImpulse ()
#8  0x0919c297 in dice::ref2::world::ResponsePhysicsManager::update ()
#9  0x08643cdd in dice::bf::Game::updateWorldCollision ()
#10 0x08bc06ad in dice::bf::GameServer::simulateFrame ()
#11 0x08b82431 in dice::bf::GameServer::update ()
#12 0x0868199a in dice::bf::Setup::mainLoop ()
#13 0x08681031 in dice::bf::Setup::start ()
#14 0x0863241a in main ()
#15 0x400a9e54 in __libc_start_main () from /lib/libc.so.6
(gdb) info all-registers
eax            0x8ba0240        146408000
ecx            0xa3f60d0        171925712
edx            0x0      0
ebx            0x97ebee0        159301344
esp            0xbfffe240       0xbfffe240
ebp            0xbfffe278       0xbfffe278
esi            0xaf39448        183735368
edi            0xad4f9c0        181729728
eip            0x8ba024c        0x8ba024c
eflags         0x10292  66194
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x2b     43
gs             0x2b     43
st0            1835.5541355609893798828125      (raw 0x4009e571bb7a80000000)
st1            1.1920928955078125e-07   (raw 0x3fe88000000000000000)
st2            1.1920928955078125e-07   (raw 0x3fe88000000000000000)
st3            1        (raw 0x3fff8000000000000000)
st4            0.99999991816423528710961257659484147    (raw 
0x3ffefffffea084a00889)
st5            -1.717041015625  (raw 0xbfffdbc8000000000000)
st6            14.40000057220458984375  (raw 0x4002e666670000000000)
st7            -13.20000171661376953125 (raw 0xc002d333350000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0x81a1   33185
fiseg          0x46d0   18128
fioff          0x23     35
foseg          0x1f80   8064
fooff          0x2b     43
fop            0x16a    362
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
---Type <return> to continue, or q <return> to quit---
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = 
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = 
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1
mm0            {uint64 = 0xe571bb7a80000000, v2_int32 = {0x80000000, 
0xe571bb7a}, v4_int16 = {0x0, 0x8000, 0xbb7a, 0xe571},
  v8_int8 = {0x0, 0x0, 0x0, 0x80, 0x7a, 0xbb, 0x71, 0xe5}}
mm1            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm2            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm3            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm4            {uint64 = 0xfffffea084a00889, v2_int32 = {0x84a00889, 
0xfffffea0}, v4_int16 = {0x889, 0x84a0, 0xfea0,
    0xffff}, v8_int8 = {0x89, 0x8, 0xa0, 0x84, 0xa0, 0xfe, 0xff, 0xff}}
mm5            {uint64 = 0xdbc8000000000000, v2_int32 = {0x0, 0xdbc80000}, 
v4_int16 = {0x0, 0x0, 0x0, 0xdbc8}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc8, 0xdb}}
mm6            {uint64 = 0xe666670000000000, v2_int32 = {0x0, 0xe6666700}, 
v4_int16 = {0x0, 0x0, 0x6700, 0xe666}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x67, 0x66, 0xe6}}
mm7            {uint64 = 0xd333350000000000, v2_int32 = {0x0, 0xd3333500}, 
v4_int16 = {0x0, 0x0, 0x3500, 0xd333}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x35, 0x33, 0xd3}}
(gdb)
Comment 1 daniel 2003-03-10 15:16:31 EST
(gdb) info frame
Stack level 0, frame at 0xbfffe278:
 eip = 0x8ba024c
    in dice::bf::GameServer::handleDrop(dice::ref2::world::IPlayerObject *, 
dice::ref2::world::IPlayer *, dice::ref2::world::IPlayerObject *, bool); saved 
eip 0x8bae5df
 called by frame at 0xbfffe348
 Arglist at 0xbfffe278, args:
 Locals at 0xbfffe278, Previous frame's sp in esp
 Saved registers:
  ebx at 0xbfffe240, ebp at 0xbfffe278, esi at 0xbfffe244, edi at 0xbfffe248, 
eip at 0xbfffe27c
---
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 10
cpu MHz         : 998.389
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr sse
bogomips        : 1992.29

------------------
BF1942 SETUP INFO

cat mods/BF1942/Settings/ServerSettings.con
game.serverName "TEXAS_STOMPING_GROUNDS_v1.3_CTF"
game.serverDedicated 1
game.serverGamePlayMode GPM_CTF
game.serverGameTime 30
game.serverMaxPlayers 32
game.serverScoreLimit 5
game.serverInternet 1
game.serverNumberOfRounds 2
game.serverSpawnTime 10
game.serverSpawnDelay 10
game.serverGameStartDelay 14
game.serverGameRoundStartDelay 10
game.serverSoldierFriendlyFire 50
game.serverVehicleFriendlyFire 50
game.serverTicketRatio 300
game.serverAlliedTeamRatio 1
game.serverAxisTeamRatio 1
game.serverCoopAiSkill 75
game.serverCoopCpu 20
game.serverPassword ""
game.ServerBandwidthChokeLimit 0
game.ServerMaxAllowedConnectionType CTLanT1
game.ServerAllowNoseCam 1
game.ServerFreeCamera 0
game.ServerExternalViews 1
game.ServerAutoBalanceTeams 0
game.ServerNameTagDistance 75
game.ServerNameTagDistanceScope 300
game.ServerKickBack 0.000000
game.ServerKickBackOnSplash 0.000000
game.setServerSoldierFriendlyFireOnSplash 50
game.setServerVehicleFriendlyFireOnSplash 50
game.setServerIP 0.0.0.0
game.setServerPort 14567
game.setGamespyPort 0
game.setASEPort 0
game.useTosLowDelay 0
game.setServerHitIndication 1
game.setServerTKPunishMode 0
------
maplist 
cat mods/BF1942/Settings/maplist.con
game.addLevel Battleaxe
game.addLevel Berlin
game.addLevel Bocage
game.addLevel El_Alamein
game.addLevel Gazala
game.addLevel GuadalCanal
game.addLevel Kharkov
game.addLevel Kursk
game.addLevel Stalingrad
game.addLevel Wake
game.setCurrentLevel Gazala
Comment 2 Ryan C. Gordon 2005-05-20 05:12:49 EDT
Closing out bf1942 entries, since icculus.org doesn't support this title
anymore, and DICE has long been aware of and/or fixed all reported issues.

--ryan.