[bf1942] crashes on connect/mapchange...

Greg itooo at itooo.com
Tue Dec 10 13:04:19 EST 2002


I'm running a linux redhat and my server crashes when a client is
joining, I've just untared the archive and set game.serverInternet to
1.

(Linux version 2.4.16 (gcc version 2.96 2000 0731 (Red Hat Linux 7.1
2.96-85)) #2)

On client connection the console show that:

STUB: Texture::load {Engine/GameMenu/Texture.cpp:674}.
STUB: Texture::load {Engine/GameMenu/Texture.cpp:674}.
STUB: Texture::load {Engine/GameMenu/Texture.cpp:674}.
STUB: Texture::load {Engine/GameMenu/Texture.cpp:674}.
STUB: Texture::load {Engine/GameMenu/Texture.cpp:674}.
Segmentation fault (core dumped)


the core file shows a memory allocation problem:

(gdb) where
#0  0x08f64128 in dice::ref2::MemoryPool::alloc () at eval.c:41
#1  0x08f641b8 in dice::ref2::MemoryPool::alloc () at eval.c:41
#2  0x08f68714 in __builtin_vec_new () at eval.c:41
#3  0x08b020d3 in dice::meme::Memory::wstringDuplicate () at eval.c:41
#4  0x08aecdf1 in dice::meme::WstringData::set () at eval.c:41
#5  0x08b84c03 in dice::bf::BfMenu::initHud () at eval.c:41
#6  0x08b8aadd in dice::bf::BfMenu::outputMessage () at eval.c:41
#7  0x08ccfabe in dice::bf::GameServer::handleGameEventManagerEvent ()
    at eval.c:41
#8  0x08cd4641 in dice::bf::GameServer::processReceivedPackets () at eval.c:41
#9  0x08cc82ba in dice::bf::GameServer::update () at eval.c:41
#10 0x08a9e591 in dice::bf::Setup::mainLoop () at eval.c:41
#11 0x08a9db7c in dice::bf::Setup::start () at eval.c:41
#12 0x08a816c9 in main () at eval.c:41
#13 0x40076306 in __libc_start_main (main=0x8a815d0 <main>, argc=1,
    ubp_av=0xbffffaf4, init=0x8a809ec <_init>, fini=0x96018bc <_fini>,
    rtld_fini=0x4000d2cc <_dl_fini>, stack_end=0xbffffaec)
    at ../sysdeps/generic/libc-start.c:129

hope this helps
--------------
Tuesday, December 10, 2002, 6:53:07 PM:


RCG> Can someone who is experiencing crashes on connect or mapchange verify
RCG> whether it happens with the default installation (i.e. - no config
RCG> changes, just unpack the server and run)?

RCG> If the standard config works but your changes do not, please email me (OFF
RCG> LIST) with the config that doesn't work so I can track it down.

RCG> Thanks,
RCG> --ryan.




More information about the Bf1942 mailing list