Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94832

Summary: apache-2.0.54 child pid seg fault on attempt to load any web page
Product: Gentoo Linux Reporter: Christopher Delcamp <chris.delcamp>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED INVALID    
Severity: critical CC: ford_prefect
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Delcamp 2005-06-02 09:00:42 UTC
The page doesn't load and the log shows a child pid segfault.

Reproducible: Always
Steps to Reproduce:
1. Open web browser
2. Try to load any web page on the server

Actual Results:  
Page source returned (every attempt):
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"><html><head><title></title></head><body></body></html>

Log file exerpt (several attempts at several different files along with a few
apache restarts to see if it would fix the problem):
[Thu Jun 02 11:30:01 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e PHP/4.3.11 configured -- resuming normal operations
[Thu Jun 02 11:30:24 2005] [notice] child pid 2774 exit signal Segmentation
fault (11)
[Thu Jun 02 11:30:29 2005] [notice] child pid 2775 exit signal Segmentation
fault (11)
[Thu Jun 02 11:30:29 2005] [notice] child pid 2776 exit signal Segmentation
fault (11)
[Thu Jun 02 11:30:39 2005] [notice] child pid 2772 exit signal Segmentation
fault (11)
[Thu Jun 02 11:30:49 2005] [notice] caught SIGTERM, shutting down
[Thu Jun 02 11:30:56 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Thu Jun 02 11:30:56 2005] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 02 11:30:56 2005] [notice] Digest: done
[Thu Jun 02 11:30:57 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e PHP/4.3.11 configured -- resuming normal operations
[Thu Jun 02 11:31:00 2005] [notice] child pid 3072 exit signal Segmentation
fault (11)
[Thu Jun 02 11:31:06 2005] [notice] child pid 3073 exit signal Segmentation
fault (11)
[Thu Jun 02 11:33:39 2005] [notice] child pid 3074 exit signal Segmentation
fault (11)
[Thu Jun 02 11:34:44 2005] [notice] child pid 3075 exit signal Segmentation
fault (11)
[Thu Jun 02 11:43:59 2005] [notice] caught SIGTERM, shutting down
[Thu Jun 02 11:44:02 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Thu Jun 02 11:44:03 2005] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 02 11:44:03 2005] [notice] Digest: done
[Thu Jun 02 11:44:04 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e PHP/4.3.11 configured -- resuming normal operations
[Thu Jun 02 11:44:08 2005] [notice] child pid 4660 exit signal Segmentation
fault (11)
[Thu Jun 02 11:44:13 2005] [notice] child pid 4662 exit signal Segmentation
fault (11)
[Thu Jun 02 11:48:36 2005] [notice] SIGHUP received.  Attempting to restart
[Thu Jun 02 11:48:36 2005] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 02 11:48:36 2005] [notice] Digest: done
[Thu Jun 02 11:48:36 2005] [info] Init: Initializing OpenSSL library
[Thu Jun 02 11:48:36 2005] [info] Init: Seeding PRNG with 136 bytes of entropy
[Thu Jun 02 11:48:36 2005] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Thu Jun 02 11:48:36 2005] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(365): shmcb_init allocated
512000 bytes of shared memory
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(568): entered
shmcb_init_memory()
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(590): for 512000 bytes,
recommending 4266 indexes
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(633): shmcb_init_memory
choices follow
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(635): division_mask = 0x1F
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(637): division_offset = 64
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(639): division_size = 15998
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(641): queue_size = 1604
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(643): index_num = 133
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(645): index_offset = 8
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(647): index_size = 12
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(649): cache_data_offset = 8
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(651): cache_data_size = 14386
[Thu Jun 02 11:48:36 2005] [debug] ssl_scache_shmcb.c(664): leaving
shmcb_init_memory()
[Thu Jun 02 11:48:36 2005] [info] Shared memory session cache initialised
[Thu Jun 02 11:48:36 2005] [info] Init: Initializing (virtual) servers for SSL
[Thu Jun 02 11:48:36 2005] [info] Server: Apache/2.0.54, Interface:
mod_ssl/2.0.54, Library: OpenSSL/0.9.7e
[Thu Jun 02 11:48:37 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e PHP/4.3.11 configured -- resuming normal operations
[Thu Jun 02 11:48:37 2005] [info] Server built: Jun  2 2005 11:14:04
[Thu Jun 02 11:48:37 2005] [debug] prefork.c(956): AcceptMutex: sysvsem
(default: sysvsem)
[Thu Jun 02 11:49:00 2005] [notice] child pid 5335 exit signal Segmentation
fault (11)
[Thu Jun 02 11:49:09 2005] [notice] child pid 5336 exit signal Segmentation
fault (11)
[Thu Jun 02 11:49:25 2005] [notice] child pid 5337 exit signal Segmentation
fault (11)


Expected Results:  
loaded the page requested.

Apache2 with mod_php4 and nagios

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.7-gentoo i686)
=================================================================
System uname: 2.6.7-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 08:25:18)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts berkdb bitmap-fonts crypt cups dba emboss
encode ethereal foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 imlib ipv6
jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql nagios-dns
nagios-ntp nagios-ping nagios-ssh ncurses nls oggvorbis opengl oss pam pdflib
perl php png python qt quicktime readline samba sdl session slang snmp spell ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2005-06-02 09:13:32 UTC
Have you tried this (or is this even relevant)?

http://lists.debian.org/debian-user/2004/08/msg09211.html
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-06-02 21:12:38 UTC
Are you using an ~arch revision? (-r5 or -r6)

If so, see if following the instructions in this document helps you:
http://dev.gentoo.org/~vericgar/apache/doc/apache-troubleshooting.html
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2005-06-03 02:52:56 UTC
> If so, see if following the instructions in this document helps you:
> http://dev.gentoo.org/~vericgar/apache/doc/apache-troubleshooting.html

The link doesn't work. Did you mean
http://dev.gentoo.org/~vericgar/doc/apache-troubleshooting.html ?
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-06-03 19:14:45 UTC
yes, my bad. it was past my bedtime :)
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-11 20:21:07 UTC
no response from reporter. closing.