Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2021 13:36:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 255900] java/openjdk11 java/openjdk11-jre: Fix possible segfaults with clang 12
Message-ID:  <bug-255900-8522-3KoijIzzoA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255900-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255900-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody)
<java@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=3D255900



--- 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=3D0x00000008024be650, pid=3D58260, tid=3D148291
#
# 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@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/c484d8904285652246c3af212a4211b9a8955=
149



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255900-8522-3KoijIzzoA>