bugGuile - Bugs: bug #31140, with-fluids does not up stack usage

 
 

bug #31140: with-fluids does not up stack usage

Submitted by:  Stefan Israelsson Tampe <tampe>
Submitted on:  Mon 27 Sep 2010 05:26:27 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Oct 2010 07:18:03 PM UTC, comment #1:

Fixed in git, thanks for the report!

Andy Wingo <wingo>
Project Administrator
Mon 27 Sep 2010 05:26:27 PM UTC, original submission:

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

Stefan Israelsson Tampe <tampe>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #21555:  with-dynwind-vm.patch added by tampe (426B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wingo (Posted a comment)
  • -unavailable- added by tampe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Oct 2010 07:18:03 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 27 Sep 2010 05:26:27 PM UTCtampeAttached File-=>Added with-dynwind-vm.patch, #21555

    Back to the top


    Powered by Savane 3.1-cleanup1