From: fra dot nospam dot nk at gmx dot de Operating system: AIX PHP version: 5.3.27 Package: Compile Failure Bug Type: Bug Bug description:Segmentation fault when compiling PHP with XSL enabled
Description: ------------ Similar to bug #51216, a PHP build with "--with-xsl" unexpectedly ends with the intermediately build "sapi/cli/php" crashing with a segmentation fault when called in the "Generating phar.php" build step. The environment is: AIX: 6100-08-01-1245 xlC: 11.01.0000.0009 php: 5.3.26 libxml2: 2.9.1 libxslt: 1.1.28 Disabling "--with-xsl" produces a successful PHP build though. Test script: --------------- Build PHP with the above platform/versions and the "--with-xsl" configure option. Expected result: ---------------- Successful PHP build Actual result: -------------- $ dbx sapi/cli/php core Type 'help' for help. [using memory image in core] reading symbolic information ... Segmentation fault in exsltRegisterAll at 0xd2dfa2b0 ($t1) 0xd2dfa2b0 (exsltRegisterAll+0x88) 800c0000 lwz r0,0x0(r12) (dbx) where exsltRegisterAll() at 0xd2dfa2b0 exsltRegisterAll() at 0xd2dfa234 zm_startup_xsl() at 0x104c2400 zend_startup_module_ex@AF200_118() at 0x100287a0 zend_hash_apply() at 0x1002c814 zend_startup_modules() at 0x100261cc php_module_startup() at 0x1012f150 php_cli_startup() at 0x10002314 php_cli.main() at 0x100006a0 $ gdb sapi/cli/php core GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.1.0.0". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /xxx/build-cli/sapi/cli/php...(no debugging symbols found)...done. Core was generated by `php'. Program terminated with signal 11, Segmentation fault. #0 0xd2dfa2b0 in ?? () (gdb) bt #0 0xd2dfa2b0 in ?? () #1 0xd2dfa238 in ?? () #2 0x104c2404 in zm_startup_xsl () #3 0x100287a4 in zend_startup_module_ex@AF200_118 () #4 0x1002c818 in zend_hash_apply () #5 0x100261d0 in zend_startup_modules () #6 0x1012f154 in php_module_startup () #7 0x10002318 in php_cli_startup () #8 0x100006a4 in main () -- Edit bug report at https://bugs.php.net/bug.php?id=65245&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65245&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65245&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65245&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65245&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65245&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65245&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65245&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65245&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65245&r=support Expected behavior: https://bugs.php.net/fix.php?id=65245&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65245&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65245&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65245&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65245&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65245&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65245&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65245&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65245&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65245&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65245&r=mysqlcfg