Nasty olc bug...

From: Emil Nilimaa (kyos_overlord@hotmail.com)
Date: 09/30/99


Ok..

This is in medit.c i belive.
After modifying a mob, and leaveing the olc, before
you type in if you wish to save it internally or not.

When typing q at the medit menu,
the game hangs, and the computer lags down totally :)
So im forced to do kill on the mud.

Now the log files get spammed with this: (About 10 megs)

Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
Sep 30 17:57:31 :: SYSERR: Assertion failed at handler.c:305!
etc etc etc...

This is whats in handler.c at line 305:

void affect_remove(struct char_data * ch, struct affected_type * af)
{
  struct affected_type *temp;

  if (ch->affected == NULL) {
    core_dump();           <--------------- line 305
    return;
  }

  affect_modify(ch, af->location, af->modifier, af->bitvector, FALSE);
  REMOVE_FROM_LIST(af, ch->affected, next);
  free(af);
  affect_total(ch);
}
------------------------------------------------------
And the core file contains:

#0 0x40065111 in __kill ()
#1 0x40064d66 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x40066447 in abort () at ../sysdeps/generic/abort.c:88
#3 0x80a6935 in core_dump_real (who=0x80c3fa0 "handler.c", line=305)
   at utils.c:561
#4 0x80849cb in affect_remove (ch=0x82e6580, af=0x604) at hander.c:305
#5 0x8080087 in free_mobile (mob=0x82e6580) at genmob.c:266
#6 0x8094e5c in cleanup_olc (d=0x80e2620), cleanup_type=1 '\001')
   at oasis.c:312
#7 0x8092608 in medit_parse (d=82e2620, arg=0xbffff88c "q") at
medit.c:537


any help would be appreciated

/emil

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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