harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5400) [drlvm][reliability] failure of CharsetSyncChashTest from the reliability test suite
Date Thu, 17 Jan 2008 14:07:34 GMT
[drlvm][reliability] failure of CharsetSyncChashTest  from the reliability test suite
-------------------------------------------------------------------------------------

                 Key: HARMONY-5400
                 URL: https://issues.apache.org/jira/browse/HARMONY-5400
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Pavel Rebriy


I've tried to run CharsetSyncChashTest reliability test and obtained an error:

===================================
Uncaught exception in Thread-26:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-13:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-17:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-15:
Uncaught exception in Thread-28:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
java.lang.OutOfMemoryError: 
	at java.util.zip.ZipFile.inflateEntryImpl2(ZipFile.java)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:194)
	at java.util.jar.JarFile.getInputStream(JarFile.java:358)
	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:230)
	at java.net.URL.openStream(URL.java:674)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:260)
	at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:202)
	at java.lang.Class.getResourceAsStream(Class.java:567)
	at com.ibm.icu.impl.ICUData.getStream(ICUData.java:52)
	at com.ibm.icu.impl.ICUData.getRequiredStream(ICUData.java:97)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:171)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:120)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:137)
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
	at com.ibm.icu.charset.CharsetICU.getCharset(CharsetICU.java:154)
	at com.ibm.icu.charset.CharsetProviderICU.getCharset(CharsetProviderICU.java:141)
	at com.ibm.icu.charset.CharsetProviderICU.putCharsets(CharsetProviderICU.java:239)
	at com.ibm.icu.charset.CharsetProviderICU.charsets(CharsetProviderICU.java:256)
	at java.nio.charset.Charset.addCharsets(Charset.java:235)
	at java.nio.charset.Charset.loadConfiguredCharsets(Charset.java:294)
	at java.nio.charset.Charset.availableCharsets(Charset.java:354)
	at org.apache.harmony.test.reliability.api.nio.charset.CharsetForNameRunner.run(CharsetSyncCacheTest.java:147)
	at java.lang.Thread.run(Thread.java:657)
Uncaught exception in Thread-12:
java.lang.OutOfMemoryError: 
	at java.util.zip.ZipFile.inflateEntryImpl2(ZipFile.java)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:194)
	at java.util.jar.JarFile.getInputStream(JarFile.java:358)
	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:230)
	at java.net.URL.openStream(URL.java:674)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:260)
	at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:202)
	at java.lang.Class.getResourceAsStream(Class.java:567)
	at com.ibm.icu.impl.ICUData.getStream(ICUData.java:52)
	at com.ibm.icu.impl.ICUData.getRequiredStream(ICUData.java:97)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:171)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:120)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:137)
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
	at com.ibm.icu.charset.CharsetICU.getCharset(CharsetICU.java:154)
	at com.ibm.icu.charset.CharsetProviderICU.getCharset(CharsetProviderICU.java:141)
	at com.ibm.icu.charset.CharsetProviderICU.putCharsets(CharsetProviderICU.java:239)
	at com.ibm.icu.charset.CharsetProviderICU.charsets(CharsetProviderICU.java:256)
	at java.nio.charset.Charset.addCharsets(Charset.java:235)
	at java.nio.charset.Charset.loadConfiguredCharsets(Charset.java:294)
	at java.nio.charset.Charset.availableCharsets(Charset.java:354)
	at org.apache.harmony.test.reliability.api.nio.charset.CharsetForNameRunner.run(CharsetSyncCacheTest.java:147)
	at java.lang.Thread.run(Thread.java:657)
Uncaught exception in Thread-21:
java.lang.OutOfMemoryError: 
	at java.util.zip.ZipFile.inflateEntryImpl2(ZipFile.java)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:194)
	at java.util.jar.JarFile.getInputStream(JarFile.java:358)
	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:230)
	at java.net.URL.openStream(URL.java:674)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:260)
	at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:202)
	at java.lang.Class.getResourceAsStream(Class.java:567)
	at com.ibm.icu.impl.ICUData.getStream(ICUData.java:52)
	at com.ibm.icu.impl.ICUData.getRequiredStream(ICUData.java:97)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:171)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:281)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:120)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:137)
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
	at com.ibm.icu.charset.CharsetICU.getCharset(CharsetICU.java:154)
	at com.ibm.icu.charset.CharsetProviderICU.getCharset(CharsetProviderICU.java:141)
	at com.ibm.icu.charset.CharsetProviderICU.putCharsets(CharsetProviderICU.java:239)
	at com.ibm.icu.charset.CharsetProviderICU.charsets(CharsetProviderICU.java:256)
	at java.nio.charset.Charset.addCharsets(Charset.java:235)
	at java.nio.charset.Charset.loadConfiguredCharsets(Charset.java:294)
	at java.nio.charset.Charset.availableCharsets(Charset.java:354)
	at org.apache.harmony.test.reliability.api.nio.charset.CharsetForNameRunner.run(CharsetSyncCacheTest.java:147)
	at java.lang.Thread.run(Thread.java:657)
