Bug #65245 [Opn->Fbk]: Segmentation fault when compiling PHP with XSL enabled
| From: | cmb@php.net | Date: | Fri, 12 Feb 2021 09:44:09 +0000 |
| Subject: | Bug #65245 [Opn->Fbk]: Segmentation fault when compiling PHP with XSL enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232080@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65245&edit=1
ID: 65245
Updated by: cmb@php.net
Reported by: fra dot nospam dot nk at gmx dot de
Summary: Segmentation fault when compiling PHP with XSL
enabled
-Status: Open
+Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX
PHP Version: 5.3.27
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Does this still happen to you with any of the actively supported
PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2013-07-11 18:41:14] fra dot nospam dot nk at gmx dot de
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 this bug report at https://bugs.php.net/bug.php?id=65245&edit=1