Re: Huge Medit Bug.

From: Anthony J rye (ajrye@one.net)
Date: 12/16/96


On Mon, 16 Dec 1996, Matthew Ritchey wrote:

> 	Ok, one of my coders installed improved_edit.c, the patch.  He 
> had to do it manually because our Circle code has been modified so 
> greatly, that it's almost unrecognizable to be circle.  After that he 
> also installed tfiles_editor.c, also the patch.  It seems to be working 
> except for medit.  Since then, we have been crashing when using medit 
> without fail.  I have tried to track this down myself, but I am looking 
> for a better coder out there to help me with this problem.  Here's what's 
> up:  You edit a new mob, ok.. looking good.  It lets you edit it etc.  
> (BTW: Using Oasis).  When you get prompted, as you're leaving medit, to 
> save the mobile, you type: yes you crash.  Gdb produces the following:
> 
> AB> Core was generated by `bin/circle 1234'.
> AB> Program terminated with signal 11, Segmentation fault.
> AB> Reading symbols from /lib/libc.so.5.4.4...done.
> AB> Reading symbols from /lib/ld-linux.so.1...done.
> AB> #0  0x40079e1d in free ()
> AB> (gdb) bt
> AB> #0  0x40079e1d in free ()
> AB> #1  0x4017baf4 in ?? ()
> AB> #2  0x1 in ?? ()
> AB> #3  0x104ec in ?? ()
> AB> Cannot access memory at address 0x81e58955.
> 
> 
> Ok, next bug is when you edit an already existing mob.  It let's you edit 
> it, AND save it.  But when you go to edit another mob, existing or new 
> mob, it crashes right away.  Doesn't even prompt you with the medit 
> menu.  Gdb produces the following:
> 
> AB> Core was generated by `bin/circle 1234'.
> AB> Program terminated with signal 11, Segmentation fault.
> AB> Reading symbols from /lib/libc.so.5.4.4...done.
> AB> Reading symbols from /lib/ld-linux.so.1...done.
> AB> #0  0x400798f8 in malloc ()
> AB> (gdb) bt
> AB> #0  0x400798f8 in malloc ()
> AB> #1  0x40089418 in _libc_cat ()
> AB> #2  0x2d1d in ?? ()
> AB> Cannot access memory at address 0x2e12.
> 
> I have spent the last week trying to track this down, so if anyone has 
> any suggestions, I would love some assistance on this.
> 
> Thanks.
> 
> Fate, Implementor of the Ruins.
> Best Kickass Mud Around.
> cyberplayce.com 8000
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 
heh i cant really give you answer my self.i am having problems with the
thing not saving and after using the editors the mud crashes.
 so please can you help me :P
 all the editor except aedit heh 
 oh well oh umm would it be to much to ask if maybe i could get your code
for levels and stuff? the levels code is what i need the most.
 i tried to do it from reading the levels.doc file but ended up coping the
orginally file struct.h and class.c back in to the mud*shrug*
 Please help a newbie coder :P


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



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