maintainer-feedback requested: [Bug 255900] java/openjdk11 java/openjdk11-jre: Fix possible segfaults with clang 12
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 15 13:36:36 UTC 2021
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-java (Nobody)
<java at FreeBSD.org> for maintainer-feedback:
Bug 255900: java/openjdk11 java/openjdk11-jre: Fix possible segfaults with
clang 12
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255900
--- Description ---
During an exp-run for llvm 12 (see bug 255570), it turned out that
java/openjdk11 and java/openjdk11-jre do not build with clang 12.0.0 [1]:
Creating interim jimage
Compiling 2 files for BUILD_DEMO_Notepad
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000008024be650, pid=58260, tid=148291
#
# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-1, mixed mode, tiered,
compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# V [libjvm.so+0x6be650] Arena::destruct_contents()+0x80
This is due to a missing backport of this commit [3]:
commit c484d8904285652246c3af212a4211b9a8955149
Author: Thomas Stuefe <stuefe at openjdk.org>
Date: Tue Mar 16 05:49:01 2021 +0000
8263557: Possible NULL dereference in Arena::destruct_contents()
Reviewed-by: kbarrett, coleenp
I have attached a patch that adds this commit as an additional patch.
[1]
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h0
2m24s/logs/openjdk11-11.0.10+9.1_1.log
[2]
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h0
2m24s/logs/openjdk11-jre-11.0.10+9.1_1.log
[3]
https://github.com/openjdk/jdk/commit/c484d8904285652246c3af212a4211b9a8955149
More information about the freebsd-java
mailing list