View previous topic :: View next topic |
Author |
Message |
jzakhar n00b
Joined: 11 Jan 2005 Posts: 5
|
Posted: Mon Aug 14, 2006 4:28 pm Post subject: Apache 1.3 Segmentation Fault |
|
|
I am running a VbAdvanced/Vbulletin portal site, lately I have been seeing a lot of:
Code: |
hades htdocs # tail -f /var/log/apache/error_log
[Mon Aug 14 12:07:35 2006] [notice] Apache/1.3.34 (Unix) (Gentoo) PHP/4.4.2-pl6-gentoo mod_ssl/2.8.25 OpenSSL/0.9.7i configured -- resuming normal operations
[Mon Aug 14 12:07:35 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 14 12:07:35 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 14 12:07:37 2006] [notice] child pid 26932 exit signal Segmentation fault (11)
[Mon Aug 14 12:07:46 2006] [notice] child pid 26935 exit signal Segmentation fault (11)
[Mon Aug 14 12:18:20 2006] [notice] child pid 14216 exit signal Segmentation fault (11)
[Mon Aug 14 12:18:25 2006] [notice] child pid 14279 exit signal Segmentation fault (11)
[Mon Aug 14 12:18:29 2006] [notice] child pid 14293 exit signal Segmentation fault (11)
[Mon Aug 14 12:18:30 2006] [error] [client 192.168.42.11] File does not exist: /var/www/lod/htdocs/item-icons/INV_Misc_Cape_Naxxramas_02.gif
[Mon Aug 14 12:18:31 2006] [error] [client 192.168.42.11] File does not exist: /var/www/lod/htdocs/item-icons/INV_Misc_Cape_Naxxramas_02.gif
*** glibc detected *** free(): invalid pointer: 0xbfba557c ***
[Mon Aug 14 07:18:08 2006] [notice] child pid 22062 exit signal Aborted (6)
|
my emerge --info is:
Code: |
hades htdocs # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl apache apm arts avi bcmath berkdb bitmap-fonts cdb cli crypt cups curl dbm dlloader dri eds emboss encode esd foomaticdb fortran gd gdbm gif gpm gstreamer iconv imagemagick imap imlib ipv6 isdnlog jpeg ldap libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png pppd python qdbm qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl sqlite ssl symlimk tcpd truetype truetype-fonts type1-fonts udev vhosts vorbis xml xml2 xmlrpc xmms xorg xv zlib zlibcgi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
The site works, all php/html pages are returned, however when a child process seg faults a 0 byte page is returned. I have done quite a bit of searching, some references to mod_perl and mod_php, but AFAIK I am not even running mod perl.
I have rebuilt apache, php and am working on glibc now. I am wondering if anyone else has experienced this on apache 1.3, and if a solution was found. |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Mon Aug 14, 2006 5:09 pm Post subject: |
|
|
Have you checked the urls which were accessed when the child processes have crashed? Could be helpful. |
|
Back to top |
|
|
jzakhar n00b
Joined: 11 Jan 2005 Posts: 5
|
Posted: Mon Aug 14, 2006 5:21 pm Post subject: |
|
|
It is a dynamic php site, there is also a lot of javascript involved. So it is difficult to get any real information regarding which page was served up to see what caused the seg fault
http://www.darkportals.com
I have seen some references to fopen in searches, so I disabled the module that was using it. There is also a module using a popen call, i'm going to have a look at that. |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Tue Aug 15, 2006 7:20 pm Post subject: |
|
|
The first time i clicked on your link I got an empty page. View source showed me the <html> but it wasn't rendered. |
|
Back to top |
|
|
jzakhar n00b
Joined: 11 Jan 2005 Posts: 5
|
Posted: Wed Aug 16, 2006 12:37 am Post subject: |
|
|
uweklosa wrote: | The first time i clicked on your link I got an empty page. View source showed me the <html> but it wasn't rendered. |
Yeah and more then likely generated a segmentation fault in the error_log, by the end of tonight I will have rebuilt glibc, apache and php, so with any luck the problem will be over. Otherwise maybe ill explore moving to apache 2 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|