ID:               42491
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bernard dot prevosto at ifremer dot fr
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: solaris 5.8
 PHP Version:      5.2.4
 New Comment:

That means your installed GDB version is too old (and buggy) so you
need to update it.


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

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

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

[2007-09-05 13:31:38] [EMAIL PROTECTED]

I can not reproduce this on linux (32bit).

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

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

Reply via email to