[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 0a5b6e2: Fix aborts in GC under GC_CHECK_MARKED
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] master 0a5b6e2: Fix aborts in GC under GC_CHECK_MARKED_OBJECTS |
Date: |
Thu, 22 Dec 2016 18:14:39 +0200 |
> From: Daniel Colascione <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Wed, 21 Dec 2016 20:22:40 -0800
>
> > #ifdef GC_CHECK_MARKED_OBJECTS
> > m = mem_find (po);
> > - if (m == MEM_NIL && !SUBRP (obj))
> > + if (m == MEM_NIL && !SUBRP (obj) && !THREADP (obj))
>
> This code is incorrect. The only special case is po == &primary_thread.
> As I mentioned in another message, all _other_ thread objects live in
> dynamic storage and need the usual treatment of thread objects.
Thanks, fixed.