Edit report at https://bugs.php.net/bug.php?id=62266&edit=1
ID: 62266 Updated by: cataphr...@php.net Reported by: lance dot lovette at gmail dot com Summary: Custom extension segfaults during xmlParseFile with FPM SAPI Status: Open Type: Bug Package: XML related Operating System: CentOS release 6.2 (Final) PHP Version: 5.4Git-2012-06-08 (snap) -Assigned To: +Assigned To: cataphract Block user comment: N Private report: N New Comment: I'll take a look as this was very likely caused by a change I made. Previous Comments: ------------------------------------------------------------------------ [2012-06-08 17:45:11] lance dot lovette at gmail dot com Description: ------------ I have a custom extension that has been in use since 2001. When I upgraded to PHP 5.4 it caused php-fpm to segfault. The extension uses xmlParseFile to load an XML configuration file in MINIT. The CLI build of PHP does NOT segfault and functions as expected. Test script: --------------- I created a trivial extension that calls xmlParseFile in MINIT: https://gist.github.com/2896852 Expected result: ---------------- I expect xmlParseFile to succeed. Actual result: -------------- Output from configure, a gdb backtrace and a list of modules and phpinfo when the crashing extension is disabled: https://gist.github.com/2896980 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62266&edit=1