I was running the MUD with MALLOC_CHECK_=2.
It generated this core file when I tried to log in.
Core was generated by `bin/circle 4200'.
Program terminated with signal 6, Aborted.
find_solib: Can't read pathname for load map: Input/output error
#0 0x40058781 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x40058781 in ?? () from /lib/libc.so.6
#1 0x400597bf in ?? () from /lib/libc.so.6
#2 0x4007d3d5 in ?? () from /lib/libc.so.6
#3 0x4007b5e4 in ?? () from /lib/libc.so.6
#4 0x80d63c0 in fbclose_for_read (fbfl=0x83f6710) at diskio.c:218
#5 0x80d6511 in fbclose (fbfl=0x83f6710) at diskio.c:275
#6 0x807e1e4 in load_char (name=0xbffff814 "Arioch", ch=0x83f6300) at
db.c:2657
#7 0x809509a in nanny (d=0x83f0280, arg=0xbffffa10 "Arioch") at
interpreter.c:1528
#8 0x8073d90 in game_loop (mother_desc=3) at comm.c:805
#9 0x80734bb in init_game (port=4200) at comm.c:395
#10 0x8073435 in main (argc=2, argv=0xbffffd74) at comm.c:353
(gdb) up
#1 0x400597bf in ?? () from /lib/libc.so.6
(gdb) up
#2 0x4007d3d5 in ?? () from /lib/libc.so.6
(gdb) up
#3 0x4007b5e4 in ?? () from /lib/libc.so.6
(gdb) up
#4 0x80d63c0 in fbclose_for_read (fbfl=0x83f6710) at diskio.c:218
218 free(fbfl->name);
(gdb) info locals
fbfl = (FBFILE *) 0x44e
(gdb) print fbfl->name
Cannot access memory at address 0x45e.
(gdb) up
#5 0x80d6511 in fbclose (fbfl=0x83f6710) at diskio.c:275
275 return fbclose_for_read(fbfl);
(gdb) print fbfl->name
$1 = 0x40050722 <Address 0x40050722 out of bounds>
-----------
With MALLOC_CHECK_=1 it generates some nice warnings but doesn't crash.
Without MALLOC_CHECK_ it crashes with players who have a 3-letter name, or
randomly otherwise.
Can anyone help me with this problem?
.-----------------------------------.
| Arioch |
| The Fractal Dimension |
| telnet://oberon.krans.com:4096 |
'-----------------------------------'
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST