ID:               46677
 User updated 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
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.23
 PHP Version:      5.2.6
 New Comment:

change the status from feedback to open


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

[2008-12-09 01:36:30] chunhuan dot pan at alcatel-sbell dot com dot cn

Hello jani:
 See my backtrace below:
-----------------------------------------------
(gdb) bt
#0  0x2330000000000000 in <unknown_procedure> ()
warning: Attempting to unwind past bad PC 0x2330000000000000
#1  0x6f7269675f76616c in <unknown_procedure> ()
(gdb)
-----------------------------------------------
PS: To get a best test ,could you show me the test source ,steps ,I am
not very clearly how to get a best backtrace to help you solve the
error!

Thx a lot ,:-)

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

[2008-12-08 12:32:25] [EMAIL PROTECTED]

Now, can you please provide the requested _backtrace_ finally? In gdb
using command 'bt'..

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

[2008-12-04 01:57:58] chunhuan dot pan at alcatel-sbell dot com dot cn

Trace No.2
Step 1:
bash-3.2# ./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs --enable-debug

Step 2:
bash-3.2# make

Step 3:
bash-3.2# make test
************************begin chunhuap*******************************
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
SPL: ArrayObject::__construct basic usage with
ArrayObject::ARRAY_AS_PROPS.
[ext/spl/tests/arrayObject___construct_basic4.phpt]
SPL: ArrayObject::__construct basic usage with
ArrayObject::STD_PROP_LIST|ArrayObject::ARRAY_AS_PROPS.
[ext/spl/tests/arrayObject___construct_basic5.phpt]
SPL: ArrayObject::exchangeArray() basic usage with object as underlying
data store. [ext/spl/tests/arrayObject_exchangeArray_basic3.phpt]
SPL: ArrayObject::setFlags basic usage with
ArrayObject::ARRAY_AS_PROPS.
[ext/spl/tests/arrayObject_setFlags_basic1.phpt]
=====================================================================

You may have found a problem in PHP.
We would like to send this report automatically to the
PHP QA team, to give us a better understanding of how
the test cases are doing. If you don't want to send it
immediately, you can choose "s" to save the report to
a file that you can send us later.
Do you want to send this report now? [Yns]:
************************end  chunhuap*******************************

Step 4:
bash-3.2# make install
************************Begin chunhuap*******************************
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/opt/pkg_list/php5.2-200811272330/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/man/man1/
Installing build environment:     /usr/local/php/lib/php/build/
Installing header files:          /usr/local/php/include/php/
Installing helper programs:       /usr/local/php/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/php/lib/php/

No download utilities found. Don't know how to download PEAR archive.

+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were
|
| not installed:                                                      
|
|                                                                     
|
|   PEAR: PHP Extension and Application Repository                    
|
|                                                                     
|
| To install these components,                                        
|
| download http://pear.php.net/install-pear.phar to php-src/pear/     
|
| become the superuser and execute:                                   
|
|                                                                     
|
|   # make install-su                                                 
|
+----------------------------------------------------------------------+
Installing PDO headers:          /usr/local/php/include/php/ext/pdo/
************************End chunhuap*******************************

Step 5;
Analyse core file
************************Begin chunhuap*******************************
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.
..

warning: exec file is newer than core file.
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
SEGV_ACCERR - Invalid Permissions for object
"/usr/local/bin/": can't read symbols: File format not recognized.

warning: Unwind failed for lack of lmdp
#0  0x46e02e0:0 in computeJD (p=Cannot access memory at address
0x800000000000040b
)
    at
/opt/pkg_list/php5.2-200811272330/ext/sqlite/libsqlite/src/date.c:240
240       p->rJD = X1 + X2 + D + B - 1524.5;
************************End chunhuap*******************************

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

[2008-12-04 01:26:59] chunhuan dot pan at alcatel-sbell dot com dot cn

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

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

[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.



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/46677

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

Reply via email to