Issue Details (XML | Word | Printable)

Key: RVM-620
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ian Rogers
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
RVM

DaCapo jython fails with Apache Harmony class library

Created: 08/Aug/08 06:23 AM   Updated: 06/Oct/08 01:47 PM
Component/s: Runtime: Class Library: Harmony
Affects Version/s: None
Fix Version/s: 3.0.2

Time Tracking:
Not Specified

Environment: Jikes RVM r14855 Harmony r681495 prototype configuration SuSE Linux 10.3 x86-64


 Description  « Hide
Running DaCapo jython fails with:

sys-package-mgr: processing new jar, '/home/ian/ecoop/jikesrvm-https/components/dacapo/2006-10-MR2/dacapo.jar'
===== DaCapo jython starting =====
Traceback (innermost last):
File "./scratch/jython/pybench/pybench.py", line 38, in ?
File "/home/ian/ecoop/jikesrvm-https/./scratch/jython/pybench/CommandLine.py", line 130, in ?
AttributeError: class 'org.python.modules.os' has no attribute 'path'



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Aleksey Shipilev added a comment - 08/Aug/08 12:59 PM
Reproduced on Jikes RVM r14855, Harmony r681495, Gentoo Linux x86.

Aleksey Shipilev added a comment - 13/Sep/08 06:32 PM
Reproduced on JikesRVM r14973, Harmony classlib r694933 + build fix, Gentoo x86:

sys-package-mgr: processing new jar, '/home/shade/tests/dacapo-2006-10-MR2.jar'
===== DaCapo jython starting warmup =====
Traceback (innermost last):
File "./scratch/jython/pybench/pybench.py", line 38, in ?
File "/home/shade/tests/./scratch/jython/pybench/CommandLine.py", line 130, in ?
AttributeError: class 'org.python.modules.os' has no attribute 'path'

On the same config, but with RVM-617:

sys-package-mgr: processing new jar, '/home/shade/tests/dacapo-2006-10-MR2.jar'
sys-package-mgr: processing new jar, '/home/shade/trunks/jikesrvm/dist/prototype_ia32-linux/jksvm.jar'
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at .<invisible method>(Unknown Source)
at java.lang.Throwable.fillInStackTrace(Throwable.java:131)
at java.lang.Throwable.<init>(Throwable.java:77)
at java.lang.Throwable.<init>(Throwable.java:99)
at java.lang.Exception.<init>(Exception.java:61)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:49)
at java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.java:438)
at java.lang.reflect.Constructor.newInstance(Constructor.java:287)
at dacapo.TestHarness.runBenchmark(TestHarness.java:270)
at dacapo.TestHarness.main(TestHarness.java:242)
at Harness.main(Harness.java:5)
Caused by: java.lang.ArrayIndexOutOfBoundsException
at .<invisible method>(Unknown Source)
at java.lang.Throwable.fillInStackTrace(Throwable.java:131)
at java.lang.Throwable.<init>(Throwable.java:77)
at java.lang.Exception.<init>(Exception.java:37)
at java.lang.RuntimeException.<init>(RuntimeException.java:33)
at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:34)
at java.lang.ArrayIndexOutOfBoundsException.<init>(ArrayIndexOutOfBoundsException.java:34)
at org.jikesrvm.classloader.RVMArray.failWithIndexOutOfBoundsException(RVMArray.java:1087)
at org.jikesrvm.classloader.RVMArray.arraycopy(RVMArray.java:608)
at java.lang.VMCommonLibrarySupport.arraycopy(VMCommonLibrarySupport.java:113)
at java.lang.System.arraycopy(System.java:146)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:283)
at java.util.zip.ZipInputStream.skip(ZipInputStream.java:324)
at java.io.DataInputStream.skipBytes(DataInputStream.java:459)
at org.python.core.PackageManager.checkAccess(Unknown Source)
at org.python.core.CachedJarsPackageManager.addZipEntry(Unknown Source)
at org.python.core.CachedJarsPackageManager.getZipPackages(Unknown Source)
at org.python.core.CachedJarsPackageManager.addJarToPackages(Unknown Source)
at org.python.core.CachedJarsPackageManager.addJarToPackages(Unknown Source)
at org.python.core.PathPackageManager.addClassPath(Unknown Source)
at org.python.core.SysPackageManager.findAllPackages(Unknown Source)
at org.python.core.SysPackageManager.<init>(Unknown Source)
at org.python.core.PySystemState.initPackages(Unknown Source)
at org.python.core.PySystemState.initialize(Unknown Source)
at org.python.core.PySystemState.initialize(Unknown Source)
at org.python.util.jython.main(Unknown Source)
at dacapo.jython.JythonHarness.prepare(JythonHarness.java:22)
at dacapo.Benchmark.<init>(Benchmark.java:162)
at dacapo.jython.JythonHarness.<init>(JythonHarness.java:15)
at org.jikesrvm.classloader.ReflectionBase$$Reflect24519.invoke(Unknown Source)
at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:76)
at java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.java:436)
... 4 more


David Grove added a comment - 06/Oct/08 01:47 PM
Initial triage for 3.0.1 release; suggesting postponing to 3.0.2; move back to 3.0.1 if you disagree.