From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: module GC bug Date: Sat, 09 Jul 2005 10:28:21 +0200 Message-ID: <42CF8AA5.1080300@xs4all.nl> References: <42A8D188.20007@xs4all.nl> <87fyuq1mrr.fsf@zagadka.de> <66e540fe05070802241cbf85ad@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120899342 21490 80.91.229.2 (9 Jul 2005 08:55:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2005 08:55:42 +0000 (UTC) Cc: guile-devel@gnu.org, Marius Vollmer Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jul 09 10:55:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DrB7V-0006EE-PE for guile-devel@m.gmane.org; Sat, 09 Jul 2005 10:55:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrB8x-0004Hf-RG for guile-devel@m.gmane.org; Sat, 09 Jul 2005 04:57:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrArQ-0006JC-VX for guile-devel@gnu.org; Sat, 09 Jul 2005 04:38:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrAo3-0005s5-Mo for guile-devel@gnu.org; Sat, 09 Jul 2005 04:35:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrAfg-0005JH-U9 for guile-devel@gnu.org; Sat, 09 Jul 2005 04:26:50 -0400 Original-Received: from [194.109.24.34] (helo=smtp-vbr14.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrAkp-0005Wx-Ie for guile-devel@gnu.org; Sat, 09 Jul 2005 04:32:07 -0400 Original-Received: from [192.168.123.107] (muurbloem.xs4all.nl [213.84.26.127]) by smtp-vbr14.xs4all.nl (8.13.3/8.13.3) with ESMTP id j698P0wF052098; Sat, 9 Jul 2005 10:25:00 +0200 (CEST) (envelope-from hanwen@xs4all.nl) User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en Original-To: djurfeldt@nada.kth.se In-Reply-To: <66e540fe05070802241cbf85ad@mail.gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5144 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:5144 Mikael Djurfeldt wrote: > On 7/7/05, Marius Vollmer wrote: > >>>I've fixed this by introducing a new function (eval-closure-module) >>>which returns the module of a closure via the eval-closure smob. >> >>I think the right fix is to change the weak hashtable marking >>algorithm to properly cope with circular references like this. I will >>try this and then come back to you. (I don't know how long this might >>take since the required changes look to be slightly non-trivial (but >>entirely possible).) > > > That would be good, because the current fix (which is already > committed to CVS HEAD, and which removes the setting of the > procedure-property) still leaves code in modules.c which expects the > procedure-property to be set. If Han-Wen's fix is to be kept, then > you should, at least, remove that code. The consequence is that it > will no longer be possible to lookup the module of the eval closure > for any kind of closures except the standard ones (which are > implemented as a smob). Hi, I guess I'm missing something. Where is the 'module procedure property set for other eval closures? -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel