|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-06-12 07:30 UTC] nikic@php.net
[2020-06-12 22:16 UTC] maposov at adobe dot com
[2020-06-12 22:19 UTC] maposov at adobe dot com
[2020-06-12 22:22 UTC] maposov at adobe dot com
-Status: Open
+Status: Closed
-PHP Version: 7.4.7
+PHP Version: 7.4.6
[2020-06-12 22:22 UTC] maposov at adobe dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 09:00:01 2025 UTC |
Description: ------------ Nginx + php-fpm Reproduced with 7.4.5 and 7.4.6 Get segmentation fault with preloading of certain classes from laminas. That was detected as part of bigger project. Here is short way to reproduce it: - include laminas-uri\laminas-validator in your project "name": "laminas/laminas-validator", "version": "2.13.4", "name": "laminas/laminas-uri", "version": "2.7.1", - add following to preload: 100501 => '/path/vendor/laminas/laminas-uri/src/UriInterface.php', 100502 => '/path/vendor/laminas/laminas-uri/src/Uri.php', 100503 => '/path/vendor/laminas/laminas-validator/src/Translator/TranslatorAwareInterface.php', 100504 => '/path/vendor/laminas/laminas-validator/src/ValidatorInterface.php', 100505 => '/path/vendor/laminas/laminas-validator/src/AbstractValidator.php', 100506 => '/path/vendor/laminas/laminas-validator/src/Ip.php', 100507 => '/path/vendor/laminas/laminas-uri/src/Http.php', - add following to index.php $http = new \Laminas\Uri\Http(); $http->setHost("test"); - open index.php in browser Notes: removing 'static' from "static $regex = '/^\[.*\]$/';" (vendor/laminas/laminas-uri/src/Uri.php:1201) makes php-fpm working Expected result: ---------------- php-fpm continue to work Actual result: -------------- WARNING: [pool www] child 32757 exited on signal 11 (SIGSEGV) after 11.794965 seconds from start NOTICE: [pool www] child 32784 started