From: Stefan Israelsson Tampe <INVALID.NOREPLY@gnu.org>
To: Stefan Israelsson Tampe <stefan.tampe@spray.se>, bug-guile@gnu.org
Subject: [bug #31140] with-fluids does not up stack usage
Date: Mon, 27 Sep 2010 17:26:28 +0000 [thread overview]
Message-ID: <20100927-172627.sv78157.46128@savannah.gnu.org> (raw)
In-Reply-To:
URL:
<http://savannah.gnu.org/bugs/?31140>
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
<http://savannah.gnu.org/bugs/download.php?file_id=21555>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31140>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
next reply other threads:[~2010-09-27 17:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 17:26 Stefan Israelsson Tampe [this message]
2010-10-13 19:18 ` [bug #31140] with-fluids does not up stack usage Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100927-172627.sv78157.46128@savannah.gnu.org \
--to=invalid.noreply@gnu.org \
--cc=bug-guile@gnu.org \
--cc=stefan.tampe@spray.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).