Date: Fri, 06 Jun 2025 08:16:35 +0000 From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 287302] www/mod_perl2: panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction. Message-ID: <bug-287302-16115-nNrBhCBOvU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-287302-16115@https.bugs.freebsd.org/bugzilla/> References: <bug-287302-16115@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287302 Dirk Meyer <dinoex@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People --- Comment #3 from Dirk Meyer <dinoex@FreeBSD.org> --- I can reproduce it with the official package set: Empty Jail: # pkg install ap24-mod_perl2 # pkg install otrs # cat > /usr/local/etc/apache24/Includes/perl.conf << 'EOD' LoadModule perl_module libexec/apache24/mod_perl.so PerlRequire /usr/local/otrs/scripts/apache2-perl-startup.pl EOD # service apache24 onestart # tail /var/log/httpd-error.log panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction. PerlRequire was needed to trigger the bug. I disabled modules to track down the problem Finally disabling only one module "DateTime" fixed the startup of apache: The application was not tested. --- /usr/local/otrs/scripts/apache2-perl-startup.pl.orig +++ /usr/local/otrs/scripts/apache2-perl-startup.pl @@ -67,7 +67,7 @@ eval { require Net::DNS }; # Preload DateTime, an expensive external dependency. +# use DateTime (); -use DateTime (); # Preload dependencies that are always used. use Template (); # service apache24 onestart # tail /var/log/httpd-error.log [Fri Jun 06 10:08:24.610090 2025] [mpm_prefork:notice] [pid 18684] AH00163: Apache/2.4.63 (FreeBSD) mod_perl/2.0.13 Perl/v5.40.2 configured -- resuming normal operations [Fri Jun 06 10:08:24.610319 2025] [core:notice] [pid 18684] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' -- 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-287302-16115-nNrBhCBOvU>
