bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31140] with-fluids does not up stack usage


From: Stefan Israelsson Tampe
Subject: [bug #31140] with-fluids does not up stack usage
Date: Mon, 27 Sep 2010 17:26:28 +0000
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

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]