From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31140] with-fluids does not up stack usage Date: Mon, 27 Sep 2010 17:26:28 +0000 Message-ID: <20100927-172627.sv78157.46128@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1285608403 3303 80.91.229.12 (27 Sep 2010 17:26:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 17:26:43 +0000 (UTC) To: Stefan Israelsson Tampe , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Sep 27 19:26:41 2010 Return-path: Envelope-to: guile-bugs@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 1P0HTJ-0001co-A1 for guile-bugs@m.gmane.org; Mon, 27 Sep 2010 19:26:37 +0200 Original-Received: from localhost ([127.0.0.1]:56223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0HTI-0004lc-OP for guile-bugs@m.gmane.org; Mon, 27 Sep 2010 13:26:36 -0400 Original-Received: from [140.186.70.92] (port=39101 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0HTC-0004lX-Dl for bug-guile@gnu.org; Mon, 27 Sep 2010 13:26:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0HTB-0003Hv-E5 for bug-guile@gnu.org; Mon, 27 Sep 2010 13:26:30 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:36889 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0HTB-0003Hr-BS for bug-guile@gnu.org; Mon, 27 Sep 2010 13:26:29 -0400 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0HTA-0005OO-Dt; Mon, 27 Sep 2010 17:26:28 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1P0HTA-00022h-Br; Mon, 27 Sep 2010 17:26:28 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 31140 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10 X-Apparently-From: 82.182.254.46 (Savane authenticated user tampe) Original-References: In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4820 Archived-At: URL: Summary: with-fluids does not up stack usage Project: Guile Submitted by: tampe Submitted on: Mon 27 Sep 2010 05:26:27 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: (define a (make-fluid)) (pk (with-fluids ((a 1)) 2)) Errors, with a massage that 1 is not callable. The reson is that 1 and a is pushed on top the stack but not removed, the attached file make sure to clean up that stack usage in the appropriate byte instruction. This would be safe if the dynwinds are scanned correctly at gc:ing. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 27 Sep 2010 05:26:27 PM GMT Name: with-dynwind-vm.patch Size: 426B By: tampe _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/