On starting apache2 (either with /etc/init.d/apache2 or with /usr/sbin/apache2) it segfaults strace gave me the following informations: execve("/usr/sbin/apache2", ["/usr/sbin/apache2", "-t"], [/* 58 vars */]) = 0 uname({sys="Linux", node="florian", ...}) = 0 brk(0) = 0x809c000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=141395, ...}) = 0 mmap2(NULL, 141395, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3) = 0 open("/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\23"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=66340, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40036000 mmap2(NULL, 68152, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40037000 mmap2(0x40047000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf) = 0x40047000 close(3) = 0 open("/usr/lib/libaprutil-0.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240Q\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=88516, ...}) = 0 mmap2(NULL, 84200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40048000 mmap2(0x4005c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x14) =0x4005c000 close(3) = 0 open("/usr/lib/libldap.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\200\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=209180, ...}) = 0 mmap2(NULL, 208116, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4005d000 mmap2(0x4008f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31) =0x4008f000 close(3) = 0 open("/usr/lib/libbind.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\205"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=288564, ...}) = 0 mmap2(NULL, 282176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40090000 mmap2(0x400d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x43) =0x400d3000 close(3) = 0 open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\204"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=193464, ...}) = 0 mmap2(NULL, 191216, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400d5000 mmap2(0x40101000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2c) = 0x40101000 close(3) = 0 open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\276"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=1030048, ...}) = 0 mmap2(NULL, 1010136, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40104000 mmap2(0x401e6000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe2) = 0x401e6000 mmap2(0x401f7000, 14808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401f7000 close(3) = 0 mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0 open("/usr/lib/liblber.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`%\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=46536, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401fb000 mmap2(NULL, 48560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401fc000 mmap2(0x40207000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa) = 0x40207000 close(3) = 0 open("/usr/lib/libgdbm.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\23\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=29281, ...}) = 0 mmap2(NULL, 26304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40208000 mmap2(0x4020e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5) = 0x4020e000 close(3) = 0 open("/usr/lib/libdb-4.1.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PG\1\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=879080, ...}) = 0 mmap2(NULL, 797272, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4020f000 mmap2(0x402d0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc0) =0x402d0000 close(3) = 0 open("/usr/lib/libexpat.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`!\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=147712, ...}) = 0 mmap2(NULL, 150144, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d2000 mmap2(0x402f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22) =0x402f5000 close(3) = 0 open("/usr/lib/libapr-0.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\206"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=128708, ...}) = 0 mmap2(NULL, 130796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402f7000 mmap2(0x40315000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d) =0x40315000 mmap2(0x40316000, 3820, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40316000 close(3) = 0 open("/lib/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\36\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=33096, ...}) = 0 mmap2(NULL, 75512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40317000 mmap2(0x4031e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x4031e000 mmap2(0x4031f000, 42744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4031f000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3205\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=152648, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4032a000 mmap2(NULL, 134448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4032b000 mmap2(0x4034b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f) =0x4034b000 close(3) = 0 open("/lib/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\t\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=18732, ...}) = 0 mmap2(NULL, 176732, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4034c000 mmap2(0x40350000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4) = 0x40350000 mmap2(0x40351000, 156252, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40351000 close(3) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P;\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=76472, ...}) = 0 mmap2(NULL, 80512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40378000 mmap2(0x40389000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) =0x40389000 mmap2(0x4038a000, 6784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4038a000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200B\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=62252, ...}) = 0 mmap2(NULL, 327200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4038c000 mmap2(0x40399000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd) = 0x40399000 mmap2(0x4039a000, 269856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4039a000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0f\33\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=10324, ...}) = 0 mmap2(NULL, 12080, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x403dc000 mmap2(0x403de000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x403de000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0!Y\1\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1151000, ...}) = 0 mmap2(NULL, 1081252, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x403df000 mmap2(0x404e1000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x101)= 0x404e1000 mmap2(0x404e5000, 8100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x404e5000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404e7000 munmap(0x40013000, 141395) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0x40399060, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 getpid() = 12376 rt_sigaction(SIGRTMIN, {0x40393dd9, [], 0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x40393f19, [], 0}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x403940f6, [], 0}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfffed74, 35, (nil), 0}) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "t\266\242\337", 4) = 4 close(3) = 0 brk(0) = 0x809c000 brk(0x80bd000) = 0x80bd000 brk(0) = 0x80bd000 brk(0) = 0x80bd000 brk(0x80df000) = 0x80df000 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Reproducible: Always Steps to Reproduce: 1.Start apache2 2. 3. Actual Results: Apache segfaults Expected Results: Starting normally
please attach emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r7) ================================================================= System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr composite crypt cups dvdencode esd f77 foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell sqlite ssl svga tcltk tcpd tetex theora truetype usb x86 xinerama xml2 xmms xprint xv zlib"
Please re-open (with a stacktrace from "gdb /usr/sbib/apache2 -X") if you can reproduce this with latest apache (2.0.52-r1).
No response, closing. Please re-open if you continue to experience this issue.