You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2006/10/09 13:17:20 UTC
[jira] Created: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
[drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
------------------------------------------------------------------------------------------------
Key: HARMONY-1775
URL: http://issues.apache.org/jira/browse/HARMONY-1775
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Elena Semukhina
Priority: Critical
Passes in JET while fails in OPT in the following way:
>java -showversion -Xem:opt TestBase64
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
n or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
java/lang/ArrayIndexOutOfBoundsException : (null)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at TestBase64.main (TestBase64.java: 6)
Error occured while running starter class: Exception left unhandled before destr
oying VM
JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
java/lang/ArrayIndexOutOfBoundsException : (null)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at TestBase64.main (TestBase64.java: 6)
Error occured in starter class shutdown() method.
A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12442505 ]
Egor Pasko commented on HARMONY-1775:
-------------------------------------
in this code fragment RCE eliminates the CMP instruction after the IMUL instruction:
I3: (ID:s4(EFLGS):uint32) =IMUL s6(EAX):int32,t13(EDX):int32
I4: (ID:s4(EFLGS):uint32) =CMP s6(EAX):int32,t7(0):int32
I5: JZ BB_2_epilog o21(8):int8 (IU:s4(EFLGS):uint32)
..but IMUL leaves ZF undefined (the IA-32 Manual says). Thus, CMP elimination is invalid.
Nikolay, can you come across with the patch quickly? :)
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Assigned: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Geir Magnusson Jr reassigned HARMONY-1775:
------------------------------------------
Assignee: Geir Magnusson Jr
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12441473 ]
Egor Pasko commented on HARMONY-1775:
-------------------------------------
same reason as in HARMONY-1774. with RCE off all tests pass. May be closed as duplicate.
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Updated: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Elena Semukhina updated HARMONY-1775:
-------------------------------------
Attachment: TestBase64.java
Base64.java
Test and imported class attached.
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12440869 ]
Elena Semukhina commented on HARMONY-1775:
------------------------------------------
OK, I'll try.
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12442509 ]
Nikolay Sidelnikov commented on HARMONY-1775:
---------------------------------------------
IMUL and MUL should be excluded from group of instruction defines ZF properly
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Resolved: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Geir Magnusson Jr resolved HARMONY-1775.
----------------------------------------
Resolution: Fixed
r464619
Ubuntu 6 - test cases, smoke, c-unit, kernel
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, RCE-mul-flags-undefined-fix.patch.txt, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Updated: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Egor Pasko updated HARMONY-1775:
--------------------------------
Attachment: Decode.java
I simplified the test (Decode.java)
public class Decode {
public static void main(String argv[]) {
Decode.decode(0);
}
public static void decode(int len) {
if (len / 4 * 3 == 0) {
System.out.println("PASS");
return;
}
System.out.println("FAIL");
}
}
fails on OPT, funny, huh?
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Closed: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Geir Magnusson Jr closed HARMONY-1775.
--------------------------------------
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, RCE-mul-flags-undefined-fix.patch.txt, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12440879 ]
Elena Semukhina commented on HARMONY-1775:
------------------------------------------
[drlvm][unit] Blocked http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12440867 ]
Egor Pasko commented on HARMONY-1775:
-------------------------------------
Elena, could cou reduce the test as much as possible, please?
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Priority: Critical
> Attachments: Base64.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Commented: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=comments#action_12442283 ]
Geir Magnusson Jr commented on HARMONY-1775:
--------------------------------------------
After applying HARMONY-1774, these tests still appear to fail ;
geir@t42-laptop:~/dev/apache/harmony/enhanced/trunk/working_vm/build/deploy/jre/bin$ ./java -Xem:opt TestBase64
java/lang/ArrayIndexOutOfBoundsException : (null)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at TestBase64.main (TestBase64.java: 6)
Uncaught exception in main:
java.lang.ArrayIndexOutOfBoundsException
at org.apache.harmony.luni.util.Base64.decode(Base64.java)
at org.apache.harmony.luni.util.Base64.decode(Base64.java)
at TestBase64.main(TestBase64.java:6)
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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
[jira] Updated: (HARMONY-1775) [drlvm][jit][unit] Classlib test
org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1775?page=all ]
Egor Pasko updated HARMONY-1775:
--------------------------------
Attachment: RCE-mul-flags-undefined-fix.patch.txt
Nikolay, thanks for your advice! Here is the patch. SUSE9, c-unit, kernel (except ThreadTest) pass
> [drlvm][jit][unit] Classlib test org.apache.harmony.luni.tests.util.Base64Test fails in OPT mode
> ------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1775
> URL: http://issues.apache.org/jira/browse/HARMONY-1775
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Priority: Critical
> Attachments: Base64.java, Decode.java, RCE-mul-flags-undefined-fix.patch.txt, TestBase64.java
>
>
> Passes in JET while fails in OPT in the following way:
> >java -showversion -Xem:opt TestBase64
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured while running starter class: Exception left unhandled before destr
> oying VM
> JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
> java/lang/ArrayIndexOutOfBoundsException : (null)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
> at TestBase64.main (TestBase64.java: 6)
> Error occured in starter class shutdown() method.
> A simple standalone test to reproduce the issue is attached.
--
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