Bug #78630 [NEW]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
From: ilya at ilya dot pp dot ua
Operating system: openSuse Tumbleweed
PHP version: 7.3.10
Package: PCRE related
Bug Type: Bug
Bug description:PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
Description:
------------
https://bugzilla.suse.com/show_bug.cgi?id=1124446
In PHP 7.3 using pcre2 and using by default JIT compilation
(pcre.jit=1)
This leads to errors on phpMyAdmin login page like:
Warning in ./libraries/classes/Config.php#201 preg_match(): JIT
compilation failed: no more memory
mod_fcgid: stderr: PHP Warning: preg_replace_callback(): JIT
compilation failed: no more memory
And for everything that uses preg_*() functions.
php: 7.3.10
pcre2: 10.33
Server: Apache (mpm_event) + mod_fcgid + php-fastcgi
If necessary, I will attach more information.
Test script:
---------------
phpMyAdmin latest version (4.9.1) login page and show this page and
apache error_log
Server: Apache (mpm_event) + mod_fcgid + php-fastcgi
Expected result:
----------------
No errors.
Actual result:
--------------
Error on phpMyAdmin login page
Warning in ./libraries/classes/Config.php#201 preg_match(): JIT
compilation failed: no more memory
And in apache error_log
mod_fcgid: stderr: PHP Warning: preg_replace_callback(): JIT
compilation failed: no more memory
--
Edit bug report at https://bugs.php.net/bug.php?id=78630&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78630&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78630&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78630&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78630&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78630&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78630&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78630&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78630&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78630&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78630&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78630&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78630&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78630&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78630&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78630&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78630&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78630&r=mysqlcfg
Thread (34 messages)
- ilya at ilya dot pp dot ua
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- build+suse at de-korte dot orgBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- build+suse at de-korte dot orgBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- build+suse at de-korte dot orgBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- bugreports at gmail dot comBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- nikic@php.netBug #78630 [Opn->Csd]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)
- ilya at ilya dot pp dot uaBug #78630 [Com]: PHP 7.3 preg_match(): JIT compilation failed: no more memory (need pcre.jit=0)