[Bug 281382] java/openjdk21 segfaults with www/tomcat101 on aarch64
- In reply to: 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: Thu, 27 Feb 2025 17:00:08 UTC
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 the assignee for the bug.