|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-11-26 06:44 UTC] chunhuan dot pan at alcatel-sbell dot com dot cn
Description: ------------ I wanna install php5.2.6 on a HP-UX 11.23 Itanium 2 server Step 1: install all the dependence packages status: OK Step 2: install apache2.0.59 status: OK Step 3: install php5.2.6 shell>./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs status: OK shell>make status: OK shell>make install status: error error description: ------------------------------------- "sh[2]: 16259 Memory fault(coredump)| *** Error exit code 139 (ignored)" | ------------------------------------- Note: I tried other version php ,and return the same error Reproduce code: --------------- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). bash-3.2# make test sh[2]: 16259 Memory fault(coredump) *** Error exit code 139 (ignored) Expected result: ---------------- Install successfully Actual result: -------------- *** Error exit code 139 (ignored) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Trace No.1 Step1: Create a php script named phpinfo.php with the content: <?php $str = 'abcdef'; echo strlen($str); phpinfo(); ?> Step 2: Run the script: bash-3.2# /usr/local/php/bin/php ./phpinfo.php Segmentation fault (core dumped) Step 3: Analyse the core file via gdb: ----------------------------------------------------------------------- bash-3.2# gdb /usr/local/php/bin/php core HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. Core was generated by `php'. Program terminated with signal 11, Segmentation fault. SEGV_ACCERR - Invalid Permissions for object warning: Load module /usr/local/lib/hpux32/libintl.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libz.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libssl.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libcrypto.so has been stripped. Debugging information is not available. #0 _zval_ptr_dtor () at /opt/pkg_list/php5.2-200811272330/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; (gdb) -----------------------------------------------------------------------I also ran into this bug using PHP 5.2.9 on HP-UX. Here is a stack backtrace obtained when executing the test script described in this bug report on HP-UX 11.31: #0 _zval_ptr_dtor (zval_ptr=0x7fff98b0) at /p5h/reliaty/web/php-5.2.9/Zend/zend_execute_API.c:412 #1 0x46e9cd0:0 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff9940) at zend_execute.h:155 #2 0x46c0b60:0 in execute (op_array=0x40099128) at zend_vm_execute.h:92 #3 0x466c050:0 in zend_execute_scripts (type=8, retval=<not available>, file_count=3) at /p5h/reliaty/web/php-5.2.9/Zend/zend.c:1134 #4 0x45be820:0 in php_execute_script (primary_file=Error accessing memory address 0x8: Invalid argument. ) at /p5h/reliaty/web/php-5.2.9/main/main.c:2023 #5 0x47f2d60:0 in main (argc=Error accessing memory address 0xc: Invalid argument. ) at /p5h/reliaty/web/php-5.2.9/sapi/cli/php_cli.c:1133 Note that the bug does NOT occur when using php5.2-200906111230.tar. FYI, Joseph Dziedzic