From nobody Mon Sep 09 03:18:09 2024 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X2BqQ3tRQz5TrHw for ; Mon, 09 Sep 2024 03:18:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2BqQ1ZYDz3x65 for ; Mon, 9 Sep 2024 03:18:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725851890; a=rsa-sha256; cv=none; b=ncLF1hrofk1Yt3NhEfuhDE3aem8gvQCOHY3C6VuFrub6wvd5sR9D64ZwNWwjeK0e1MljdC 3GB4ijIdRi25kvJ9IwyHpCtEcPzjKzSlVGmrqd8G3BrEWcp/meXSdrzU8jvwXL7ZZBqUMm Io8ai/8VxN9TgRSKoOnqeOgfjHJrTge79+f3mSLzDO80/Tz3iZQ+Psp9n38qLGD8fxqSWz kH2FhZ56ZaptHDQJiW4aykf0YRpp5236p7l3cC99bXrXzGckxhiTXFHAkMTB30Dviho27w umCBErY2lGTbBV6imB1KbD4a1hOOu8JUT/uHCgEZ/cZXl/Z3jKj79EU6aII5Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725851890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=O05inkUm2IvyaKCXl7t/H2EGBfiQsYpVd7zZmEeQrZI=; b=rigPt0P0FltYlg8QR/cXnQ3Uy1eL+bReAPIf0t7GmRzVPWKXQAgynbpffhTHObL0lYdBmt rAstgQ0S8zpSVpfjPEPjS/vVLIA6g0ghaSZ2hLXvaURGtRzM9sjgG2IStEmjHxiRUYo2Gj cpSUglYo+W9YidYdkqMGDu5hUhZ8LU6rWdo/VbIaifib4R6FGbO8s9YL9VRwJlq4mplWIb nv7A3qhjcHA67+CG2FXWRVWWfdNxvIwB3crlFpSY+x7XvNWf1sR866PeTSVxeODyLw2Gmo BMDQzINCSvPb+j3Dr4RaPg4ytrVceKGo01DNPgm5FKjSdREl1OKc0zHqHauB3w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X2BqQ0TGYzmvS for ; Mon, 9 Sep 2024 03:18:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4893I9MZ088447 for ; Mon, 9 Sep 2024 03:18:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4893I9td088445 for java@FreeBSD.org; Mon, 9 Sep 2024 03:18:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64 Date: Mon, 09 Sep 2024 03:18:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jonc@chen.org.nz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 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 on the CC list for the bug.=