[Top][All Lists]

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

Re: Fix for Mac OS X Garbage Collection Crashes

From: Stefan Monnier
Subject: Re: Fix for Mac OS X Garbage Collection Crashes
Date: 15 Oct 2003 11:08:49 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>> The problem is caused by a change to src/alloc.c about a month ago that
>>> causes garbage collection to crash under certain circumstances (when
>>> LISP_INT values are on the gcprolist) if GC_MARK_STACK is set to
>>> GC_USE_GCPROS_AS_BEFORE. The best way to fix the problem is probably to
>>> fix the bug introduced. I don't want to work on that. Instead I have now
>> That's interesting.  It needs definitely to be fixed.  Could you
>> give us as much info about this problem as you've encountered during
>> your debugging effort ?
> I haven't spent much time on it.  Sorry I cannot be any more specific
> than this: it crashed at line 5014 of src/alloc.c and at that time `obj'
> seemed to contain a LISP_INT value.  I don't have a recipe for repeating
> the error.  Sorry.

Is this `line 5014' the `if (CONS...)' line in mark_object in the
code below ?

    case Lisp_Cons:
        register struct Lisp_Cons *ptr = XCONS (obj);
        if (CONS_MARKED_P (ptr)) break;
        CHECK_ALLOCATED_AND_LIVE (live_cons_p);

and in the earlier email you mention it's linked to `when
LISP_INT values are on the gcprolist'.  What gave you this impression ?

I understand you don't have time to work on this and I'm better
placed to do the work, but any additional hint can be helpful: this is
otherwise very difficult to track down.


reply via email to

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