Bug 258 - Setting CO-OP in ServerSettings.con causes seg fault
Status: RESOLVED FIXED
Alias: None
Product: Battlefield 1942
Classification: Unclassified
Component: dedicated server
Version: beta1
Hardware: PC Linux
: P3 normal
Assignee: Ryan C. Gordon
QA Contact:
URL:
: 293
Depends on:
Blocks:
 
Reported: 2002-12-10 08:38 EST by Terje Lindholm
Modified: 2002-12-18 16:27:59 EST
1 user (show)

See Also:



Description Terje Lindholm 2002-12-10 08:38:21 EST
Setting CO-OP in ServerSettings.con causes seg fault
game.serverGamePlayMode GPM_COOP

OS is Mandrake 9.0 on an AMD XP 512MB
Comment 1 Scott Brooks 2002-12-13 22:05:42 EST
Just a confirmation of this




message in gdb




Program received signal SIGSEGV, Segmentation fault.


[Switching to Thread 1024 (LWP 19510)]


0x935bcb0 in dice::bf::ai::AITemplateUnit::setBattleStrength () at eval.c:88


88      eval.c: No such file or directory.




and backtrace


#0  0x935bcb0 in dice::bf::ai::AITemplateUnit::setBattleStrength ()


    at eval.c:88


#1  0x92e15f4 in dice::bf::ai::{anonymous}::ConsoleClass527::executeObjectMethod 
() at eval.c:88


#2  0x8f5f1bd in dice::ref2::ConsoleObjectBaseImpl::execute () at eval.c:88


#3  0x8f80a8f in dice::ref2::io::OldConsole::handleCommand () at eval.c:88


#4  0x8f87fc7 in dice::ref2::io::OldConsole::executeLine () at eval.c:88


#5  0x8f8c1d7 in dice::ref2::io::OldConsole::run () at eval.c:88


#6  0x9146db9 in dice::ref2::io::Console::run () at eval.c:88


#7  0x8a88a21 in dice::bf::Game::loadAllConFiles () at eval.c:88


#8  0x8a89fb1 in dice::bf::Game::load () at eval.c:88


#9  0x8cc6384 in dice::bf::GameServer::load () at eval.c:88


#10 0x8ccaf39 in dice::bf::GameServer::startServer () at eval.c:88


#11 0x8aaa5f9 in dice::bf::Setup::startHostGame () at eval.c:88


#12 0x8aa2d2d in dice::bf::Setup::initWorld () at eval.c:88


#13 0x8a9db07 in dice::bf::Setup::start () at eval.c:88


#14 0x8a81a4d in main () at eval.c:88


#15 0x400732eb in __libc_start_main (main=0x8a81890 <main>, argc=1,


    ubp_av=0xbffffad4, init=0x8a80ca8 <_init>, fini=0x960211c <_fini>,


    rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffffacc)


    at ../sysdeps/generic/libc-start.c:129


Comment 2 Ryan C. Gordon 2002-12-15 09:33:19 EST
Looking at this for next patch...

--ryan.

Comment 3 Ryan C. Gordon 2002-12-16 21:25:33 EST
*** Bug 293 has been marked as a duplicate of this bug. ***
Comment 4 Ryan C. Gordon 2002-12-18 16:27:59 EST
Fixed in Build #1040194295.

--ryan.