bugMIT/GNU Scheme - Bugs: bug #27932, liarc's interrupt checks include...

 
 

bug #27932: liarc's interrupt checks include only heap checks, not stack checks

Submitter:  Taylor R. Campbell <riastradh>
Submitted:  Wed 04 Nov 2009 03:54:35 AM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Ready For Test Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Nov 2009 02:50:39 PM UTC, comment #1: 

Should be fixed in commit 6caf4924120b9832d6494e07834ac402f442e92e.

Taylor R. Campbell <riastradh>
Group Member
Wed 04 Nov 2009 03:54:35 AM UTC, original submission:  

This causes runaway recursions to make Scheme explode, rather than reporting stack overflows.  The quick fix is to add a stack check to INTERRUPT_CHECK in microcode/liarc.h; the not so quick fix is to use compiler/back/checks.scm in the C back end and do interrupt, heap, and stack checks more precisely where they are needed like in the i386 and x86-64 back ends.

Taylor R. Campbell <riastradh>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-09 riastradh StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code