[Bug 264065] java/openjdk8: java(1) dumps core on aarch64 during start of Ant on package builder node

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 May 2022 11:11:45 UTC

            Bug ID: 264065
           Summary: java/openjdk8: java(1) dumps core on aarch64 during
                    start of Ant on package builder node
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: michael.osipov@siemens.com
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

I am the maintainer of sysutils/javaservicewrapper and have received the
following mail recently:
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix

Maintainer:     michael.osipov@siemens.com
Log URL:       
Build URL:     

=>> Building sysutils/javaservicewrapper
build started at Tue May 17 00:39:02 UTC 2022
port directory: /usr/ports/sysutils/javaservicewrapper
package name: javaservicewrapper-3.5.49
building for: FreeBSD main-arm64-default-job-03 14.0-CURRENT FreeBSD
14.0-CURRENT 1400059 arm64
maintained by: michael.osipov@siemens.com
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400059
Job Id: 03
=======================<phase: build          >============================
===>  Building for javaservicewrapper-3.5.49
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (assembler_aarch64.hpp:237), pid=6574, tid=0x000000000004c9e0
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
# JRE version:  (8.0_332-b09) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.332-b09 mixed mode bsd-aarch64
compressed oops)
# Core dump written. Default location:
# An error report file with more information is saved as:
# If you would like to submit a bug report, please visit:
*** Signal 6

make: stopped in /usr/ports/sysutils/javaservicewrapper

I assume that basically at the start of Ant the JVM crashes. The error seems
already to be known and fixed:
* https://bugs.openjdk.java.net/browse/JDK-8247766
* https://bugs.openjdk.java.net/browse/JDK-8266885

Though, the port maintainer needs to take a look whether the patch is in the
BSD port and why it still crashes.

I don't have access to any ARM hardware. I cannot assist here.

You are receiving this mail because:
You are the assignee for the bug.