Bug #77260 [Com]: preg_match_all(): JIT compilation failed: no more memory

From: Date: Mon, 18 Feb 2019 06:42:09 +0000
Subject: Bug #77260 [Com]: preg_match_all(): JIT compilation failed: no more memory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219621@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77260&edit=1

 ID:                 77260
 Comment by:         gerwinkrist at gmail dot com
 Reported by:        ettore at themecraft dot studio
 Summary:            preg_match_all(): JIT compilation failed: no more
                     memory
 Status:             Open
 Type:               Bug
 Package:            PCRE related
 Operating System:   macOS 10.13.6
 PHP Version:        7.3.0
 Block user comment: N
 Private report:     N

 New Comment:

On RHEL 7 we also have the problem, so it's not Mac specific. To be more specific we have it
with 7.3 and Laravel.


Previous Comments:
------------------------------------------------------------------------
[2019-02-04 09:38:35] marek dot svent at gmail dot com

I do – on Linux, but in crosscompiled environment. Haven't investigated yet more deeply.

------------------------------------------------------------------------
[2019-01-24 10:21:26] nikic@php.net

Is anyone who is *not* on macOS experiencing this issue?

------------------------------------------------------------------------
[2019-01-24 09:35:30] d dot kreuer at danielkreuer dot com

Disabling the JIT compilation of PCRE is a workaround for this error. Tweeted by Marcus Battle: https://twitter.com/themarcusbattle/status/1072929621790855174

------------------------------------------------------------------------
[2019-01-14 14:26:03] sbarex at gmail dot com

Not solved in php 7.3.1.
With this bug php is unusable. Even phpinfo cause a crash.

------------------------------------------------------------------------
[2018-12-10 15:17:53] ettore at themecraft dot studio

Just tried with the latest commit on master (ad06f1aa2e). The error persists. If you need more
details on my system configuration, just ask.

I did not experience this issue on production servers running Debian and PHP 7.3 from sury.

Note and off-topic: I've run into some compilation troubles while building from git with XSL
enabled. It fails to compile on my system after hundreds of warnings. I just disabled it since I did
not even know why I left it enabled in the first place. I'm using libxml 2.9.7 from homebrew.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=77260


--
Edit this bug report at https://bugs.php.net/bug.php?id=77260&edit=1


Thread (29 messages)

« previous php.bugs (#219621) next »