chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] help with intermittent crash (?)


From: felix winkelmann
Subject: Re: [Chicken-users] help with intermittent crash (?)
Date: Mon, 26 Nov 2007 08:34:32 +0100

On Nov 23, 2007 2:20 PM, Rick Taube <address@hidden> wrote:
>
> > - Try to run with different stack-sizes. The stack-allocation pattern
>
>
> I noticed yesterday that if i change heap size 4x larger than default
> i cant seem to trigger the crash. but when the bug happens there is
> no message about heap size running out so im not sure what this means.

Running out of heap size just means that an exorbitant amount was
attempted to allocated - this almost always means some pointer
was treated as a block header, with the pointer value being an allocation
size.

>
> > - Try to run with different stack-sizes. The stack-allocation pattern
>
>
> ok this is easy enough, so should i keep the heap fixed at the
> default size while i play with stack size?

Whatever. Keeping the heap fixed takes away one more moving part,
so that would be preferable.

> > We have to disable optimizations.
>
> how do i do that?

make PLATFORM=... DEBUGBUILD=1 ...


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]