Re: [Code] Mobs corrupting in memory

From: George Greer (greerga@circlemud.org)
Date: 03/30/99


On Tue, 30 Mar 1999, Michael Lemler wrote:

>Any other suggestions before I give up on the core and just attempt to
>watch the mud as it runs?  It is compiled with glib6 2.1.1, if that helps
>(or hinders ;) at all.

MALLOC_CHECK_=1 bin/circle      (for warnings)
MALLOC_CHECK_=2 bin/circle      (to abort on problem)

They both should be helpful in tracking the problem down.  abort() should
give you a better frame of reference.  I kept my glibc 2.1 source code on
disk just so GDB can let me trace down into it.

--
George Greer            | CircleMUD Snippets
greerga@circlemud.org   | http://developer.circlemud.org/snippets/


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