[mohaa] Server Crashes

Ryan C. Gordon icculus at clutteredmind.org
Sat Aug 17 22:04:36 EDT 2002


> 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