Re: - trigedit problems - gdb included - need help please

From: Mordist (mordist@prodigy.net)
Date: 06/01/99


My only guess would be that something the sprintf statement was using, was
NULL or invalid...make sure the strings are being read in correctly....I'm
stupid so I may not be right :P

Laters,
    Mordist

-----Original Message-----
From: Tom Dailey <tomd@WAYMARK.NET>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Tuesday, June 01, 1999 12:58 PM
Subject:  - trigedit problems - gdb included - need help please


>Hello,
>
>we've added dg scripts to Zombie mud (very modified) and are
>having a problem with trigedit.  When you type trigedit 100 (new trigger)
>the mud crashes with the following gdb.  Also, if we edit an existing
>trigger,
>the trigger will come up but if you edit any lines, the game crashes.  Any
>help is appreciated.
>
>gdb output:
>
>#0  0xef624614 in strlen ()
>#1  0xef65a4ec in _doprnt ()
>#2  0xef6636c4 in sprintf ()
>#3  0x10d5c0 in trigedit_disp_menu (d=0x111a550) at dg_olc.c:202
>#4  0x10dbfc in trigedit_parse (d=0x111a550, arg=0xeffff638 "") at
>dg_olc.c:384
>#5  0xa594c in nanny (d=0x111a550, arg=0xeffff638 "") at interpreter.c:1794
>#6  0x6f6d0 in game_loop (mother_desc=4) at comm.c:632
>#7  0x6ed8c in init_game () at comm.c:240
>#8  0x6ed10 in main (argc=0, argv=0xeffffcc4) at comm.c:208
>
>#3  0x10d5c0 in trigedit_disp_menu (d=0x111a550) at dg_olc.c:202
>202       sprintf(buf
>#4  0x10dbfc in trigedit_parse (d=0x111a550, arg=0xeffff638 "") at
>dg_olc.c:384
>384       trigedit_disp_menu(d);
>#5  0xa594c in nanny (d=0x111a550, arg=0xeffff638 "") at interpreter.c:1794
>1794            trigedit_parse(d, arg);
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>     +------------------------------------------------------------+


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