From:             jas at cs dot yorku dot ca
Operating system: Redhat 7.3
PHP version:      4.3.11
PHP Bug Type:     Reproducible crash
Bug description:  segfault on php -v

Description:
------------
Hi.

I am experiencing a "similar" problem to bug ID 32783 (marked "bogus")
with PHP 4.3.11.

I was running php 4.3.4.  I tried to upgrade to 4.3.11.
The compile went flawlessly.  However, when I tried to run a "make
install", the "install pear" component failed with a seg fault. 
Similarly, if you just run "php -v", there is a segfault.

I tried to use the Apache module that came with php 4.3.11 with the
existing (4.3.4) lib/php structure, and that worked.  However, I couldn't
use pear to do any upgrades...

hop 301 % php -v
Segmentation fault
hop 302 % gdb php
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...
(gdb) run -v
Starting program: /cs/local/bin/php -v

Program received signal SIGSEGV, Segmentation fault.
0x4207fa78 in strcmp () from /lib/i686/libc.so.6
(gdb) quit

---

I downgraded to php-4.3.10.  It compiled perfectly, and everything just
works - the php command, and the module.
pear was able to upgrade all of my modules just fine.

I too have a redhat-7.3 base.

Jason.


-- 
Edit bug report at http://bugs.php.net/?id=33058&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33058&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33058&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33058&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33058&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33058&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33058&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33058&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33058&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33058&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33058&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33058&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33058&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33058&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33058&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33058&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33058&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33058&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33058&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33058&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33058&r=mysqlcfg

Reply via email to