[Bug 287302] www/mod_perl2: panic: MUTEX_LOCK (22) [Magic.xs:525] during global destruction.
Date: Sun, 10 May 2026 14:37:57 UTC
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.