Status fields:
| creation_ts: | 2013-02-05 14:12 |
|---|---|
| component: | jit |
| version: | default branch |
| rep_platform: | x86_64 |
| op_sys: | Linux |
| bug_status: | RESOLVED |
| resolution: | INVALID |
| reporter: | fabian.gruber@fadeopolis.com |
The IcedTea6 test testgetallmembers fails at commit 1f132befe386.
Configured with:
$SRC_DIR/configure \
--host= \
--build= \
--target= \
--with-jni_h=$LIB_DIR/openjdk.build/j2sdk-image/include \
--with-jni_md_h=$LIB_DIR/openjdk.build/j2sdk-image/include/linux \
--with-jvm_h=$LIB_DIR/openjdk/jdk/src/share/javavm/export \
--with-jvm_md_h=$LIB_DIR/openjdk/jdk/src/solaris/javavm/export \
--with-hpi_h=$LIB_DIR/openjdk/jdk/src/share/hpi/export \
--with-hpi_md_h=$LIB_DIR/openjdk/jdk/src/solaris/hpi/export \
--with-jmm_h=$LIB_DIR/openjdk/jdk/src/share/javavm/export \
--with-jvmti_h=$SRC_DIR/src/native/jvmti \
--with-java-runtime-library=openjdk \
--with-java-runtime-library-prefix=$DST_DIR/openjdk \
--with-java-runtime-library-classes=$DST_DIR/openjdk/j2sdk-image/jre/lib/rt.jar \
--enable-jre-layout \
--enable-inlining \
--enable-inlining-debug \
--enable-verifier \
--enable-replacement \
--enable-ssa \
--enable-ifconv \
--enable-memcheck \
--enable-zlib \
--enable-soft-float-cmp \
JTReg Test report:
#Test Results (version 2)
#Tue Feb 05 13:52:55 CET 2013
#checksum:771b240cfe5f55c5
#-----testdescription-----
$file=/home/fader/Desktop/cacao/.class_libs/icedtea6/openjdk/langtools/test/tools/javac/
processing/model/testgetallmembers/Main.java
$root=/home/fader/Desktop/cacao/.class_libs/icedtea6/openjdk/langtools/test
author=Peter von der Ah\\u00e9
keywords=bug6374357 bug6308351 bug6707027 othervm
run=USER_SPECIFIED main/othervm -Xmx256m Main\n
source=Main.java
title=PackageElement.getEnclosedElements() throws ClassReader$BadClassFileException
#-----environment-----
#-----testresult-----
description=file:/home/fader/Desktop/cacao/.class_libs/icedtea6/openjdk/langtools/test/t
ools/javac/processing/model/testgetallmembers/Main.java
end=Tue Feb 05 13:52:55 CET 2013
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.OutOfMemoryError
javatestOS=Linux 3.5.0-23-generic (amd64)
javatestVersion=unset
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build main
start=Tue Feb 05 13:52:50 CET 2013
test=tools/javac/processing/model/testgetallmembers/Main.java
work=/home/fader/Desktop/cacao/.class_libs/icedtea6/test/langtools/JTwork/tools/javac/pr
ocessing/model/testgetallmembers
#section:script_messages
----------messages:(4/247)----------
JDK under test: (/home/fader/Desktop/cacao/.class_libs/icedtea6/openjdk.build/j2sdk-
image)
java version "1.6.0_27"
IcedTea Runtime Environment (1.12pre+rde38248f4db4) (Ubuntu build 1.6.0_27-b27)
CACAO (build 1.6.1pre+r1f132befe386, compiled mode)
#section:build
----------messages:(3/87)----------
command: build Main
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date
#section:main
----------messages:(3/121)----------
command: main -Xmx256mMain
reason: User specified action: run main/othervm -Xmx256m Main
elapsed time (seconds): 4.558
----------System.out:(0/0)----------
----------System.err:(25/1613)----------
java.lang.OutOfMemoryError
at
com.sun.tools.javac.file.RelativePath$RelativeFile.<init>(RelativePath.java:166)
at com.sun.tools.javac.file.ZipFileIndex$Entry.getName(ZipFileIndex.java:1269)
at com.sun.tools.javac.file.ZipFileIndexArchive$ZipFileIndexFileObject.inferBina
ryName(ZipFileIndexArchive.java:205)
at
com.sun.tools.javac.file.JavacFileManager.inferBinaryName(JavacFileManager.java:633)
at com.sun.tools.javac.jvm.ClassReader.includeClassFile(ClassReader.java:2117)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2270)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2188)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1892)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:400)
at com.sun.tools.javac.model.JavacElements.nameToSymbol(JavacElements.java:173)
at
com.sun.tools.javac.model.JavacElements.getPackageElement(JavacElements.java:146)
at
com.sun.tools.javac.model.JavacElements.getPackageElement(JavacElements.java:62)
at Main.main(Main.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:679)
JavaTest Message: Test threw exception: java.lang.OutOfMemoryError
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError
result: Failed. Execution failed: `main' threw exception: java.lang.OutOfMemoryError
test result: Failed. Execution failed: `main' threw exception:
java.lang.OutOfMemoryError
I can not reproduce this issue. Did it work before 1f132befe386 on your test system? Could you provide more details?
(In reply to comment #1) > I can not reproduce this issue. Did it work before 1f132befe386 on your test > system? Could you provide more details? > I tried to find a revision where the error doesn't happen, two days ago, I managed to find one, but I forgot which one it was and now I can't find it anymore :-(. After putting this aside and hacking some more on porting legacy C code to C++, the error suddenly dissappeared on my branch.