Skip to content

Find themes/plugins results in a segmentation fault. #5184

Closed Answered by Deltik
buckybytes asked this question in Q&A Core
Discussion options

You must be logged in to vote

e107 was previously affected by a segmentation fault bug in PHP 8.2.0 (php/php-src#10200), but we applied a workaround in 6b75f34 that is in e107 v2.3.3.

PHP 8.2.0 is not an official version included with Debian 11 (Debian 11 had PHP 7.4.21 while Debian 12 had PHP 8.2.5). Can you upgrade it to PHP 8.2.15 and see if the segmentation fault still happens?

If not, can you compile PHP with the --enable-debug option to see if you get any assertion failures?

You can also hook up Xdebug and step through every line of code until you encounter the one that crashes PHP.

Yet another way is to obtain a core dump from the segmentation fault and generate a backtrace from that core dump.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@buckybytes
Comment options

Answer selected by Deltik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants