Martin Buchholz <martin(a)xemacs.org> writes:
There's another GC bug with this code I tried to fix. If you
are
iterating over the list, and the mapping function destructively
modifies the list by breaking it in the middle using (setcdr), the
remaining list will not have any references and can be garbage
collected.
Agreed. I saw that too last night but was too sleepy to mail about it.
Luckily I didn't go in to fix the bug, otherwise we would have been 3 :-)
We probably should put both the crash examples in lisp-tests.el.
Jan
--
Jan Vroonhof
http://www.math.ethz.ch/~vroonhof/
Mathematik, vroonhof @ math.ethz.ch
HG E16, ETH-Zentrum, Tel: +41-1-6325456/25154
Raemistrasse 101, CH-8092 Zuerich. Fax: +41-1-6321085