1.5 and PB 1.123

Cyrille Demaret cyrille at easynet.be
Mon Jan 10 10:17:52 EST 2005


Hi,

 

We're encountering some new crash problems since the new version of
punkbuster released on 08/01 (version 1.123) with a server running no mods
(no pk3 in the main folder except the originals ones). The server is
crashing randomly with a segmentation fault. I've made a strace and it seems
to happen when punkbuster  is writing the html file for a screenshot. Here's
2 strace output:

 

open("/home/cdw/.callofduty/pb/svss/pb000635.htm", O_WRONLY|O_CREAT|O_TRUNC,
0666) = 20

fstat64(20, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x49a2f000

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++

 

 

And 

 

open("/home/cdw/.callofduty/pb/svss/pb000622.htm", O_WRONLY|O_CREAT|O_TRUNC,
0666) = 20

fstat64(20, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x49a2f000

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++

 

 

Here's the gdb output of the first strace :

 

(gdb) bt

#0  0x401c7e53 in strlen () from /lib/libc.so.6

#1  0x40198435 in vfprintf () from /lib/libc.so.6

#2  0x401b8f54 in vsnprintf () from /lib/libc.so.6

#3  0x484017d8 in last_use () from /home/cdw/.callofduty/pb/pbsv.so

#4  0x48415455 in sv_processMessagePacket () from
/home/cdw/.callofduty/pb/pbsv.so

#5  0x484b195f in sv_processBanServPacket () from
/home/cdw/.callofduty/pb/pbsv.so

#6  0x4844d5ce in __builtin_new () from /home/cdw/.callofduty/pb/pbsv.so

#7  0x080c21d3 in strcpy ()

#8  0x080c1964 in strcpy ()

#9  0x080d4ad9 in strcpy ()

#10 0x40161d06 in __libc_start_main () from /lib/libc.so.6

(gdb)

 

When the server is not crashing, the old_mmap result is 0x4dff0000 and here
it's 0x49a2f000. I don't know what this function is doing and what the
result is meaning.

 

The server is making a lot of others screenshots before crashing and it's
not related to a free space problem on the disk. I have tested with an old
version of pb (1.106) and there's no such problems. I know that this problem
is not related to the linux server binary but It can help us to identify
server's problems and third party problems.

 

Does anyone else have the same problems?

 

Sincerely,

 

Cyrille

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20050110/d5ee7d62/attachment.htm>


More information about the Cod mailing list