Solved FreeBSD 15 and PHP 8.3 CLI generates "exited on signal 11 (core dumped)"

How's that possible diizzy ? I have: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) in 15.0-RELEASE-p5 😊🙃
 
Looks like there's a proposed patch for PHP already (from reading your PR), and it was the XLST code:

Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN.

The call to xsltCleanupGlobals() during module shutdown can cause
a segfault in xmlHashFree() when freeing libxslt internal hash
tables. This is the same class of shutdown cleanup issue that led
to xmlCleanupParser() being removed from ext/libxml. The process
is about to exit and the OS will reclaim all memory, making the
explicit cleanup both unnecessary and harmful.
 
I was interested in seeing how this played out (from bug report to release) - the patch just missed PHP 8.4.20, but looks like it is landing in 8.4.21:
I downloaded the RC1 files and in the NEWS file:
Code:
- XSL:
  . Fixed bug GH-21600 (Segfault on module shutdown). (David Carlier)
8.4.21 is due 7th May, but usually takes a little time to reach FreeBSD ports/packages.
 
Back
Top