[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255900
Bug ID: 255900
Summary: java/openjdk11 java/openjdk11-jre: Fix possible
segfaults with clang 12
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: java at FreeBSD.org
Reporter: dim at FreeBSD.org
Assignee: java at FreeBSD.org
Flags: maintainer-feedback?(java at FreeBSD.org)
Created attachment 224966
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224966&action=edit
Fix java/openjdk11 (and openjdk11-jre) builds with clang 12
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_16h02m24s/logs/openjdk11-11.0.10+9.1_1.log
[2]
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/openjdk11-jre-11.0.10+9.1_1.log
[3]
https://github.com/openjdk/jdk/commit/c484d8904285652246c3af212a4211b9a8955149
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list