From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#10336: Holidays vs. release Date: Wed, 25 Jan 2012 17:10:41 +0100 Message-ID: <87mx9bkbjy.fsf@gnu.org> References: <20111220210919.0YNV7.4169.root@cdptpa-web14-z02> <20111221005934.KW79Q.70655.root@cdptpa-web15-z01> <87pqez9g22.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327508887 16184 80.91.229.12 (25 Jan 2012 16:28:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 16:28:07 +0000 (UTC) Cc: 10336@debbugs.gnu.org To: Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jan 25 17:28:03 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rq5hX-0002Bq-TV for guile-bugs@m.gmane.org; Wed, 25 Jan 2012 17:28:00 +0100 Original-Received: from localhost ([::1]:45925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq5hX-0007zj-2A for guile-bugs@m.gmane.org; Wed, 25 Jan 2012 11:27:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq5hP-0006JY-Ap for bug-guile@gnu.org; Wed, 25 Jan 2012 11:27:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq5Rg-0004Yl-6V for bug-guile@gnu.org; Wed, 25 Jan 2012 11:11:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq5Rg-0004Yh-4u for bug-guile@gnu.org; Wed, 25 Jan 2012 11:11:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rq5S6-0007QB-DN for bug-guile@gnu.org; Wed, 25 Jan 2012 11:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 25 Jan 2012 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10336 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10336-submit@debbugs.gnu.org id=B10336.132750788428476 (code B ref 10336); Wed, 25 Jan 2012 16:12:02 +0000 Original-Received: (at 10336) by debbugs.gnu.org; 25 Jan 2012 16:11:24 +0000 Original-Received: from localhost ([127.0.0.1]:43526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq5RT-0007PE-L0 for submit@debbugs.gnu.org; Wed, 25 Jan 2012 11:11:24 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:47635) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq5RR-0007Ot-In for 10336@debbugs.gnu.org; Wed, 25 Jan 2012 11:11:23 -0500 X-IronPort-AV: E=Sophos;i="4.71,568,1320620400"; d="scan'208";a="128831845" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 25 Jan 2012 17:10:43 +0100 In-Reply-To: <87pqez9g22.fsf@gnu.org> ("Ludovic \=\?iso-8859-1\?Q\?Court\=E8s\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Thu, 05 Jan 2012 00:57:41 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6080 Archived-At: Hello! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > skribis: > >> I'm on a 32bit Debian intel system. libgc is 7.2alpha4 >> >> git describe is >> v2.0.3-82-ga2c6601 >> >> The single failure running make check is >> >> Running gc.test >> FAIL: gc.test: gc: Lexical vars are collectable > > Same problem on Hydra, but only i686, not x86_64. So I looked into it, and there=E2=80=99s at least one thing wrong: the test= must be compiled with #:partial-eval? #f, otherwise the =E2=80=98let=E2=80=99 va= nishes, which defeats the test. Second thing, it suffices to insert a function call like ((lambda (x) #f) #f) just before calls to =E2=80=98gc=E2=80=99 to solve the= problem. So I=E2=80=99m thinking we may have a real bug here. I=E2=80=99ve changed the test this way: (pass-if "Lexical vars are collectable" (pair? (compile '(begin (define guardian (make-guardian)) (let ((f (list 1 2 3))) (guardian f)) ;; Note: no `stack-cleanup' call should be needed here since ;; leaving `let' should have the same effect. ;((lambda (x) x) #f) (gc)(gc)(gc) (guardian)) ;; Turn the partial evaluator off so that `let' is preserved. #:opts '(#:partial-eval? #f) #:env (current-module)))) The assembly code does seem to push =E2=80=98void=E2=80=99 in all cases, th= ough, but this needs to be double-checked. Thanks, Ludo=E2=80=99.