Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Thanks Felipe Bergo!

Author: Dann Corbit

Date: 12:52:31 07/12/01

Go up one level in this thread


On July 12, 2001 at 15:42:47, Gian-Carlo Pascutto wrote:
>On July 12, 2001 at 15:04:31, Dann Corbit wrote:
>
>>Electric Fence,
>
>I have this and it is useless for this situation.
>
>I am trashing stack memory, not heap memory.
>
>>BoundsChecker,
>
>Don't know about this one.
>
>>and tools like that find these things easily.
>
>The free ones that I know of are limited to dynamically
>allocated memory.

You wrote past the end of an array.  Both tools mentioned will spot that error.
Many compilers have a command line switch to perform stack probes.  That will
often find stack faults.

Often, you can also increase your stack size.  If that fixes the problem, look
for a recursive call with a large automatic object.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.