[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Sep 2024 03:18:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281382
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=253446&action=edit
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
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=0x000000009e5ef5bc, pid=52224, tid=100145
#
# 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, tiered,
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 this
PR.
Note that tomcat10.1 works fine on amd64. This error is architecture specific
to aarch64.
--
You are receiving this mail because:
You are on the CC list for the bug.