lambda and debug info failure at typeArrayOop.hpp
Keith McGuigan
keith.mcguigan at oracle.com
Tue May 8 13:52:09 PDT 2012
Hi Henri -
Sorry for the delay. Can you try applying this patch and see if it fixes it? If it works for you I'll get it into the repo ASAP.
diff --git a/src/share/vm/classfile/genericSignatures.cpp b/src/share/vm/classfile/genericSignatures.cpp
--- a/src/share/vm/classfile/genericSignatures.cpp
+++ b/src/share/vm/classfile/genericSignatures.cpp
@@ -431,7 +431,7 @@
int i_length = i_icls->length();
// Find inner_klass attribute
- for (int i = 0; i < i_length; i += next_offset) {
+ for (int i = 0; i + name_offset < i_length; i += next_offset) {
int ioff = i_icls->ushort_at(i + inner_index);
int ooff = i_icls->ushort_at(i + outer_index);
int noff = i_icls->ushort_at(i + name_offset);
On May 2, 2012, at 9:27 AM, Henri Gomez wrote:
> /usr/bin/sed -e "s/@@ID@@//g" -e "s/@@NAME@@/OpenJDK 8/g" -e
> "s/@@INFO@@/OpenJDK (1.8.0)/g" -e "s/@@PLATFORM_VERSION@@/1.8/g" -e
> "s/@@VERSION@@/1.8.0/g" -e "s/@@VENDOR@@/openjdk-osx-build project/g"
> < /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/jdk/src/macosx/bundle/JDK-Info.plist
>> /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/build/macosx-amd64/../macosx-amd64-fastdebug/j2sdk-bundle/1.8.0.jdk/Contents/Info.plist
> I tried to build and package latest lambda with debug info activated
> (fastdebug) but it failed at test time with assert
> typeArrayOop.hpp:105
>
> /usr/bin/SetFile -a B
> /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/build/macosx-amd64/../macosx-amd64-fastdebug/j2sdk-bundle/1.8.0.jdk/Contents/../
>>>> Finished making images @ Wed May 2 15:02:32 CEST 2012 ...
> ########################################################################
> ##### Leaving jdk for target(s) sanity all images #####
> ########################################################################
> ##### Build time 00:20:06 jdk for target(s) sanity all images #####
> ########################################################################
>
> -- Build times ----------
> Target fastdebug_build
> Start 2012-05-02 14:31:26
> End 2012-05-02 15:02:32
> 00:03:00 corba
> 00:05:23 hotspot
> 00:00:38 jaxp
> 00:00:50 jaxws
> 00:20:06 jdk
> 00:01:08 langtools
> 00:31:06 TOTAL
> -------------------------
> testing build: /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/build/macosx-amd64-fastdebug/j2sdk-bundle/1.8.0.jdk/Contents/Home/bin/java
> -version
> # To suppress the following error report, specify this argument
> # after -XX: or in .hotspotrc: SuppressErrorAt=/typeArrayOop.hpp:105
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error
> (/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/hotspot/src/share/vm/oops/typeArrayOop.hpp:105),
> pid=93887, tid=7171
> # assert(is_within_bounds(which)) failed: index out of bounds
> #
> # JRE version: 8.0
> # Java VM: OpenJDK 64-Bit Server VM (24.0-b07-fastdebug mixed mode
> bsd-amd64 compressed oops)
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/hs_err_pid93887.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.sun.com/bugreport/crash.jsp
>
> ---
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error
> (/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk8-lambda/workspace/hotspot/src/share/vm/oops/typeArrayOop.hpp:105),
> pid=93887, tid=7171
> # assert(is_within_bounds(which)) failed: index out of bounds
> #
> # JRE version: 8.0
> # Java VM: OpenJDK 64-Bit Server VM (24.0-b07-fastdebug mixed mode
> bsd-amd64 compressed oops)
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.sun.com/bugreport/crash.jsp
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x00007fd613000800): JavaThread "Unknown thread"
> [_thread_in_vm, id=7171, stack(0x0000000110859000,0x0000000110959000)]
>
> Stack: [0x0000000110859000,0x0000000110959000],
> sp=0x0000000110951700, free space=993k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> V [libjvm.dylib+0x6fd9f4]
> V [libjvm.dylib+0x2a071b]
> V [libjvm.dylib+0x2f340e]
> V [libjvm.dylib+0x356bfa]
> V [libjvm.dylib+0x356cd8]
> V [libjvm.dylib+0x356fe1]
> V [libjvm.dylib+0x2a991a]
> V [libjvm.dylib+0x2a862f]
> V [libjvm.dylib+0x21c7e9]
> V [libjvm.dylib+0x21f220]
> V [libjvm.dylib+0x68d231]
> V [libjvm.dylib+0x68cba3]
> V [libjvm.dylib+0x68d727]
> V [libjvm.dylib+0x68daeb]
> V [libjvm.dylib+0x68dbcd]
> V [libjvm.dylib+0x68dcb0]
> V [libjvm.dylib+0x68dd6c]
> V [libjvm.dylib+0x6d26f0]
> V [libjvm.dylib+0x6d314b]
> V [libjvm.dylib+0x385e90]
> V [libjvm.dylib+0x6bd3b4]
> V [libjvm.dylib+0x410482]
> C [java+0x2a35] JavaMain+0x134
> C [libsystem_c.dylib+0x4e8bf] _pthread_start+0x14f
> C [libsystem_c.dylib+0x51b75] thread_start+0xd
>
> Nobody else encounter this assert failure ?
>
More information about the lambda-dev
mailing list