chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64


From: felix winkelmann
Subject: Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux
Date: Tue, 10 Mar 2009 14:19:56 +0100

On Mon, Mar 9, 2009 at 3:43 PM, Taylor Venable <address@hidden> wrote:
>
> The bug becomes more and more phantasmagorical!
>
> When initially compiling chicken-boot with "make PLATFORM=linux
> DEBUGBUILD=yes bootstrap" the bug does not appear.
>
> When using -:d OR -:s500k OR -:s1m the bug does not appear.
>
> When run inside GDB (even without debugging symbols) the bug does not
> appear.

When invalid data leaks into the garbage collector (and GC's happen
very frequently in chicken), the effects are always interesting and effectively
non-deterministic. Giving an extra command-line option will allocate storage,
which will slightly shift the moment GC happens, which will lead to another
interesting effect. Debugging these bugs is very instructive.

Try to trigger a crash or loop inside gdb by using different -:s settings.


cheers,
felix




reply via email to

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