Re: [Code bpl14] Erroneous Index

From: George Greer (greerga@circlemud.org)
Date: 11/04/99


On Thu, 4 Nov 1999, Michael A. Lemler wrote:

>Are there any known bugs (I have been checking the change logs, but I
>haven't found anything to match) with obj->item_number becoming corrupted
>(referencing an erroneous index i.e. top_of_obj == 243 obj->item_number
>== 273717)?

I think the portal snippet did that at one time.  It's a classic memory
corruption problem.  If you're under Linux, try adding '-lefence' to your
Makefile LIBS line and run the program under debugger.  It'll be painfully
obvious what causes the problem...

--
George Greer            | The Ceramic Mouse & Snippets
greerga@circlemud.org   | http://developer.circlemud.org/


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