ID:               28365
 Comment by:       michael at obster dot org
 Reported By:      php dot wayne at ptaff dot ca
 Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: GNU/Linux Mandrake Cooker
 PHP Version:      4.3.6
 New Comment:

Please test if you get a running php with --without-pear. If PHP also
segfaults perhaps it is the same reason I have had.

Do you compile with --with-db4? Or s.th similar? Because my PHP is
running with PEAR now, after leaving the configure switch out.


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

[2004-07-26 21:57:17] michael at obster dot org

PHP 4.3.5 and 4.3.2 also segfaulting. Looks like this is not a PHP
problem. Any help would be good or better an autoconf-check for a
specific version check of the buggy package...

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

[2004-07-26 21:16:54] michael at obster dot org

Same on a standard Debian Woody with PHP 4.3.8.

A solution is urgently needed!

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

[2004-06-10 11:33:12] paul at vanbrouwershaven dot com

Same problem with PHP 4.3.7 Fedora C1

kernel 2.4.22
gcc 3.3.2

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

[2004-05-12 07:34:22] php dot wayne at ptaff dot ca

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 this bug report at http://bugs.php.net/?id=28365&edit=1

Reply via email to