-
Bug
-
Resolution: Fixed
-
P2
-
10
-
b36
-
x86_64
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8351343 | openjdk8u462 | Zdenek Zambersky | P2 | Resolved | Fixed | master |
If I do a jdk10 release build with clang-4.0, I see a crash in Unsafe_PutByte
# SIGSEGV (0xb) at pc=0x00002afabac59096, pid=31795, tid=31796
#
# JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.martin.jdk10-hs-clang-4.0)
# Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.martin.jdk10-hs-clang-4.0, mixed mode, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xb29096] Unsafe_PutByte(JNIEnv_*, _jobject*, _jobject*, long, signed char)+0x116
Recipe:
bash ./configure --with-toolchain-type=clang --disable-warnings-as-errors --with-toolchain-path=/usr/lib/llvm-4.0/bin --with-extra-ldflags=-z execstack --disable-precompiled-headers --with-cacerts-file=/etc/ssl/certs/java/cacerts --enable-unlimited-crypto --with-native-debug-symbols=none --with-default-make-target=jdk-image test-image --with-boot-jdk=/home/martin/jdk/jdk9
# SIGSEGV (0xb) at pc=0x00002afabac59096, pid=31795, tid=31796
#
# JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.martin.jdk10-hs-clang-4.0)
# Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.martin.jdk10-hs-clang-4.0, mixed mode, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xb29096] Unsafe_PutByte(JNIEnv_*, _jobject*, _jobject*, long, signed char)+0x116
Recipe:
bash ./configure --with-toolchain-type=clang --disable-warnings-as-errors --with-toolchain-path=/usr/lib/llvm-4.0/bin --with-extra-ldflags=-z execstack --disable-precompiled-headers --with-cacerts-file=/etc/ssl/certs/java/cacerts --enable-unlimited-crypto --with-native-debug-symbols=none --with-default-make-target=jdk-image test-image --with-boot-jdk=/home/martin/jdk/jdk9
- backported by
-
JDK-8351343 clang-4.0 SIGSEGV in Unsafe_PutByte
-
- Resolved
-
- relates to
-
JDK-8174050 Compilation errors with clang-4.0
-
- Resolved
-
-
JDK-8186780 clang fastdebug assertion failure in os_linux_x86:os::verify_stack_alignment()
-
- Resolved
-
-
JDK-8189871 Refactor GC barriers to use declarative semantics
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk8u-dev/79124139
-
Review(master) openjdk/jdk8u-dev/553
(1 links to)