This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.lang.VerifyError exception


This is bug in the previous "fix" for checkInlineable.
I don't yet have a satisfactory fix - still working on it.

On 12/29/2014 05:19 PM, Seth Alves wrote:
Here is a boiled-down snippet of nonsense code (it started as part of the snow zlib package).

     -seth

$ ./test-kawa.scm
Exception in thread "main" java.lang.VerifyError: Bad local variable type
Exception Details:
   Location:
     fuh$frame.lambda1loop()Ljava/lang/Object; @13: aload_2
   Reason:
     Type top (current frame, locals[2]) is not assignable to reference type
   Current Frame:
     bci: @13
     flags: { }
     locals: { 'fuh$frame', 'fuh$frame0' }
     stack: { }
   Bytecode:
     0000000: bb00 0459 b700 0859 2ab5 000c 4c2c 1008
     0000010: b800 124d 2b05 bd00 1459 03b2 001a 5359
     0000020: 04b2 001e 53b8 0024 b600 28b0

     at fuh.gunzipGenport(test-kawa.scm:11)
     at fuh.apply0(test-kawa.scm:11)
     at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)
     at gnu.expr.ModuleMethod.apply(ModuleMethod.java:160)
     at gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
     at test$Mnkawa.run(test-kawa.scm:34)
     at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:317)
     at gnu.expr.CompiledModule.evalModule(CompiledModule.java:42)
     at gnu.expr.CompiledModule.evalModule(CompiledModule.java:61)
     at kawa.Shell.runFile(Shell.java:538)
     at kawa.Shell.runFileOrClass(Shell.java:447)
     at kawa.repl.main(repl.java:881)


--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]