Segmentation fault Scott need help

Support/Development for PHP
Danny
Forum User
Forum User
Posts: 59
Joined: Mon Apr 11, 2005 3:48 am

Segmentation fault Scott need help

Unread post by Danny »

I update yesterday to php 5 and latest mysql from art.
All work ok but i has Segmentation fault of a big numbers of process.

Server is a dedicated with one instance of vBulletin i try to remove eaccelerator but this not the problem.

To update i remove in the followin way rpm -e --nodeps php-domxml

Packages in my system plesk 7.5.4.

[root@srv01 conf]# rpm -qa | grep mysql
mysql-4.1.21-1.art.rhfc2.art
mysql-devel-4.1.21-1.art.rhfc2.art
mysql-compat-4.1.21-1.art.rhfc2.art
php-mysql-5.0.4-13.rhfc2.art
mysql-server-4.1.21-1.art.rhfc2.art

[root@srv01 conf]# rpm -qa | grep php
phpBugTracker-1.19-7506
phpWiki-1.3.11-7508
php-pgsql-5.0.4-13.rhfc2.art
php-gd-5.0.4-13.rhfc2.art
php-mbstring-5.0.4-13.rhfc2.art
php-mysql-5.0.4-13.rhfc2.art
php-imap-5.0.4-13.rhfc2.art
phpAds-2.0.5-7506
phpBook-1.50-7507
phpDig-1.85-7505
phpMyFamily-1.4.1-7508
phpsurveyor-0.98-7510
phpBB-2.0.17-7518
php-pear-5.0.4-13.rhfc2.art
phpMoney-1.3-7510
php-5.0.4-13.rhfc2.art
php-devel-5.0.4-13.rhfc2.art


[Tue Sep 05 10:23:50 2006] [notice] child pid 18936 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:50 2006] [notice] child pid 18994 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:50 2006] [notice] child pid 19135 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 18857 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 19119 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 19126 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 19137 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 19138 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:51 2006] [notice] child pid 19142 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:53 2006] [notice] child pid 19149 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:55 2006] [notice] child pid 19158 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:55 2006] [notice] child pid 19159 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:56 2006] [notice] child pid 18675 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:56 2006] [notice] child pid 19152 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:57 2006] [notice] child pid 19048 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:58 2006] [notice] child pid 19069 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:58 2006] [notice] child pid 19078 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:58 2006] [notice] child pid 19089 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:58 2006] [notice] child pid 19146 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:58 2006] [notice] child pid 19153 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:59 2006] [notice] child pid 18884 exit signal Segmentation fault (11)
[Tue Sep 05 10:23:59 2006] [notice] child pid 19109 exit signal Segmentation fault (11)
[Tue Sep 05 10:24:00 2006] [notice] child pid 18828 exit signal Segmentation fault (11)
[Tue Sep 05 10:24:00 2006] [notice] child pid 19118 exit signal Segmentation fault (11)
[Tue Sep 05 10:24:01 2006] [notice] child pid 18960 exit signal Segmentation fault (11)
.....
Danny
Forum User
Forum User
Posts: 59
Joined: Mon Apr 11, 2005 3:48 am

Unread post by Danny »

i cant found anything about the errors in the logs and the server keep with the same problem.
Have you any idea ??
Danny
Forum User
Forum User
Posts: 59
Joined: Mon Apr 11, 2005 3:48 am

Unread post by Danny »

If found that if comment extension=mysql.so in /etc/php.d/mysql.ini
the segmentation fault disappear.
Any solution ?

Enviroment is a Dual Dual Xeon 2.8 2 GB Ram SCSI with Fedora Core 2
Danny
Forum User
Forum User
Posts: 59
Joined: Mon Apr 11, 2005 3:48 am

Unread post by Danny »

Im back to php 4.4.2
EvolutionCrazy
Forum User
Forum User
Posts: 67
Joined: Wed Jun 01, 2005 5:52 pm

Unread post by EvolutionCrazy »

i have this same problem...

the application that makes apache crashing with error:

[Sat Oct 14 00:33:01 2006] [notice] child pid 22802 exit signal Segmentation fault (11)
[Sat Oct 14 00:33:36 2006] [notice] child pid 22818 exit signal Segmentation fault (11)

is gallery2:
http://gallery.menalto.com/node/23432

looks like a veeeeery old problem (2004 :S)

if i disable the mysql extensione apache do not crash anymore :S

any suggestion? :S
php -v
PHP 5.0.4 (cli) (built: Jan 29 2006 21:37:43)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.4, Copyright (c) 2004-2004 eAccelerator, by eAccelerator
(the problem is not with eaccelerator... already tried without it.. :( )

is there any way to fix that?

if not: how can i downgrade to php4 version (that's not a problem for me to go back to in 4.3.9centos.... i just do not want to break plesk during the downgrade :S )
Danny
Forum User
Forum User
Posts: 59
Joined: Mon Apr 11, 2005 3:48 am

Unread post by Danny »

Finally i install my own php compilation.

If this help this is my configure line for a Plesk 8.0 in Fedora Core 2

Code: Select all


./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-expat-dir=/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-ldap=shared --with-mhash=shared --with-mcrypt=shared --enable-xslt=shared --with-xslt-sablot --with-sablot-js=/usr --with-unixODBC=shared,/usr --enable-memory-limit --enable-bcmath --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mcal --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --with-apxs2=/usr/sbin/apxs \
--without-sqlite --without-pgsql \
--with-mysql=/usr/local/mysql --with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-kerberos \
--with-imap \
--with-imap-ssl=/usr/include/openssl


EvolutionCrazy
Forum User
Forum User
Posts: 67
Joined: Wed Jun 01, 2005 5:52 pm

Unread post by EvolutionCrazy »

sorry, that scares me :S

i will go only with rpm... too much scared self compiling php :S
EvolutionCrazy
Forum User
Forum User
Posts: 67
Joined: Wed Jun 01, 2005 5:52 pm

Unread post by EvolutionCrazy »

well...

the problem is the one reported here:
http://bugs.php.net/bug.php?id=34692

and reported as fixed in 5.1.1...

so now i'm evaluating the update to 5.1.5 available in the ART unstable channel... :S

what do you think Scott? can i do that... or that will leave me alone when they will be moved to the stable channel?

anybody already tried them?

nearly 1year passed since the the first php5.1 release... :P

alternativly: any suggestion on how to downgrade to centos 4.3.9 official RPM without breaking the whole thing? :roll:

as the current situation keep using a php version (5.0.4) with such problems (i think that everybody using the RPM in your stable channel will see apache crashing when playing with gallery2... and maybe others scripts...) is not that good :cry:
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

The 5.1 tree Im using is based on the one from FC5, so the rpm itself is not what I'd call untested, or even unstable. Its exactly what you'd get on FC5, which works just fine. I've had conflicting reports that PSA does and doesn't work well with it. If you look in the sw-soft forums there are some people that are using it in production, and have reported their successes/failures with it in more detail.
EvolutionCrazy
Forum User
Forum User
Posts: 67
Joined: Wed Jun 01, 2005 5:52 pm

Unread post by EvolutionCrazy »

yeah, seen them ;)

i was able to fix the problem in the phpscript... now it's no more driving php to crash :lol:

ty ;)
Post Reply