Date: Sat, 15 May 2021 13:36:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255900] java/openjdk11 java/openjdk11-jre: Fix possible segfaults with clang 12 Message-ID: <bug-255900-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255900 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@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Created attachment 224966 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224966&action= =3Dedit 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=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_= 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/c484d8904285652246c3af212a4211b9a8955= 149 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255900-7788>