public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Seth Alves <alves@hungry.com>, kawa@sourceware.org
Subject: Re: java.lang.VerifyError exception
Date: Mon, 02 Feb 2015 12:14:00 -0000	[thread overview]
Message-ID: <54CF69F5.4030801@bothner.com> (raw)
In-Reply-To: <54A1FDA7.7050200@hungry.com>

After many false starts, I have a fix that seems to work.
Sorry for the delay - this was the sort of painful problem that
encourages procrastination ...  

On 12/30/2014 02:19 AM, 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/

  parent reply	other threads:[~2015-02-02 12:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30  1:19 Seth Alves
2015-01-03 22:23 ` Per Bothner
2015-02-02 12:14 ` Per Bothner [this message]
2015-02-08  3:18   ` Seth Alves
2015-02-09 23:31     ` Per Bothner
2015-02-10  2:19       ` Seth Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CF69F5.4030801@bothner.com \
    --to=per@bothner.com \
    --cc=alves@hungry.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).