bugKawa - Bugs: bug #31250, try/catch & endless loop

 
 

bug #31250: try/catch & endless loop

Submitter:  Helmut Eller <ellerh>
Submitted:  Tue 05 Oct 2010 08:50:55 AM UTC
   
 
Category:  Code generation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 06 Oct 2010 02:55:53 AM UTC, comment #1: 

I checked in a fix and a testcase for this.  Thanks!

Per Bothner <bothner>
Group administrator
Tue 05 Oct 2010 08:50:55 AM UTC, original submission:  

When given this input

(define (foo f)
  (try-catch
   (let loop ()
     (f)
     (loop))
   (e java.lang.Exception
      (e:printStackTrace))))

then Kawa 1.10 (revision 6727M) aborts with:

/dev/stdin:2:3: internal compile error - caught java.lang.Error: popType called with empty stack atInteractiveLevel$4.foo(java.lang.Object)java.lang.Object
    gnu.bytecode.CodeAttr.popType(CodeAttr.java:442)
    gnu.bytecode.CodeAttr.emitStore(CodeAttr.java:1372)
    ...

Helmut Eller <ellerh>

 

(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 bothner (Posted a comment)
  • -email is unavailable- added by ellerh (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-17 bothner Open/ClosedOpen Closed
    2010-10-06 bothner StatusNone Fixed
        Assigned toNone bothner

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code