Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2026 14:37:57 +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-WMuLYfk7qJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-287302-16115@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287302

--- Comment #7 from eserte12@yahoo.de ---
It's not only a problem with mod_perl2. It can happen also when using normal
perl. An example while running the test suite of
DROLSKY/Log-Dispatch-2.71.tar.gz on a freebsd16 system:

    ...
    panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction.
    t/syslog-lock-without-preloaded-threads.t .. 
    Dubious, test returned 22 (wstat 5632, 0x1600)
    All 1 subtests passed 
    panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction.
    t/syslog-threads.t ......................... 
    Dubious, test returned 22 (wstat 5632, 0x1600)
    All 1 subtests passed 
    t/syslog.t ................................. ok
    ...

However it seems that setting the environment variable
B_HOOKS_ENDOFSCOPE_IMPLEMENTATION=PP helps here, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287302-16115-WMuLYfk7qJ>