]> git.eshelyaron.com Git - emacs.git/commit
Fix aborts in GC under GC_CHECK_MARKED_OBJECTS
authorEli Zaretskii <eliz@gnu.org>
Wed, 21 Dec 2016 20:16:24 +0000 (22:16 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 21 Dec 2016 20:16:24 +0000 (22:16 +0200)
commit0a5b6e28f91ff46231a768737170e39172297257
tree749d947d3e3a7fdefed2becd6a4303acb64e7fac
parenta6063ffe5ae395655cb55ba5823c83e306b3161b
Fix aborts in GC under GC_CHECK_MARKED_OBJECTS

* src/alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Don't abort
for thread objects.  They are marked via the all_threads list, and
therefore don't need to be inserted into the red-black tree, so
mem_find will never find them.  Reported by Daniel Colascione
<dancol@dancol.org> in
http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00817.html.
src/alloc.c