Objectfiles Crashing the Mud

From: Nicholas S. Wourms (prospero@CAROL.NET)
Date: 12/23/97


Hi all,
        I was wondering if someone has encountered the same problem that I have
with their mud.  Can someone explain to me what in the object files is
causing the mud not to boot?  I commented out the offending if statement so
that we would at least boot, but that feels like such a temporary fix.
Here is the output from my GDB session:

(gdb) run
Starting program: /home/mud/bin/circle
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
Mon Dec 22 16:55:53 :: Using lib as data directory.
Mon Dec 22 16:55:53 :: Running game on port 4444.
Mon Dec 22 16:55:53 :: Finding player limit.
Mon Dec 22 16:55:53 :: Setting player limit to 248 using rlimit.
Mon Dec 22 16:55:53 :: Opening mother connection.
Mon Dec 22 16:55:53 :: Boot db -- BEGIN.
Mon Dec 22 16:55:53 :: Resetting the game time:
Mon Dec 22 16:55:53 ::    Current Gametime: 16H 11D 1M 217Y.
Mon Dec 22 16:55:53 :: Reading news, credits, help, bground, info & motds.
Mon Dec 22 16:55:53 :: Loading zone table.
Mon Dec 22 16:55:53 :: Loading rooms.
Mon Dec 22 16:55:55 :: Renumbering rooms.
Mon Dec 22 16:55:55 :: Checking start rooms.
Mon Dec 22 16:55:55 :: Loading mobs and generating index.
Mon Dec 22 16:55:56 :: Loading objs and generating index.

Program received signal SIGSEGV, Segmentation fault.
0x807531e in parse_object (obj_f=0x82fd0d8, nr=1002) at db.c:1135
1135        if (*tmpptr)
(gdb) list
1130      if ((obj_proto[i].name = fread_string(obj_f, buf2)) == NULL) {
1131        fprintf(stderr, "Null obj name or format error at or near
%s\n", buf2);
1132        exit(1);
1133      }
1134      tmpptr = obj_proto[i].short_description = fread_string(obj_f, buf2);
1135        if (*tmpptr)
1136        if (!str_cmp(fname(tmpptr), "a") || !str_cmp(fname(tmpptr),
"an") ||
1137            !str_cmp(fname(tmpptr), "the"))
1138          *tmpptr = LOWER(*tmpptr);


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST