From:             php dot wayne at ptaff dot ca
Operating system: GNU/Linux Mandrake Cooker
PHP version:      4.3.6
PHP Bug Type:     Zend Engine 2 problem
Bug description:  make install-pear fails, segmentation faut

Description:
------------
Downloaded php-4.3.6, un-tarred, ./configure, make, make install.  Tried
with the latest snapshot, same result, failure on "make install"


The make install fails on PEAR installation:

Installing PEAR environment:      /usr/local/stow/php-4.3.6//lib/php/
make[1]: *** [install-pear-installer] Segmentation fault (core dumped)


The command producing the segfault is:

/home/ptaff/src/php/php4-STABLE-200405120430/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0
/home/ptaff/src/php/php4-STABLE-200405120430/pear/install-pear.php -d
/usr/local/stow/php-4.3.6//lib/php -b /usr/local/stow/php-4.3.6//bin
/home/ptaff/src/php/php4-STABLE-200405120430/pear/package-Archive_Tar.xml


backtracing, we have:

[Thread debugging using libthread_db enabled]
[New Thread 1084061408 (LWP 7178)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1084061408 (LWP 7178)]
0x0823200d in call_overloaded_function (T=0x67b9e57c, arg_count=1,
return_value=0x8376684) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:990
990             ce = Z_OBJCE_P(T->EA.data.overloaded_element.object);
(gdb) bt
#0  0x0823200d in call_overloaded_function (T=0x67b9e57c, arg_count=1,
return_value=0x8376684) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:990
#1  0x0823566b in execute (op_array=0x853444c) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:1701
#2  0x082353e0 in execute (op_array=0x8538cec) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:1679
#3  0x082353e0 in execute (op_array=0x8374fe4) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:1679
#4  0x08222c31 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend.c:886
#5  0x081ee00d in php_execute_script (primary_file=0xbfffea50) at
/home/ptaff/src/php/php4-STABLE-200405120430/main/main.c:1731
#6  0x08248cfc in main (argc=12, argv=0xbfffeb14) at
/home/ptaff/src/php/php4-STABLE-200405120430/sapi/cli/php_cli.c:822
(gdb) frame 1
#1  0x0823566b in execute (op_array=0x853444c) at
/home/ptaff/src/php/php4-STABLE-200405120430/Zend/zend_execute.c:1701
1701                                                   
call_overloaded_function(&EX(Ts)[EX(fbc)->overloaded_function.var],
EX(opline)->extended_value, EX(Ts)[EX(opline)->result.u.var].var.ptr
TSRMLS_CC);


I tried a clean ./configure (without any options), a clean CFLAGS, still I
get the same error.  I also tried --disable-overload as a wild guess.

Versions used:
gcc: 3.3.2
glibc: 2.3.3 (NPTL)
kernel: 2.6.5

I'm out of ideas here, what should I try next?


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

Reply via email to