Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 11294 invoked from network); 17 May 2007 15:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2007 15:57:39 -0000 Received: (qmail 29691 invoked by uid 500); 17 May 2007 15:57:45 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 29596 invoked by uid 500); 17 May 2007 15:57:45 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 29587 invoked by uid 99); 17 May 2007 15:57:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 08:57:45 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 08:57:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7CA21714071 for ; Thu, 17 May 2007 08:57:16 -0700 (PDT) Message-ID: <7695493.1179417436508.JavaMail.jira@brutus> Date: Thu, 17 May 2007 08:57:16 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3758) [drlvm][classloader] assert fires in String_Pool::lookup() In-Reply-To: <8023581.1177563255282.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky resolved HARMONY-3758. ---------------------------------------- Resolution: Fixed For some reason in unaligned case when string is read byte by byte the signed char bytes were converted to POINTER_SIZE_INT with sign extend. When string contains unicode characters ( >= 128) this leads to incorrect results because upper bytes of the byte are filled with 0xff bytes. The fix is to consider bytes as unsigned before extending them to POINTER_SIZE_INT. Fixed at 538982. > [drlvm][classloader] assert fires in String_Pool::lookup() > ---------------------------------------------------------- > > Key: HARMONY-3758 > URL: https://issues.apache.org/jira/browse/HARMONY-3758 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Sles9@IPF > Reporter: Alexey Varlamov > Assigned To: Gregory Shimansky > Priority: Minor > > To reproduce: > sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest > ... > [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed. > [junit] SIGABRT in VM code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.