Huge Medit Bug.

From: Matthew Ritchey (fate@gatecoms.gatecom.com)
Date: 12/16/96


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



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