|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-12-08 13:49 UTC] xnoreq at gmail dot com
Description:
------------
Since upgrade to 7.4 I keep getting crashes e.g. with tiny tiny rss.
I have pcre.jit=1 and opcache.enable=1 in php.ini and use php-fpm.
systemd-coredump[736717]: Process 736708 (php) of user 1001 dumped core.
Stack trace of thread 736708:
#0 0x00007fa2cfd92b5b n/a (libpcre2-8.so.0 + 0x1db5b)
#1 0x00007fa2cfdbfba3 n/a (libpcre2-8.so.0 + 0x4aba3)
#2 0x00007fa2cfd80c6b pcre2_code_free_8 (libpcre2-8.so.0 + 0xbc6b)
#3 0x000055ba3fdfc233 n/a (php + 0x27e233)
#4 0x000055ba4001110d zend_hash_destroy (php + 0x49310d)
#5 0x000055ba3fdfc111 n/a (php + 0x27e111)
#6 0x000055ba400065d4 zend_deactivate_modules (php + 0x4885d4)
#7 0x000055ba3ffa02b6 php_request_shutdown (php + 0x4222b6)
#8 0x000055ba40088d13 n/a (php + 0x50ad13)
#9 0x000055ba3fdb92f7 n/a (php + 0x23b2f7)
#10 0x00007fa2cfb2b153 __libc_start_main (libc.so.6 + 0x27153)
#11 0x000055ba3fdb9a1e _start (php + 0x23ba1e)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
Here's a simple test-case to reproduce the issue: $ php -f test.php test.php: <?php function regex() { preg_match('/(foo)(bar)(baz)/', 'foobarbaz', $matches, PREG_OFFSET_CAPTURE); } regex(); $pid = pcntl_fork(); if ($pid == -1) { die('error.'); } else if ($pid) { echo 'parent... '; pcntl_wait($pid); echo 'wait done'; } else { echo 'child.'; } ?>