From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Test-suite update Date: Fri, 23 Sep 2005 11:54:31 +0200 Organization: LAAS-CNRS Message-ID: <87vf0sjei0.fsf@laas.fr> References: <87oecutxox.fsf@laas.fr> <87vf58cxxq.fsf@zagadka.de> <87k6kwopv5.fsf@laas.fr> <87fysk7ady.fsf@zagadka.de> <87mzmpmcm2.fsf@laas.fr> <87aci6u6f4.fsf@laas.fr> <87psr22c2p.fsf@zip.com.au> <8764stp5n2.fsf_-_@laas.fr> <873bnwzyz7.fsf@ossau.uklinux.net> <87oe6kyjnk.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127472922 24085 80.91.229.2 (23 Sep 2005 10:55:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2005 10:55:22 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Sep 23 12:55:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EIlCV-0000Rr-6x for guile-devel@m.gmane.org; Fri, 23 Sep 2005 12:54:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIlCU-00069R-JX for guile-devel@m.gmane.org; Fri, 23 Sep 2005 06:54:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EIkN1-0005Hd-6K for guile-devel@gnu.org; Fri, 23 Sep 2005 06:01:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EIkMt-0005Fg-V7 for guile-devel@gnu.org; Fri, 23 Sep 2005 06:01:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIkMs-00054y-Q9 for guile-devel@gnu.org; Fri, 23 Sep 2005 06:01:22 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EIkHW-0002uo-Hj for guile-devel@gnu.org; Fri, 23 Sep 2005 05:55:50 -0400 Original-Received: by laas.laas.fr (8.13.1/8.13.1) with SMTP id j8N9tkPl008537; Fri, 23 Sep 2005 11:55:48 +0200 (CEST) Original-To: Neil Jerram X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 2 =?iso-8859-1?Q?Vend=E9miaire?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu In-Reply-To: <87oe6kyjnk.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 22 Sep 2005 20:41:51 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS 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:5234 Archived-At: Hi, Neil Jerram writes: > Actually I'm not sure I understand. Do you see the stack overflow > only after applying your patch, or did it occur before the patch also > on your system? I don't see a problem on Intel using current CVS. When running `elisp.test' untouched. Here's what I get: $ guile -L .. -l tests/elisp.test [...] PASS: scheme: value preservation: cdr PASS: scheme: value preservation: vector-ref ERROR: Stack overflow Adding `format' expressions shows that this seems to occur when evaluating: (if (defined? '%nil) (use-modules (lang elisp interface))) However, it works when run like this: $ guile -L .. guile> (load "tests/elisp.test") PASS: scheme: nil value is a boolean: boolean? [...] PASS: elisp: (defvar x 4) PASS: elisp: x guile> So I tried the following: $ guile -L .. -c '(begin (set! %load-hook (lambda (f) (format #t "loading ~a...~%" f))) (load "tests/elisp.test"))' loading tests/elisp.test... [...] PASS: scheme: value preservation: vector-ref loading ../lang/elisp/interface.scm... [...] PASS: elisp: (defvar x 4) PASS: elisp: x And here everything works fine. Any idea of the difference between `-l' and `load'? Looking at `script.c', that seems equivalent. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel