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


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

Submitted by:  Taylor R. Campbell <riastradh>
Submitted on:  Wed 04 Nov 2009 03:54:35 AM UTC  
Category: microcodeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: Ready For TestPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

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


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

Should be fixed in commit 6caf4924120b9832d6494e07834ac402f442e92e.

Taylor R. Campbell <riastradh>
Project 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>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by riastradh (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Nov 2009 02:50:39 PM UTCriastradhStatusNone=>Ready For Test

    Back to the top

    Powered by Savane 3.1-cleanup1