[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Ensure we C_alloc enough stack space in C_
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Ensure we C_alloc enough stack space in C_string_to_symbol. |
Date: |
Thu, 12 Jan 2012 18:39:13 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Jan 12, 2012 at 01:18:42AM -0600, Jim Ursetto wrote:
> C_string_to_symbol was allocating 6 words when it needed 7 (symbols gained an
> extra slot at some point, I think). I caught this when trying to get LLVM
> gcc working.
>
> Maybe it's also related to the intermittent symbol GC test failures in
> http://bugs.call-cc.org/ticket/724.
So far this seems very plausible. Most of these failures, on days when they
did happen, were pretty reproducible. I just tried it and it segfaulted.
Then I recompiled with the fix and it didn't.
Of course this isn't definitive proof, but it's a good clue that possibly
this does indeed fix the weak GC stuff.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth