From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97630 invoked by alias); 30 Aug 2017 05:34:44 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 96372 invoked by uid 89); 30 Aug 2017 05:34:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=activity, you! X-HELO: mail-ua0-f179.google.com Received: from mail-ua0-f179.google.com (HELO mail-ua0-f179.google.com) (209.85.217.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Aug 2017 05:34:00 +0000 Received: by mail-ua0-f179.google.com with SMTP id g11so16049232uah.2 for ; Tue, 29 Aug 2017 22:34:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jqu9q4rQZem3Wn/174ijxR29nsVhIMpQzpQp2EQAMW8=; b=cPFeRnzKetgjIE42Ktx5i60slf6BTkCQK3NBcYPstTTXzUGkDuVqnyWfFWHQlu9IbQ cFWCjFI0f7kpIngbNuQaVtTdA77KOC6KOGeZsSN6gNNAYIE3KyZo8yWIrWPXsHnuLBxS ij2P613hd+MtlZ0uCylNf1LhBDAxgpPJkm2xy+NxNBGqNyZGbHm/rzBggQX/Kz6bqZZb U68NWSu8YjLQ6PVTdWd0k9iRoTesvEYbCuh8CINABLBPE63K7vPVqYXhIuKEwE2JWvYh K0Q7+Yy1EGdJa7jxyWd+lFDpApeziykr5v/qduUMUihdrmzy3UhJQpMRN0W82vT0Kp8o Iikg== X-Gm-Message-State: AHPjjUh86eyBEci02DdenNaukxMtmwzPJKMt/y56as4p+zvz362h1aQH NjO+74mWNg4aNehSCTGJuUBK3vlb1g== X-Received: by 10.176.3.143 with SMTP id 15mr200272uau.85.1504071239177; Tue, 29 Aug 2017 22:33:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.51.65 with HTTP; Tue, 29 Aug 2017 22:33:58 -0700 (PDT) In-Reply-To: References: <2581b42d-a431-badb-bed4-dd44631ae4bb@bothner.com> <1a953d92-9888-f82c-f314-a45c0529ba60@bothner.com> From: Kay Zheng Date: Wed, 30 Aug 2017 05:34:00 -0000 Message-ID: Subject: Re: "Uncaught translation error" when transforming Kawa-compiled classes with dex To: Per Bothner Cc: Kawa mailing list , Sonny To Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00016.txt.bz2 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 : > 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" 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/