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 Nov 4 03:54:35 2009  
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 MarkupRich Markup):

You are not logged in

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


Mon Nov 9 14:50:39 2009, comment #1:

Should be fixed in commit 6caf4924120b9832d6494e07834ac402f442e92e.

Taylor R. Campbell <riastradh>
Project Member
Wed Nov 4 03:54:35 2009, 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 Nov 9 14:50:39 2009riastradhStatusNone=>Ready For Test

    Back to the top

    Powered by Savane 3.1-cleanup1