unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #31140] with-fluids does not up stack usage
@ 2010-09-27 17:26 Stefan Israelsson Tampe
  2010-10-13 19:18 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Israelsson Tampe @ 2010-09-27 17:26 UTC (permalink / raw)
  To: Stefan Israelsson Tampe, bug-guile


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/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-13 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 17:26 [bug #31140] with-fluids does not up stack usage Stefan Israelsson Tampe
2010-10-13 19:18 ` Andy Wingo

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).