Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97576 - apache aborts with "segmentation fault" and "corrupted double-linked list"
Summary: apache aborts with "segmentation fault" and "corrupted double-linked list"
Status: RESOLVED DUPLICATE of bug 94583
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 23:57 UTC by Christoph Schulz
Modified: 2005-07-01 12:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/xml/catalog (catalog,1.38 KB, text/plain)
2005-07-01 04:03 UTC, Stian Skjelstad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Schulz 2005-06-30 23:57:44 UTC
Since apache2 versions > 2.0.52 I encounter segmentation faults and messages
about corrupted linked lists (in /var/log/apache2/error_log):

[Thu Jun 30 18:16:26 2005] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 30 18:16:26 2005] [notice] Digest: done
[Thu Jun 30 18:16:28 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jun 30 18:16:28 2005] [notice] LDAP: SSL support available
[Thu Jun 30 18:16:28 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e DAV/2 SVN/1.1.3 PHP/4.3.11 configured -- resuming normal operations
[Thu Jun 30 18:21:37 2005] [notice] child pid 18114 exit signal Segmentation
fault (11)
*** glibc detected *** corrupted double-linked list: 0xb7c45a7c ***
[Thu Jun 30 18:21:38 2005] [notice] child pid 18115 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0xb7c45a7c ***
[Thu Jun 30 18:21:41 2005] [notice] child pid 18123 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0xb7c45a7c ***
[Thu Jun 30 18:21:44 2005] [notice] child pid 18124 exit signal Aborted (6)
[Thu Jun 30 18:21:57 2005] [notice] child pid 18113 exit signal Segmentation
fault (11)
*** glibc detected *** corrupted double-linked list: 0x08402a60 ***
[Thu Jun 30 18:23:05 2005] [notice] child pid 18112 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x083cc350 ***
[Thu Jun 30 18:23:08 2005] [notice] child pid 18116 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x08411558 ***
[Thu Jun 30 18:23:21 2005] [notice] child pid 29449 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x085a4cb8 ***
[Thu Jun 30 18:25:00 2005] [notice] child pid 31821 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x0831f0a0 ***
[Thu Jun 30 18:25:03 2005] [notice] child pid 30726 exit signal Aborted (6)


With the latest stable 2.0.52 the problem goes away.
I haven't tested apache2 without PHP and/or Subversion, so I cannot say if it's
a) apache2's fault
b) mod_php's fault
c) Subversion's fault (very unlikely, as it hasn't been involved in the tests)
d) any other module's fault (e.g. the OpenLDAP authentication)

However, all modules and web applications work flawlessly in 2.0.52.

I re-emerged mod_php, subversion, and horde, but the bugs did not go away. If
you have some proposals how to track down the error, I'll try it... Perhaps it's
a well-known issue, but I haven't found anything about it in the database.

Reproducible: Sometimes
Steps to Reproduce:
1. Upgrade to 2.0.54r7 (the current stable one for x86)
2. Restart the server properly
3. Try to retrieve a web page from the server several times. In my case it was
the start page of the Horde web application. If you try long enough (max. one
minute) you encounter the errors I described above.
Actual Results:  
See the messages above. Another example:

[Fri May 13 08:58:42 2005] [notice] Digest: generating secret for digest
authentication ...
[Fri May 13 08:58:42 2005] [notice] Digest: done
[Fri May 13 08:58:43 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri May 13 08:58:43 2005] [notice] LDAP: SSL support available
[Fri May 13 08:58:43 2005] [notice] Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e DAV/2 SVN/1.1.3 PHP/4.3.11 configured -- resuming normal operations
[Fri May 13 08:59:35 2005] [error] [client 192.168.1.2] File does not exist:
/var/www/localhost/htdocs/public/favicon.ico
*** glibc detected *** corrupted double-linked list: 0xb7c5ba7c ***
[Fri May 13 09:01:45 2005] [notice] child pid 2222 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0xb7c5ba7c ***
[Fri May 13 09:02:07 2005] [notice] child pid 2106 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x083b28a0 ***
[Fri May 13 09:02:09 2005] [notice] child pid 2304 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0xb7c5ba7c ***
[Fri May 13 09:02:12 2005] [notice] child pid 2103 exit signal Aborted (6)
[Fri May 13 09:04:53 2005] [notice] child pid 2104 exit signal Segmentation
fault (11)
*** glibc detected *** corrupted double-linked list: 0xb7c5ba7c ***
[Fri May 13 09:04:54 2005] [notice] child pid 2107 exit signal Aborted (6)
*** glibc detected *** corrupted double-linked list: 0x08394ab8 ***
[Fri May 13 09:04:55 2005] [notice] child pid 8419 exit signal Aborted (6)
[Fri May 13 09:06:10 2005] [notice] child pid 2310 exit signal Segmentation
fault (11)

Expected Results:  
No aborts, no corrupted linked lists.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 09:42:05)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 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="-O2 -march=i686 -fomit-frame-pointer -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 acl alsa apache2 apm berkdb bitmap-fonts bzlib crypt cups curl
emboss encode fam foomaticdb gd gdbm gif imagemagick imap innodb ipv6 java jpeg
ldap libg++ libwww mmap mp3 mysql mysqli ncurses nls oss pam pdflib perl php png
postgres python readline samba session spell ssl tcpd tiff truetype
truetype-fonts type1-fonts wmf xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Stian Skjelstad 2005-07-01 04:03:27 UTC
Created attachment 62394 [details]
/etc/xml/catalog

working sample from my machine. I don't have a clue how the file is generated.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-01 12:48:39 UTC
Broken mod_ldap...

*** This bug has been marked as a duplicate of 94583 ***