php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24010 Make failure
Submitted: 2003-06-04 04:12 UTC Modified: 2003-06-15 10:53 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ronald_zeelenberg at hotmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5CVS-2003-06-04 (dev) OS: Red Hat 8
Private report: No CVE-ID: None
 [2003-06-04 04:12 UTC] 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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-08 22:13 UTC] 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-09 03:55 UTC] ronald_zeelenberg at hotmail dot com
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...
 [2003-06-09 04:17 UTC] ronald_zeelenberg at hotmail dot com
After setting LogLevel to debug in httpd.conf i found this extra info.

[Mon Jun 09 06:12:27 2003] [notice] Apache/2.0.46 (Unix) DAV/2 PHP/5.0.0-dev configured -- resuming 

normal operations
[Mon Jun 09 10:55:58 2003] [notice] child pid 21213 exit signal Segmentation fault (11)
[Mon Jun 09 10:55:58 2003] [notice] child pid 21168 exit signal Segmentation fault (11)
[Mon Jun 09 10:55:58 2003] [notice] child pid 21167 exit signal Segmentation fault (11)
[Mon Jun 09 11:11:25 2003] [notice] caught SIGTERM, shutting down
[Mon Jun 09 11:11:25 2003] [notice] Apache/2.0.46 (Unix) DAV/2 PHP/5.0.0-dev configured -- resuming 

normal oper
ations
[Mon Jun 09 11:11:25 2003] [info] Server built: Jun  1 2003 13:15:30
[Mon Jun 09 11:11:25 2003] [debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem)
[Mon Jun 09 11:12:13 2003] [notice] child pid 21487 exit signal Segmentation fault (11)
[Mon Jun 09 11:12:13 2003] [notice] child pid 21486 exit signal Segmentation fault (11)
[Mon Jun 09 11:12:13 2003] [notice] child pid 21485 exit signal Segmentation fault (11)
 [2003-06-09 16:37 UTC] ronald_zeelenberg at hotmail dot com
I can now link again (been able since 4 days ago) saw this in my system log. But pages with PEAR are still crashing. I do not have these problems in version 43x.

What is this thing?
 [2003-06-09 23:02 UTC] sniper@php.net
It's PHP5. And PEAR is not ready for it.. :)

 [2003-06-10 01:21 UTC] ronald_zeelenberg at hotmail dot com
So i cant use it know? And when is PEAR ready for PHP5...? Keep in mind that it did work?

Does anyone knows where i can find an older (3 weeks ago) PHP5 dev version...
 [2003-06-10 08:40 UTC] ronald_zeelenberg at hotmail dot com
I know get a server hang with the latest build.... today 13:30 GMT

Still with 434 no problem at all
 [2003-06-15 10:53 UTC] stas@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Looks fixed in latest CVS. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 08:01:28 2024 UTC