apache2 crashes on svn query with kerberos + ssl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache2 Web Server |
Invalid
|
Medium
|
|||
apache2 (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
libapache-mod-auth-kerb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2
Description: Ubuntu 10.04 LTS Server
Release: 10.04
apache2 2.2.14-5ubuntu8
Hudson queries svn-server for a repository, the connection drops and apache crahes.
svn-queries using tortoise-svn work perfectly
The svn-server is the only site running on that server.
mods-enabled:
alias.conf -> ../mods-
alias.load -> ../mods-
auth_basic.load -> ../mods-
auth_kerb.load -> ../mods-
authn_file.load -> ../mods-
authz_default.load -> ../mods-
authz_groupfile
authz_host.load -> ../mods-
authz_user.load -> ../mods-
autoindex.conf -> ../mods-
autoindex.load -> ../mods-
cgid.conf -> ../mods-
cgid.load -> ../mods-
dav.load -> ../mods-
dav_svn.conf -> ../mods-
dav_svn.load -> ../mods-
deflate.conf -> ../mods-
deflate.load -> ../mods-
dir.conf -> ../mods-
dir.load -> ../mods-
env.load -> ../mods-
mime.conf -> ../mods-
mime.load -> ../mods-
negotiation.conf -> ../mods-
negotiation.load -> ../mods-
reqtimeout.conf -> ../mods-
reqtimeout.load -> ../mods-
setenvif.conf -> ../mods-
setenvif.load -> ../mods-
ssl.conf -> ../mods-
ssl.load -> ../mods-
status.conf -> ../mods-
status.load -> ../mods-
sites-enabled:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/svn/www
ServerName svnserver.
ServerAlias svnserver.
# allow transfer of very large files
LimitRequestBody 0
LimitXMLReque
SSLEngine On
SSLCertificat
SSLCertificat
ErrorLog /var/log/
LogLevel warn
CustomLog /var/log/
# general settings
<Location />
SSLRequireSSL
Require valid-user
AuthName "Subversion repository"
AuthType Kerberos
KrbAuthRealms MYDOMAIN.LOCAL
KrbServiceName HTTP
KrbMethodNe
KrbMethodK5
KrbSaveCred
Krb5Keytab "/etc/apache2/
</Location>
# repository specific settings
Include /var/svn/
</VirtualHost>
</IfModule>
apache2.conf:
ServerRoot "/etc/apache2"
LockFile /var/lock/
PidFile ${APACHE_PID_FILE}
Timeout 1800
KeepAlive Off
MaxKeepAliveReq
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequests
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequests
</IfModule>
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequests
</IfModule>
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/
LogLevel debug
Include /etc/apache2/
Include /etc/apache2/
Include /etc/apache2/
Include /etc/apache2/
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/
Include /etc/apache2/
Include /etc/apache2/
Changed in apache2: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
Attached is a gdb coredump-output from this crash:
[Wed May 12 09:37:44 2010] [notice] child pid 417 exit signal Segmentation fault (11), possible coredump in /tmp tpp_change_ priority: Assertion `new_prio == -1 || (new_prio >= __sched_ fifo_min_ prio && new_prio <= __sched_ fifo_max_ prio)' failed. so.6(+0x775b6) [0x7f667b2e25b6 ] so.6(cfree+ 0x73)[0x7f667b2 e8e53] libkrb5. so.3(+0x39fd7) [0x7f6679d29fd7 ] apache2/ modules/ mod_auth_ kerb.so( +0x34a2) [0x7f667a1eb4a2 ] apache2/ modules/ mod_auth_ kerb.so( +0x3650) [0x7f667a1eb650 ] apache2/ modules/ mod_auth_ kerb.so( +0x454c) [0x7f667a1ec54c ] apache2/ modules/ mod_auth_ kerb.so( +0x5e9f) [0x7f667a1ede9f ] apache2( ap_run_ check_user_ id+0x68) [0x7f667c0f12a8 ] apache2( ap_process_ request_ internal+ 0x262)[ 0x7f667c0f34e2] apache2( ap_process_ request+ 0x1b8)[ 0x7f667c1075d8] apache2( +0x52498) [0x7f667c104498 ] apache2( ap_run_ process_ connection+ 0x68)[0x7f667c0 fdf38] apache2( +0x5ae82) [0x7f667c10ce82 ] libapr- 1.so.0( +0x292ff) [0x7f667b8332ff ] .so.0(+ 0x69ca) [0x7f667b5f39ca ] so.6(clone+ 0x6d)[0x7f667b3 5169d] 7f6658031000 rw-p 00000000 00:00 0 7f665c000000 ---p 00000000 00:00 0 7f665c032000 rw-p 00000000 00:00 0 7f6660000000 ---p 00000000 00:00 0 7f666005a000 rw-p 00000000 00:00 0 7f6664000000 ---p 00000000 00:00 0 7f6665901000 r-xp 00000000 08:01 260979 /lib/libnss_ dns-2.11. 1.so 7f6665b00000 ---p 00005000 08:01 260979 /lib/libnss_ dns-2.11. 1.so 7f6665b01000 r--p 00004000 08:01 260979 /lib/libnss_ dns-2.11. 1.so 7f6665b02000 rw-p 00005000 08:01 260979 /lib/libnss_ dns-2.11. 1.so 7f6665b04000 r-xp 00000000 08:01 82101 /usr/lib/ krb5/plugins/ preauth/ encrypted_ challenge. so 7f6665d03000 ---p 00002000 08:01 82101 /usr/lib/ krb5/plugins/ preauth/ encrypted_ challenge. so 7f6665d04000 r--p 00001000 08:01 82101 /usr/lib/ krb5/plugins/ preauth/ encrypted_ challenge. so 7f6665d05000 rw-p 00002000 08:01 82101 /usr/lib/ krb5/plugins/ preauth/ encrypted_ challenge. so 7f6665d1b000 r-xp 00000000 08:01 260796 /lib/libgcc_s.so.1 7f6665f1a000 ---p 00016000 08:01 260796 /lib/libgcc_s.so.1 7f6665f1b000 r--p 00015000 08:...
*** glibc detected *** /usr/sbin/apache2: double free or corruption (fasttop): 0x00007f6660018d20 ***
[Wed May 12 09:37:45 2010] [notice] child pid 549 exit signal Segmentation fault (11), possible coredump in /tmp
apache2: tpp.c:63: __pthread_
[Wed May 12 09:37:46 2010] [notice] child pid 582 exit signal Segmentation fault (11), possible coredump in /tmp
[Wed May 12 09:37:46 2010] [notice] child pid 583 exit signal Aborted (6), possible coredump in /tmp
*** glibc detected *** /usr/sbin/apache2: free(): invalid pointer: 0x00007f665c0085f0 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/lib/
/lib/libpthread
/lib/libc.
======= Memory map: ========
7f6658000000-
7f6658031000-
7f665c000000-
7f665c032000-
7f6660000000-
7f666005a000-
7f66658fc000-
7f6665901000-
7f6665b00000-
7f6665b01000-
7f6665b02000-
7f6665b04000-
7f6665d03000-
7f6665d04000-
7f6665d05000-
7f6665d1b000-
7f6665f1a000-