[bf1942] New Build ... now w/ Bots.

Udo Held udo at udoheld.de
Sun Jan 19 09:42:18 EST 2003


Hi!

On Sun, Jan 19, 2003 at 01:47:12PM +0100, Udo Held wrote:
> Hoi!
> 
> > > Ok, everyone, please test. The bots were the last glaringly obvious
> > > problem, so now I can focus on the less obvious problems (the crashes,
> > > memory leaks, network desync, etc). If you had a stack trace you posted
> > > before, please post it again for this build so we see where things stand
> > > at this point.
> > 
> > My first test was pretty good beside the bots intelligence. For coop
> > playing I will prefer a Windowslistenserver. :)
> 
> I left it running while I was sleeping with 64 bots. Getting up it Seg
> Faulted and it seemed to eat up more and more memory. How should the
> tracing tools be run?
> 
> gdb / strace?
> 
> "gdb ./bf1942_lnxded"
> 
> Which one I should prefer?

gdb seems to need some debug information that it won't find. The
SegFault seems to occur during map changes:

STREAM_DEBUG: Minimum bit size is 8
STREAM_DEBUG: Adding descriptor for object of templateUS_Engineer id 745
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 8
STREAM_DEBUG: Adding descriptor for object of templateNo4 id 746
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 2
STREAM_DEBUG: Adding descriptor for object of templateColt id 747
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 2
STREAM_DEBUG: Adding descriptor for object of templateRepairPack id 748
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 2
STREAM_DEBUG: Adding descriptor for object of templateLandmine id 749
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 2
STREAM_DEBUG: Adding descriptor for object of templateExpPack id 750
controlPointId -1 with 1 Unique properties
STREAM_DEBUG: Minimum bit size is 2
STREAM_DEBUG: Kit Picked Up: on object 745
STREAM_DEBUG: Enter PCO just before lodObj
STREAM_DEBUG: entervehicle SBD_PCO1

I think this was from the last map.

strace:

write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 116) = 116
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 108) = 108
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 109) = 109
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 115) = 115
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 113) = 113
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
write(1, "STREAM_DEBUG: Adding descriptor "..., 112) = 112
write(1, "STREAM_DEBUG: Minimum bit size i"..., 36) = 36
gettimeofday({1042986992, 204059}, NULL) = 0
gettimeofday({1042986992, 204760}, NULL) = 0
write(1, "STREAM_DEBUG: Kit Picked Up: on "..., 43) = 43
write(1, "STREAM_DEBUG: Enter PCO just bef"..., 43) = 43
write(1, "STREAM_DEBUG: entervehicle SBD_P"..., 36) = 36
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Is there a way to get more information? This doesn't look useful...


Regards
Udo



More information about the Bf1942 mailing list