Date: Thu, 27 Feb 2025 17:00:08 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64 Message-ID: <bug-281382-8522-vNluEUfYvd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281382-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-281382-8522@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281382 --- Comment #14 from Michael Osipov <michaelo@FreeBSD.org> --- Have you tried to run jsvc with Tomcat interactively without detaching from the terminal, hence avoiding fork()? As far as I can see it chokes right here: https://github.com/apache/commons-daemon/blob/c35de58523fc870ba27bcc22b6bebd44c22261c8/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java#L210 My gut feeling is that the regular Java launcher sets something which jvsc is not setting for reflection. You might want to try older Java versions which are less strict. Also worth trying is to enable Tomcat trace logging. I bet if you create a sample Commons Daemon based application without Tomcat it will crash as well. Maybe https://github.com/apache/tomcat/blob/114191befd63566d466854488a6a1d75ed593e0a/bin/catalina.sh#L289-L295? Sample apps: * https://github.com/naftulikay/commons-daemon-example * https://github.com/apache/commons-daemon/blob/master/src/samples/SimpleDaemon.java -- You are receiving this mail because: You are on the CC list for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281382-8522-vNluEUfYvd>
