ID:               24010
 User updated by:  ronald_zeelenberg at hotmail dot com
 Reported By:      ronald_zeelenberg at hotmail dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Red Hat 8
 PHP Version:      5CVS-2003-06-04 (dev)
 New Comment:

Okay since two day i can make a "correct" version of the daily based
PHP5 version. Accept some php-pages with DB-actions and PEAR based are
crashing... Apache2 says killed the child etc.

Daily based 4.3x does not have this problem.

Is something changed in PHP5 which ic causing this? I did not change my
code...


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

[2003-06-08 22:13:36] chrisgio at virtualscape dot net

This is what I'm seeing:

$ make install-pear-installer
[PEAR] Archive_Tar    - already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR           - already installed: 1.1
make: *** [install-pear-installer] Segmentation fault (core dumped)

$gdb sapi/cli/php core
-snip-
Core was generated by `/usr/local/testbed/build/php5/sapi/cli/php -n
-dsafe_mode 0 /usr/local/testbed/'.
Program terminated with signal 11, Segmentation fault.
-snip-
#0  0x081b85b6 in _efree (ptr=0x8319990) at
/usr/local/testbed/build/php5/Zend/zend_alloc.c:276
276             REMOVE_POINTER_FROM_LIST(p);
(gdb) bt
#0  0x081b85b6 in _efree (ptr=0x8319990) at
/usr/local/testbed/build/php5/Zend/zend_alloc.c:276
#1  0x0818c72b in php_xml_free_wrapper (ptr=0x8319990) at
/usr/local/testbed/build/php5/ext/xml/xml.c:185
#2  0x4033257c in xmlHashFree () from /usr/lib/libxml2.so.2
#3  0x4028c140 in xsltUnregisterExtModule () from
/usr/lib/libxslt.so.1
#4  0x4028cbeb in xsltCleanupGlobals () from /usr/lib/libxslt.so.1
#5  0x0809fada in zm_shutdown_domxml (type=1, module_number=20,
tsrm_ls=0x8295538) at
/usr/local/testbed/build/php5/ext/domxml/php_domxml.c:1569
#6  0x081cdb3c in module_destructor (module=0x831dd48) at
/usr/local/testbed/build/php5/Zend/zend_API.c:1276
#7  0x081cfa78 in zend_hash_apply_deleter (ht=0x8294c00, p=0x831dd18)
at /usr/local/testbed/build/php5/Zend/zend_hash.c:565
#8  0x081cfb06 in zend_hash_graceful_reverse_destroy (ht=0x8294c00) at
/usr/local/testbed/build/php5/Zend/zend_hash.c:631
#9  0x081ca573 in zend_shutdown (tsrm_ls=0x8295538) at
/usr/local/testbed/build/php5/Zend/zend.c:684
#10 0x08199f81 in php_module_shutdown (tsrm_ls=0x8295538) at
/usr/local/testbed/build/php5/main/main.c:1457
#11 0x081e69c7 in main (argc=7, argv=0xbffffaf4) at
/usr/local/testbed/build/php5/sapi/cli/php_cli.c:1020


Machine:
Debain based
2.4.20 kernel on x86
GCC 3.2.3
bison 1.875a
flex 2.5.4
apache 2.0.46
libxslt 1.0.30
libxml2 2.5.6
php 5.0.0-dev 20030608

with options:
'./configure' '--prefix=/usr/local/testbed/php5' '--with-openssl'
'--with-apxs2=/usr/local/testbed/apache2/bin/apxs'
'--with-config-file-path=/usr/local/testbed/php5/lib' '--enable-bcmath'
'--enable-calendar' '--with-curl=/usr/local/testbed'
'--with-curl-wrappers' '--enable-dba' '--with-gdbm' '--with-flatfile'
'--enable-dio' '--with-dom' '--with-dom-xslt' '--with-dom-exslt'
'--with-dom5' '--enable-exif' '--enable-ftp' '--with-gd'
'--with-imap-ssl' '--with-ldap' '--enable-mbstring'
'--with-pgsql=/usr/local/testbed/pgsql' '--with-libedit'
'--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm' '--with-pic' '--with-zlib'

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

[2003-06-04 04:12:24] ronald_zeelenberg at hotmail dot com

Tried to compile since 1 week ago like i always do, install the latest
PHP5dev.

Still i haven't been able to make a succesfull compile..

Here is the latest part of the compile.

The latest PHP43-dev doesn't have this failure.

Anyone??? 

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Installing PHP CLI binary:        /var/www/php-dev/bin/
Installing PHP CLI man page:      /var/www/php-dev/man/man1/
Installing PHP SAPI module
/var/www/apache2//build/instdso.sh
SH_LIBTOOL='/var/www/apache2//build/libtool' libphp5.la
/var/www/apache2//modules
/var/www/apache2//build/libtool --mode=install cp libphp5.la
/var/www/apache2//modules/
cp .libs/libphp5.so /var/www/apache2//modules/libphp5.so
cp .libs/libphp5.lai /var/www/apache2//modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/src/php/php5-200306040730/libs'
chmod 755 /var/www/apache2//modules/libphp5.so
[activating module `php5' in /var/www/config//httpd.conf]
Installing shared extensions:    
/var/www/php-dev/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /var/www/php-dev/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

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


-- 
Edit this bug report at http://bugs.php.net/?id=24010&edit=1

Reply via email to