Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2024 03:18:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64
Message-ID:  <bug-281382-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281382

            Bug ID: 281382
           Summary: java/openjdk21 segfaults with www/tomcat101 on aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jonc@chen.org.nz
                CC: java@FreeBSD.org, vvd@FreeBSD.org
                CC: java@FreeBSD.org, vvd@FreeBSD.org
 Attachment #253446 text/plain
         mime type:

Created attachment 253446
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253446&action=
=3Dedit
hs_err.log

I'm trying to get www/tomcat101 working on FreeBSD-14/arm64.aarch64.

1.flubber:/etc,3:07pm# uname -a
FreeBSD flubber 14.1-STABLE FreeBSD 14.1-STABLE #0
stable/14-n268670-82fd9219755d: Fri Sep  6 09:45:00 NZST 2024=20=20=20=20
root@flubber:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
1.flubber:/etc,3:07pm# java -version
OpenJDK 64-Bit Server VM warning: UseCryptoPmullForCRC32 specified, but not
supported on this CPU
openjdk version "21.0.4" 2024-07-16
OpenJDK Runtime Environment (build 21.0.4+7-1)
OpenJDK 64-Bit Server VM (build 21.0.4+7-1, mixed mode, sharing)

Unfortunately, I get a pretty consistent internal error. The top few lines =
of
look like:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=3D0x000000009e5ef5bc, pid=3D52224, tid=3D100145
#
# JRE version: OpenJDK Runtime Environment (21.0.4+7) (build 21.0.4+7-1)
# Java VM: OpenJDK 64-Bit Server VM (21.0.4+7-1, mixed mode, sharing, tiere=
d,
compressed oops, g1 gc, bsd-aarch64)
# Problematic frame:
# J 1025 c2
java.lang.StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
java.base@21.0.4 (8 bytes) @ 0x000000009e5ef5bc
[0x000000009e5ef580+0x000000000000
003c]

tomcat10.1 will dump 9 of these log files on starup. I've attached one to t=
his
PR.

Note that tomcat10.1 works fine on amd64. This error is architecture specif=
ic
to aarch64.

--=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-281382-7788>