bugKawa - Bugs: bug #33049, Internal compile error on...

 
 

bug #33049: Internal compile error on compilation of code

Submitted by:  None
Submitted on:  Mon 11 Apr 2011 09:51:02 PM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Compile-time exceptionStatus: Need Info
Privacy: PublicAssigned to: Per Bothner <bothner>
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 23 Apr 2012 05:29:26 AM UTC, comment #1:

I need a test-case for this.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Mon 11 Apr 2011 09:51:02 PM UTC, original submission:

Kawa 1.11, OS X 10.5, Java 6

[offending snippet below. I can make the full running source available no problem, but it can't be pasted in this window. Instead contact sean@cs.gmu.edu]

(define (perform target :: Steppable ;;;;; THIS IS LINE 275. Problem occurs regardless of function name
method :: symbol
#!key
(at :: <double> (floor (+ 1.0 (schedule:getTime))))
(order :: <int> 0.0)
(repeat 1.0))
(let ((agent (referring-agent target method)))
(if (eq? #f repeat)
(schedule:scheduleOnce at order agent)
(schedule:scheduleRepeating at order agent repeat))))

[Bug:]

newflocker.scm:275:1: internal compile error - caught java.lang.Error: at PC 33 then clause grows stack with no else clause
gnu.bytecode.CodeAttr.emitFi(CodeAttr.java:1891)
gnu.expr.LambdaExp.enterFunction(LambdaExp.java:1469)
gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1593)
gnu.expr.LambdaExp.compileSetField(LambdaExp.java:656)
gnu.expr.SetExp.compile(SetExp.java:167)
gnu.expr.Expression.compileNotePosition(Expression.java:156)
gnu.expr.Expression.compileWithPosition(Expression.java:142)
gnu.expr.LambdaExp.compileBody(LambdaExp.java:1619)
gnu.expr.Compilation.generateBytecode(Compilation.java:2107)
gnu.expr.Compilation.process(Compilation.java:1984)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleExp.evalToClass(ModuleExp.java:55)
gnu.expr.ModuleExp.evalModule1(ModuleExp.java:226)
gnu.expr.ModuleExp.evalModule(ModuleExp.java:182)
kawa.Shell.run(Shell.java:281)
kawa.Shell.runFile(Shell.java:490)
kawa.standard.load.apply2(load.java:42)
kawa.standard.load.apply1(load.java:26)
gnu.mapping.Procedure.apply(Procedure.java:130)
gnu.mapping.Procedure.apply(Procedure.java:113)
gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
gnu.expr.ModuleExp.evalModule2(ModuleExp.java:348)
gnu.expr.ModuleExp.evalModule(ModuleExp.java:185)
kawa.Shell.run(Shell.java:281)
kawa.Shell.run(Shell.java:194)
kawa.Shell.run(Shell.java:175)
kawa.repl.main(repl.java:848)

at kawa.standard.load.apply2(load.java:51)
at kawa.standard.load.apply1(load.java:26)
at gnu.mapping.Procedure.apply(Procedure.java:130)
at gnu.mapping.Procedure.apply(Procedure.java:113)
at gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:348)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:185)
at kawa.Shell.run(Shell.java:281)
at kawa.Shell.run(Shell.java:194)
at kawa.Shell.run(Shell.java:175)
at kawa.repl.main(repl.java:848)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 bothner (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Apr 2012 05:29:26 AM UTCbothnerStatusNone=>Need Info
      Assigned toNone=>bothner

    Back to the top


    Powered by Savane 3.1-cleanup