[mohaa] Server Crashes

David M. graham grahd at cwfh.com
Thu Sep 12 23:45:39 EDT 2002


Ryan, here we go again!

(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0805bac5 in strcpy ()
(gdb) bt
#0  0x0805bac5 in strcpy ()
#1  0xbfff33fc in ?? ()
#2  0x0808517e in strcpy ()
#3  0x4048fb7f in PM_SetWaterLevel () from /svrgms/mohaa/fgameded.so
#4  0x404903c3 in PmoveSingle () from /svrgms/mohaa/fgameded.so
#5  0x4049056a in Pmove () from /svrgms/mohaa/fgameded.so
#6  0x4051891e in Player::ClientMove () from /svrgms/mohaa/fgameded.so
#7  0x40519f83 in Player::ClientThink () from /svrgms/mohaa/fgameded.so
#8  0x404d78e7 in G_ClientThink () from /svrgms/mohaa/fgameded.so
#9  0x0807de82 in strcpy ()
#10 0x0807e08f in strcpy ()
#11 0x0807e1b1 in strcpy ()
#12 0x0808263f in strcpy ()
#13 0x08061a35 in strcpy ()
#14 0x08061c20 in strcpy ()
#15 0x08062729 in strcpy ()
#16 0x0808b343 in strcpy ()
#17 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)



-----Original Message-----
From: Ryan C. Gordon [mailto:icculus at clutteredmind.org] 
Sent: Saturday, August 17, 2002 9:05 PM
To: mohaa at icculus.org
Subject: RE: [mohaa] Server Crashes


> Ok I did as requested, only have 1 client able to connect.  I make a
> change to the variable sv_maxclients to 16 and the server pukes.

Yikes...that's scary.

The next step involves running the server under gdb:

cd /where/i/installed/mohaa
gdb ./mohaa_lnxded

This will print:
[bunch of gdb copyright stuff here]

(gdb)


When you get to that "(gdb)" prompt, type "r" and hit return. The server
will start.

Punch in:
g_gametype 1
sv_maxclients 16
map dm/mohdm1

And let the thing crash.

When it does, gdb should report that it has, and put you back at the
"(gdb)" prompt.

Hit "bt" and enter. You should get something like this:

(gdb) bt
#0  0x401b8265 in poll () from /lib/libc.so.6
#1  0x40211685 in ?? ()
#2  0x40210780 in ?? ()
#3  0x40210b61 in ?? ()
#4  0x4021092a in ?? ()
#5  0x40205d38 in ?? ()
#6  0x40205e05 in ?? ()
#7  0x401d0b0f in gethostbyname_r () from /lib/libc.so.6
#8  0x401cfa74 in gethostbyname () from /lib/libc.so.6
#9  0x8055292 in lookup_host ()
#10 0x80576d4 in gethttp ()
#11 0x8059e92 in http_loop ()
#12 0x806292b in retrieve_url ()
#13 0x805e8cd in main ()
#14 0x4012b577 in __libc_start_main () from /lib/libc.so.6
(gdb)


(Not that specifically, but gobbeldygook like it.)

Send me that gobbeldygook.

If it says something like "program terminated normally", we've got big
trouble.

--ryan.








More information about the Mohaa mailing list