No one has any idea at all?

----- Original Message ----- 
From: "Chris "Winston" Litchfield" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 06, 2003 5:22 PM
Subject: Hashing function bug. In depth.


> I have been experiencing a crash for the last year or so.  This crash
> happens as frequently as 2 times a day, and as infrequently as once a
month.
> This crash happens only when someone is load_char_obj().
>
> The following is a more detailed information
>
> the crash occurs in fread_string and/or stread_string.  (stread_string
being
> the later code I placed in after a ROM discussion a couple months back or
> so).  It happens at this assignment:
>
> u1.rgc[ic] = pHash[ic];  (db.c, fread_string or stread_string)
>
> Totally out of bounds memory.  Some further information for those who know
> the area of code.  IT ALWAYS happens when iHash == 44.
>
> What I think could be happening is that something has broken the 4 byte
> memory boundry that the routine searches to find specific strings to match
> the incomming string.  It is RANDOM in that I cannot seem to reproduce it
at
> will, and yet all the core files have this as the crash.
>
> I believe the crash corrupts the memory as I placed several local debug
> variables around the code to trace how many times it looped, and those
> values inside the debugger are "unknown variables".  They have been
whacked.
>
> Has anyone experienced this?  Has anyone got suggestions on how to track
> this down?  It is a low frequency occurance but it is the ONLY crash bug I
> have had in last 3 months (Stability is a goal).
>
> Chris "Winston" Litchfield
>
>
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>
>



Reply via email to