ID: 42491 User updated by: bernard dot prevosto at ifremer dot fr Reported By: bernard dot prevosto at ifremer dot fr -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: solaris 5.8 PHP Version: 5.2.4 New Comment:
with gdb 6.6: gdb --arg sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... (gdb) run Starting program: /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar [New LWP 1] [New LWP 2] [New LWP 3] [New LWP 4] Program received signal SIGSEGV, Segmentation fault. 0x002723a0 in _zval_ptr_dtor (zval_ptr=0xffbedb4c) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; (gdb) bt #0 0x002723a0 in _zval_ptr_dtor (zval_ptr=0xffbedb4c) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_execute_API.c:412 #1 0x0029eb5c in zend_do_fcall_common_helper_SPEC (execute_data=0xffbee8a0) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_execute.h:155 #2 0x0029cc60 in execute (op_array=0x5d2c80) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_vm_execute.h:92 #3 0x00281010 in zend_execute_scripts (type=8, retval=<value optimized out>, file_count=3) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend.c:1134 #4 0x002411ec in php_execute_script (primary_file=0xffbeefcc) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/main/main.c:1982 #5 0x003152cc in main (argc=9, argv=0xffbef07c) at /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/sapi/cli/php_cli.c:1140 (gdb) Previous Comments: ------------------------------------------------------------------------ [2007-09-07 08:55:16] [EMAIL PROTECTED] That means your installed GDB version is too old (and buggy) so you need to update it. ------------------------------------------------------------------------ [2007-09-06 11:49:43] bernard dot prevosto at ifremer dot fr I've a bus error before typing "bt" louet>98% wget http://pear.php.net/install-pear-nozlib.phar -nd -P pear/ --13:37:56-- http://pear.php.net/install-pear-nozlib.phar => `pear/install-pear-nozlib.phar' Resolving pear.php.net... 216.92.131.66 Connecting to pear.php.net|216.92.131.66|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,621,515 (3.5M) [text/plain] 100%[============================================================================================>] 3,621,515 202.46K/s ETA 00:00 13:38:16 (177.55 KB/s) - `pear/install-pear-nozlib.phar' saved [3621515/3621515] louet>99% gdb --arg sapi/cli/php \ -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= \ -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 \ pear/install-pear-nozlib.phar GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.5"... (gdb) run Starting program: /home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar [New LWP 1] [New LWP 2] [New LWP 3] [New LWP 4] Bus Error louet>100% ------------------------------------------------------------------------ [2007-09-06 10:49:46] [EMAIL PROTECTED] The same way you get it with it: # wget http://pear.php.net/install-pear-nozlib.phar -nd -P pear/ # gdb --arg sapi/cli/php \ -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= \ -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 \ pear/install-pear-nozlib.phar (gdb) run <crash> (gdb) bt ------------------------------------------------------------------------ [2007-09-06 07:08:45] bernard dot prevosto at ifremer dot fr without --enable-debug I've: louet>45% make install Installing PHP SAPI module: cgi Installing PHP CGI binary: /home/services/logiciels/compilateurs/php-5.2.4/bin/ Installing PHP CLI binary: /home/services/logiciels/compilateurs/php-5.2.4/bin/ Installing PHP CLI man page: /home/services/logiciels/compilateurs/php-5.2.4/man/man1/ Installing build environment: /home/services/logiciels/compilateurs/php-5.2.4/lib/php/build/ Installing header files: /home/services/logiciels/compilateurs/php-5.2.4/include/php/ Installing helper programs: /home/services/logiciels/compilateurs/php-5.2.4/bin/ program: phpize program: php-config Installing man pages: /home/services/logiciels/compilateurs/php-5.2.4/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /home/services/logiciels/compilateurs/php-5.2.4/lib/php/ Segmentation Fault gmake[1]: *** [install-pear-installer] Error 139 gmake: *** [install-pear] Error 2 louet>46% or, also : louet>46% sapi/cli/php pear/install-pear-nozlib.phar Segmentation Fault louet>47% how can I get you backtrace without using --enable-debug ? ------------------------------------------------------------------------ [2007-09-05 13:46:04] [EMAIL PROTECTED] Then can you try getting some kind of backtrace without using --enable-debug ? That's better than nothing. ------------------------------------------------------------------------ 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/42491 -- Edit this bug report at http://bugs.php.net/?id=42491&edit=1