[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nasty GC bug
From: |
Jim Meyering |
Subject: |
Re: Nasty GC bug |
Date: |
Mon, 27 Aug 2012 15:25:54 +0200 |
Dmitry Antipov wrote:
> It looks like live_cons_p (M, P) may be true if P is a cons cell from
> the spare_memory[X], X = 1..4. So, mark_maybe_{object, pointer} may
> call to mark_object for an uninitialized cons from spare blocks, with
> random results (most probably a crash). This is very hard to reproduce
> because it depends from the values found on a C stack.
Nice work!
I wouldn't be surprised if this is the cause of some of the GC-related
problems I've reported over the last year or two.