Re: Breath

From: Dave Ely (banzai5150@home.com)
Date: 02/14/00


> for some reason, I am crashing on startup and my core file say's that
> assign_triggers (i=0x8256af8, type=0) at db_db_scriptps.c:323
> 323      rnum = real_trigger(trg_proto->vnum);
>
>print the values of rnum, vnum, trg_proto, and trg_proto->vnum to see
>which one is actually causing the seg. fault (I'm assuming it's a seg
>fault?).
>
> why would my dg_script triggers be affected by the code I've put in?
>
>It shouldn't be, but a small coding error or glitch can affect anything.


sorry for all this problems, and yes it was a Seg fault.

This is the only one I can get to print out.
Iam a gdb newbie

p rnum
$1 = 136788464


p vnum
No symbol "vnum" in current context.

p trg_proto->vnum
Cannot access memory at address 0x30d40

p trg_proto
Cannot access memory at address 030d40
----------------------------------
Download ICQ at http://www.icq.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 : 04/10/01 PDT