From nobody Fri Jun 6 08:16:35 2025 X-Original-To: apache@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 4bDDg80HQ6z5y0BV for ; Fri, 06 Jun 2025 08:16:36 +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 4bDDg76Pd9z3XBR for ; Fri, 06 Jun 2025 08:16:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749197795; 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: in-reply-to:in-reply-to:references:references; bh=AXg8KKJhjvapLxjScK5sPSuMt0JX3Qr8XdT+1/afPZU=; b=I5Hnqq5kdM9FvItUdTnqGHmcSOL6mrsMIwBB/ZUYZaP08ZMXyXc+6oZqEm9uooGlgIuo3h pNO1oRIMCLUdpMaC5Q+Zfb2NAlg4H/cmXdOi7qTJm23h/yOT138DHmts78+P2lB0RBiR6M Ayqeev6aIYC2nfmQgxhNPxN37JIqUcpjYVZQBTb/QyPWd8ktrTdogmdU9hLLGdJlUHFza5 zDsKVo5jgUP7ZjOAoPbLbmROdO0LsmkXU1BMSFGYqSLMBO+ImaC9PNC39zGcBDzXiveIBg yCMR7VW6PxSVN/xlrwJp9BKsJqG7BzHi/bzG8RwJwOKqQ8QfUXwf+g7+g2auUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749197795; 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: in-reply-to:in-reply-to:references:references; bh=AXg8KKJhjvapLxjScK5sPSuMt0JX3Qr8XdT+1/afPZU=; b=ZwQaIatO72B08k42JG1MFOGQDqZidbfg6cWH91fG9L4IzGxeSOtDYxJLLjF+/KnnTVuF86 6CRr8/x3zMzNK+I0qGiWrsV6VSS8pXTyKxJoIpPaOzkIu2ypGZHdiLgee+M6iNgOWEWVd5 rbSIWXaLBsPZhLcvD6+4RLY/AkYLw0t3F80QAGQfRtZm6mzk6YVorxMHKqimvljCLCZKSs g7+6m8/7WclVSD4YlVLVAvmahWaf49RSW+4vrBbaC2KErkf07c1CX7w7kmDL+YUtBKZiZ+ teiOuBI4cf17bYAapJGnrKR8UEFELbhbDqw4SAUJdnqe8/jyBZVgIt9F9zPWEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749197795; a=rsa-sha256; cv=none; b=tPgZlSsg/foVHAge7zVlAUfch7ZKoIUgsbtWyXrRZwFcmIILrdTnyUrFQJ5MDStg9dVZ2P 5RRY8Zxha0CmgsSJNg7Or3SktRQ+Es7w3aGnQMIFTRyn+pYK0ejIuyiIxAoZ1NIAG3onfN LY4zLrNIL2SGApTfhZNxHkI9QK+2kLGWkGEdA24ua7KhCIArYvLa3nagASt4WOprUdqDx1 O1qLKiy+UekwtiyraJOBX/nC6k8r7z6Z52UqKeecyc/cV1GUCcQuriJxTdK+gXZq6nxCj8 O+3DGfWDck4JBNEz4ddTW2fG1Z4iid484FdYyFkxJqPYWNbgid57bNUv7D56Wg== 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 4bDDg75KxsznBw for ; Fri, 06 Jun 2025 08:16:35 +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 5568GZ2v004931 for ; Fri, 6 Jun 2025 08:16:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5568GZwZ004930 for apache@FreeBSD.org; Fri, 6 Jun 2025 08:16:35 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: apache@FreeBSD.org Subject: [Bug 287302] www/mod_perl2: panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction. Date: Fri, 06 Jun 2025 08:16:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dinoex@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287302 Dirk Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People --- Comment #3 from Dirk Meyer --- 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' --=20 You are receiving this mail because: You are the assignee for the bug.=