ID:               46677
 Comment by:       chunhuan dot pan at alcatel-sbell dot com dot cn
 Reported By:      chunhuan dot pan at alcatel-sbell dot com dot cn
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.23
 PHP Version:      5.2.6
 New Comment:

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)
-----------------------------------------------------------------------


Previous Comments:
------------------------------------------------------------------------

[2008-12-03 09:01:30] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2008-12-03 08:55:54] chunhuan dot pan at alcatel-sbell dot com dot cn

After test the PHP version you provide ,and other PHP version .The
server return the same error ,
Memory fault(coredump)
And I also tried to use gcc 3.x and gcc 4.x to compile ,The server
return the same error ,
Memory fault(coredump)
Finally ,I used the option --without-pear option when I configure it
configure ...OK
make ....OK
make test .....Memory fault(coredump)
make install ... OK
and then I test it via php script which used some API.and the server
showed :
---------------------------------------------
bash-3.2# /usr/local/php/bin/php phpinfo.php
Segmentation fault (core dumped)
---------------------------------------------
Who can help me to solve the trouble ><!!

------------------------------------------------------------------------

[2008-11-27 01:58:42] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[2008-11-26 06:44:56] 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)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46677&edit=1

Reply via email to