From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: VM stack overflow while calling sxml-match within let* or car Date: Sun, 27 Mar 2011 17:04:08 +0200 Message-ID: <87zkogvc47.fsf@gnu.org> References: <1300095731.2650.20.camel@Renee-desktop> <87vczlsir5.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 1301238271 26623 80.91.229.12 (27 Mar 2011 15:04:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 15:04:31 +0000 (UTC) Cc: Jim Bender , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Mar 27 17:04:26 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3rVy-0001s2-Bq for guile-devel@m.gmane.org; Sun, 27 Mar 2011 17:04:26 +0200 Original-Received: from localhost ([127.0.0.1]:43787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3rVx-0002iQ-J2 for guile-devel@m.gmane.org; Sun, 27 Mar 2011 11:04:25 -0400 Original-Received: from [140.186.70.92] (port=50594 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3rVn-0002he-9o for guile-devel@gnu.org; Sun, 27 Mar 2011 11:04:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3rVm-0006Z8-6g for guile-devel@gnu.org; Sun, 27 Mar 2011 11:04:15 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:43547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3rVl-0006Z2-TT for guile-devel@gnu.org; Sun, 27 Mar 2011 11:04:14 -0400 Original-Received: from nixey (reverse-83.fdn.fr [80.67.176.83]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 701C845699; Sun, 27 Mar 2011 17:04:12 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Germinal an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Andy Wingo's message of "Sun, 27 Mar 2011 15:04:30 +0200") User-Agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 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:12013 Archived-At: Hi! Andy Wingo writes: > On Sun 27 Mar 2011 13:56, Andy Wingo writes: > >> On Sun 27 Mar 2011 13:30, Andy Wingo writes: >> >>>> (And Guile crashes upon ,bt.) >>> >>> I wonder if this indicates some compilation bug. >> >> Indeed it does; it's a bug in Guile, not sxml-match. >> >> The following expression exhibits this bug: >> >> (car >> (letrec ((f (lambda () >> (call-with-prompt >> 'p >> (lambda () #t) >> (lambda (k) #f))))) >> (f))) > > Fixed in git. Thanks for the amusing bug, Mr. Turing! Woow, interesting bug, good catch! Thanks, Ludo=E2=80=99.