Re: Wierld crashes been plaguing me

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/16/97

On Tue, 16 Sep 1997, Chris Jacobson wrote:

>Please, if you have ever had crashes in "act" being called from "damage"
>on rare occurence, when dealing with a death blow, read this, or if you
>are experienced in matters of odd odd ODD bugs/crashes...
>This shouldn't be happening.  However, on ALL the crashes, the in_room
>has ALWAYS been the same: '16394'.  This isn't some random data... its
>downright confusing!  I used to have these crashes previously, but I had
>thought I had fixed it by making "acid_burn" non-event based (just a
>single burn instead of repetetive burns), where a weak mobile that might
>be killed by the event continued to do things.
>And worst of all, this is not a regularly reproduceable crash... I don't
>know whats going on.

You have perfectly described a classic memory overrun/overflow.

Every single time I ran my little corrupt function to test the buffer code,
it corrupted the exact same memory in the same way everytime.  No crashes,
but extremely unstable memory state.

There are a few memory-related bugs in stock code I have found but most of
them were (fairly) benign.

George Greer  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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