From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nalaginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: VM stack overflow while calling sxml-match within let* or car Date: Sun, 27 Mar 2011 22:25:05 +0800 Organization: HFG Message-ID: <1301235905.3581.6.camel@Renee-desktop> References: <1300095731.2650.20.camel@Renee-desktop> <87vczlsir5.fsf@gnu.org> Reply-To: NalaGinrut@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301235947 15744 80.91.229.12 (27 Mar 2011 14:25:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 14:25:47 +0000 (UTC) Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= , 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 16:25:43 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 1Q3quU-0003el-TP for guile-devel@m.gmane.org; Sun, 27 Mar 2011 16:25:43 +0200 Original-Received: from localhost ([127.0.0.1]:36059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3quU-0007JG-4k for guile-devel@m.gmane.org; Sun, 27 Mar 2011 10:25:42 -0400 Original-Received: from [140.186.70.92] (port=45641 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3qu7-0007HE-OD for guile-devel@gnu.org; Sun, 27 Mar 2011 10:25:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3qu6-0008Mo-OW for guile-devel@gnu.org; Sun, 27 Mar 2011 10:25:19 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:45012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3qu5-0008KB-25; Sun, 27 Mar 2011 10:25:17 -0400 Original-Received: by iwg8 with SMTP id 8so2793107iwg.0 for ; Sun, 27 Mar 2011 07:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:in-reply-to :references:content-type:organization:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=yBwyjmX5nam3cULttrQYUfkqcrXnamE3filKbXn5fTs=; b=TzUhqHUwBi5ABEls5HbislGeHRnIl9uyRddexhPFnKOrkWsLVrvU6ZZZuR7D+MWlBA kQ/RTmEPcLIKE56OpK6bTz+B1R1gpPhRaZX2MtusX/tNw+A+5A++dxm7x2BrihgWutgI JPi+25L82By6e/wg7/2h44Uvz+3tjKtY6KcnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=RJQnrltQ/EX5lfZuWaVBsXVIZuTGjbqrOjoAJuKBmsbX5nSf0Ua5FUh29SGGErFkqS eix6rUQIUmmNteAfToWUP2VAAmgiCXxGXoOZsHeorqdBPesLTOAj1xEWvPUfbqm8kgWD Kjmj8oSb0OIKSbrmlxwqbKrxD6gQBmNf0jcLk= Original-Received: by 10.42.149.65 with SMTP id u1mr4646254icv.439.1301235915051; Sun, 27 Mar 2011 07:25:15 -0700 (PDT) Original-Received: from [192.168.100.100] ([183.15.156.33]) by mx.google.com with ESMTPS id 8sm2223564iba.55.2011.03.27.07.25.07 (version=SSLv3 cipher=OTHER); Sun, 27 Mar 2011 07:25:14 -0700 (PDT) In-Reply-To: X-Mailer: Evolution 2.28.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 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:12012 Archived-At: > 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! > > Andy Well~it's a nice news. My code was modified to an more ugly style to make it work because of this bug. But I think it's cure now. :-) -- GNU Powered it GPL Protected it GOD Blessed it HFG - NalaGinrut