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

From: Date: Wed, 16 Oct 2019 09:45:24 +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-223215@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: ettore at themecraft dot studio Reported by: ettore at themecraft dot studio Summary: preg_match_all(): JIT compilation failed: no more memory Status: Closed Type: Bug Package: PCRE related Operating System: macOS 10.13.6 PHP Version: 7.3.0 Assigned To: nikic Block user comment: N Private report: N New Comment: PHP 7.4.0-rc3 fixes the issue on macOS 10.13.6. Previous Comments: ------------------------------------------------------------------------ [2019-10-04 14:10:06] nikic@php.net For reference, further discussion is happening on #78630. ------------------------------------------------------------------------ [2019-10-03 19:30:20] nikic@php.net @ilya: Can you please open a new bug for the opensuse issue, so that this one can stay macos specific? The macos issues are related to Apple's rather buggy MAP_JIT implementation, which does not exist on Linux. It would be helpful to also provide an strace of the process, which should also show the mmap failure. ------------------------------------------------------------------------ [2019-10-03 19:20:30] requinix@php.net @nikic's two referenced commits are only for PHP 7.4.0rc3. @ilya, can you test with that version? ------------------------------------------------------------------------ [2019-10-03 18:57:36] ilya at ilya dot pp dot ua openSUSE Tumbleweed php 7.3.10 pcre2 10.33 (patch from nickic aplayed) If pcre.jit=1 phpMyadmin login page show errors mod_fcgid: stderr: PHP Warning: preg_replace_callback(): JIT compilation failed: no more memory https://bugzilla.suse.com/show_bug.cgi?id=1124446 Please explain what feedback do you expect and what else do you need to provide? ------------------------------------------------------------------------ [2019-09-29 04:22:08] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ 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

« previous php.bugs (#223215) next »