public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Kay Zheng <l04m33@gmail.com>
To: Per Bothner <per@bothner.com>
Cc: Kawa mailing list <kawa@sourceware.org>, Sonny To <son.c.to@gmail.com>
Subject: Re: "Uncaught translation error" when transforming Kawa-compiled classes with dex
Date: Wed, 30 Aug 2017 05:34:00 -0000	[thread overview]
Message-ID: <CAJCc8OxgvFn_myngcdG6aC9H54z_6GaVAYqQxmoyYLvVb6bSKQ@mail.gmail.com> (raw)
In-Reply-To: <CAJCc8OyZ-D4=zB-u6=V108F+=_ZauWw56L2ZzZBvVy8u67qVaQ@mail.gmail.com>

Thank you! I think the fix worked, and the APK was built successfully.

The app failed to run though. A ClassNotFound exception regarding my
main activity, much like what Sonny To reported in another thread a
while ago. But this is most likely a separate issue, not necessarily
relevant to Kawa. I'll try digging around and see if I can find
anything.

2017-08-30 12:08 GMT+08:00 Kay Zheng <l04m33@gmail.com>:
> Thank you! I think the fix worked, and the APK was built successfully.
>
> The APK failed to run though. A ClassNotFound exception regarding my main
> activity, much like what Sonny To reported in another thread a while ago.
> But this is most likely a separate issue, not necessarily relevant to Kawa.
> I'll try digging around and see if I can find anything.
>
> On Aug 30, 2017 8:39 AM, "Per Bothner" <per@bothner.com> wrote:
>>
>> On 08/29/2017 01:30 PM, Per Bothner wrote:
>>>
>>> I do see a problem.  The method stringConcatenateReverse$SlShared$V in
>>> srfi13.class has
>>> the following:
>>>
>>> Attribute "LocalVariableTable", length:92, count: 9
>>>    slot#0: name: string-list, type: java.lang.Object (pc: 0 length: 662)
>>>    slot#1: name: maybe-final+end, type: gnu.lists.LList (pc: 0 length:
>>> 662)
>>>    slot#2: name: final, type: java.lang.Object (pc: 23 length: 639)
>>>    slot#3: name: end, type: java.lang.Object (pc: 124 length: 538)
>>>    slot#4: name: len, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#5: name: nzlist, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#6: name: lis, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#7: name: $ctx, type: gnu.mapping.CallContext (pc: 300 length:
>>> 247)
>>>    slot#7: name: slen, type: int (pc: 340 length: 67)
>>>
>>> Notice slot 7 is used for two different variables, of different types -
>>> and their
>>> PC ranges overlap.  Hm.
>>
>>
>> I checked in a fix for this.  Please try again.
>> --
>>         --Per Bothner
>> per@bothner.com   http://per.bothner.com/

      parent reply	other threads:[~2017-08-30  5:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 17:10 Kay Zheng
2017-08-29 17:13 ` Sonny To
2017-08-29 17:31   ` Kay Zheng
2017-08-29 18:02 ` Per Bothner
2017-08-29 20:13   ` Kay Zheng
2017-08-29 20:31     ` Per Bothner
2017-08-30  0:39       ` Per Bothner
     [not found]         ` <CAJCc8OyZ-D4=zB-u6=V108F+=_ZauWw56L2ZzZBvVy8u67qVaQ@mail.gmail.com>
2017-08-30  5:34           ` Kay Zheng [this message]

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=CAJCc8OxgvFn_myngcdG6aC9H54z_6GaVAYqQxmoyYLvVb6bSKQ@mail.gmail.com \
    --to=l04m33@gmail.com \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    --cc=son.c.to@gmail.com \
    /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).