Uncaught exception in Thread-24:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-23:
java.lang.OutOfMemoryError: 
	at java.util.zip.ZipFile.inflateEntryImpl2(ZipFile.java)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:194)
	at java.util.jar.JarFile.getInputStream(JarFile.java:358)
	at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:230)
	at java.net.URL.openStream(URL.java:674)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:260)
	at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:202)
	at java.lang.Class.getResourceAsStream(Class.java:567)
	at com.ibm.icu.impl.ICUData.getStream(ICUData.java:52)
	at com.ibm.icu.impl.ICUData.getRequiredStream(ICUData.java:97)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:171)
	at com.ibm.icu.charset.CharsetMBCS.loadConverter(CharsetMBCS.java:281)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:120)
	at com.ibm.icu.charset.CharsetMBCS.LTinitGT(CharsetMBCS.java:137)
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
	at com.ibm.icu.charset.CharsetICU.getCharset(CharsetICU.java:154)
	at com.ibm.icu.charset.CharsetProviderICU.getCharset(CharsetProviderICU.java:141)
	at com.ibm.icu.charset.CharsetProviderICU.putCharsets(CharsetProviderICU.java:239)
	at com.ibm.icu.charset.CharsetProviderICU.charsets(CharsetProviderICU.java:256)
	at java.nio.charset.Charset.addCharsets(Charset.java:235)
	at java.nio.charset.Charset.loadConfiguredCharsets(Charset.java:294)
	at java.nio.charset.Charset.availableCharsets(Charset.java:354)
	at org.apache.harmony.test.reliability.api.nio.charset.CharsetForNameRunner.run(CharsetSyncCacheTest.java:147)
	at java.lang.Thread.run(Thread.java:657)
Uncaught exception in Thread-27:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-25:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Uncaught exception in Thread-16:
java.lang.OutOfMemoryError
	LTno stack trace availableGT
Thread 5, forName(CP868) returned "cp868", instead of "CP868"
Thread 11, forName(gb18030) returned Charset "GB18030", instead of "gb18030"
Thread 10, forName(gb18030) returned Charset "GB18030", instead of "gb18030"
Thread 9, forName(gb18030) returned Charset "GB18030", instead of "gb18030"
Thread 13, forName(gb18030) returned Charset "GB18030", instead of "gb18030"
Uncaught exception in Thread-9:
java.lang.IllegalArgumentException
	at java.nio.Buffer.position(Buffer.java:235)
	at com.ibm.icu.charset.CharsetMBCS$CharsetEncoderMBCS.matchFromU(CharsetMBCS.java:2691)
	at com.ibm.icu.charset.CharsetMBCS$CharsetEncoderMBCS.initialMatchFromU(CharsetMBCSThread
1, forName(ibm-1390_P110-2003) by alias, encode/decode returned "1?B?0#?% AMP??????1242345"
instead of "1B?0#?% AMP??????12423.java:2926)
	at com.ibm.icu.charset.CharsetMBCS$CharsetEncoderMBCS.fromU(CharsetMBCS.java:2878)
	at com.ibm.icu.charset.CharsetM45"
BCS$CharsetEncoderMBCS.unassigned(CharsetMBCS.java:3579)
	at com.ibm.icu.charset.CharsetMBCS$CharsetEncoderMBCS.encodeLoop(CharsetMBCS.java:2371)
	at com.ibm.icu.charset.CharsetEncoderICU.fromUnicodeWithCallback(CharsetEncoderICU.java:387)
	at com.ibm.icu.charset.CharsetEncoderICU.encode(CharsetEncoderICU.java:305)
	at com.ibm.icu.charset.CharsetEncoderICU.encodeLoop(CharsetEncoderICU.java:206)
	at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:477)
	at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:345)
	at java.nio.charset.Charset.encode(Charset.java:636)
	at java.nio.charset.Charset.encode(Charset.java:655)
	at org.apache.harmony.test.reliability.api.nio.charset.CharsetForNameRunner.run(CharsetSyncCacheTest.java:186)
	at java.lang.Thread.run(Thread.java:657)
Thread 2, forName(windows-950) by alias returned Charset with different value of name()
thread #0 returned not PASS status
*** iteration: 0
test result is 105
Test FAILED
===================================

As to my point of view there are several errors in the test:

1. OutOfMemoryError exception is occurred.
2.  Incorrect charset name return: "GB18030", instead of "gb18030"
3. Incorrect encode/decode for a given charset.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message