Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 16352 invoked from network); 13 Dec 2006 15:47:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 15:47:00 -0000 Received: (qmail 85599 invoked by uid 500); 13 Dec 2006 15:46:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 85572 invoked by uid 500); 13 Dec 2006 15:46:52 -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 85493 invoked by uid 99); 13 Dec 2006 15:46:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:46:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 13 Dec 2006 07:46:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 48B7D7141A5 for ; Wed, 13 Dec 2006 07:46:23 -0800 (PST) Message-ID: <9836612.1166024783295.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 07:46:23 -0800 (PST) From: "Salikh Zakirov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2669) [drlvm][jni] Working with charset ISO-2022-CN crashes DRLVM In-Reply-To: <13715204.1166024781746.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 [ http://issues.apache.org/jira/browse/HARMONY-2669?page=all ] Salikh Zakirov updated HARMONY-2669: ------------------------------------ Attachment: Enc.java > [drlvm][jni] Working with charset ISO-2022-CN crashes DRLVM > ----------------------------------------------------------- > > Key: HARMONY-2669 > URL: http://issues.apache.org/jira/browse/HARMONY-2669 > Project: Harmony > Issue Type: Bug > Components: Classlib, DRLVM > Environment: Windows XP i686 > Reporter: Salikh Zakirov > Attachments: Enc.java > > > The attached test crashes debug version of DRLVM on a heap pointer validity check on free(). > With the following stack: > harmonyvm.dll!_CrtIsValidHeapPointer(const void * pUserData=0x02876958) Line 1807 C > harmonyvm.dll!_free_dbg_lk(void * pUserData=0x02876958, int nBlockUse=0x00000001) Line 1132 + 0x9 bytes C > harmonyvm.dll!_free_dbg(void * pUserData=0x02876958, int nBlockUse=0x00000001) Line 1070 + 0xd bytes C > harmonyvm.dll!free(void * pUserData=0x02876958) Line 1025 + 0xb bytes C > harmonyvm.dll!ReleaseByteArrayElements(JNIEnv_External * env=0x011c2cc0, _jobject * array=0x0013f40c, char * elems=0x02876958, int mode=0x00000000) Line 908 + 0x9 bytes C++ > > harmonyvm.dll!ReleasePrimitiveArrayCritical(JNIEnv_External * jenv=0x011c2cc0, _jobject * array=0x0013f40c, void * carray=0x02876958, int mode=0x00000000) Line 1305 + 0x15 bytes C++ > ICUInterface34.dll!0285211e() > Running the same test with J9 produces > Exception in thread "main" java.lang.IllegalArgumentException: U_ILLEGAL_ARGUMENT_ERROR > at com.ibm.icu4jni.common.ErrorCode.getException(Unknown Source) > at com.ibm.icu4jni.charset.CharsetEncoderICU.implReplaceWith(Unknown Source) > at java.nio.charset.CharsetEncoder.replaceWith(CharsetEncoder.java:856) > at Enc.main(Enc.java:9) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira