Bug #78927 [NEW]: Crash in pcre2_code_free_8, zend_hash_destroy

From: Date: Sun, 08 Dec 2019 13:49:44 +0000
Subject: Bug #78927 [NEW]: Crash in pcre2_code_free_8, zend_hash_destroy
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224128@lists.php.net to get a copy of this message
From:             xnoreq at gmail dot com
Operating system: Linux 5.3.11
PHP version:      7.4.0
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Crash in pcre2_code_free_8, zend_hash_destroy

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)



-- 
Edit bug report at https://bugs.php.net/bug.php?id=78927&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78927&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=78927&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=78927&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=78927&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=78927&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=78927&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=78927&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=78927&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=78927&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=78927&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78927&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78927&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78927&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78927&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78927&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78927&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=78927&r=mysqlcfg


Thread (11 messages)

« previous php.bugs (#224128) next »