[Python-modules-team] Bug#558608: libapache2-mod-wsgi: Apache crashes

Jakub Wilk ubanus at users.sf.net
Tue Dec 1 16:00:56 UTC 2009


Here's how to reproduce the bug in a clean sid chroot:

# apt-get install apache2
[snip]
Unpacking procps (from .../procps_1%3a3.2.8-2_i386.deb) ...
Selecting previously deselected package libcap2.
Unpacking libcap2 (from .../libcap2_1%3a2.17-2_i386.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_5.03-3_i386.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-3_i386.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.46-1_all.deb) ...
Selecting previously deselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.3.9+dfsg-3_i386.deb) ...
Selecting previously deselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.3.9+dfsg-3_i386.deb) ...
Selecting previously deselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.14-3_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.14-3_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.14-3_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.14-3_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.14-3_i386.deb) ...
Setting up procps (1:3.2.8-2) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode.
************************************
All rc.d operations denied by policy
************************************
Setting up libcap2 (1:2.17-2) ...
Setting up libmagic1 (5.03-3) ...
Setting up libpcre3 (7.8-3) ...
Setting up mime-support (3.46-1) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode.
Setting up libaprutil1-dbd-sqlite3 (1.3.9+dfsg-3) ...
Setting up libaprutil1-ldap (1.3.9+dfsg-3) ...
Setting up apache2.2-bin (2.2.14-3) ...
Setting up apache2-utils (2.2.14-3) ...
Setting up apache2.2-common (2.2.14-3) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Setting up apache2-mpm-worker (2.2.14-3) ...
************************************
All rc.d operations denied by policy
************************************
Setting up apache2 (2.2.14-3) ...

# /etc/init.d/apache2 start
Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.

# apt-get install libapache2-mod-wsgi
[snip]
Unpacking libreadline6 (from .../libreadline6_6.0-5_i386.deb) ...
Selecting previously deselected package libdb4.5.
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13.1_i386.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.4-3_i386.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.4-3_i386.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.4-2_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-2_all.deb) ...
Selecting previously deselected package libapache2-mod-wsgi.
Unpacking libapache2-mod-wsgi (from .../libapache2-mod-wsgi_2.6-1_i386.deb) ...
Setting up libreadline6 (6.0-5) ...
Setting up libdb4.5 (4.5.20-13.1) ...
Setting up python2.5-minimal (2.5.4-3) ...
Setting up python2.5 (2.5.4-3) ...
Setting up python-minimal (2.5.4-2) ...
Setting up python (2.5.4-2) ...
Setting up libapache2-mod-wsgi (2.6-1) ...
************************************
All rc.d operations denied by policy
************************************

# /etc/init.d/apache2 reload
Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.

# tail -f /var/log/apache2/error.log 
[Tue Dec 01 15:31:32 2009] [notice] Apache/2.2.14 (Debian) configured -- resuming normal operations
[Tue Dec 01 15:32:12 2009] [notice] SIGUSR1 received.  Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Dec 01 15:32:12 2009] [notice] Apache/2.2.14 (Debian) configured -- resuming normal operations
[Tue Dec 01 15:32:12 2009] [notice] child pid 9853 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:12 2009] [notice] child pid 9854 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:14 2009] [notice] child pid 9855 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:15 2009] [notice] child pid 9857 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:16 2009] [notice] child pid 9859 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:17 2009] [notice] child pid 9862 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:18 2009] [notice] child pid 9864 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:19 2009] [notice] child pid 9866 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:20 2009] [notice] child pid 9868 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:21 2009] [notice] child pid 9870 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:22 2009] [notice] child pid 9872 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:23 2009] [notice] child pid 9874 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:24 2009] [notice] child pid 9876 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:24 2009] [notice] child pid 9878 exit signal Segmentation fault (11)
[Tue Dec 01 15:32:24 2009] [notice] child pid 9879 exit signal Segmentation fault (11)

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20091201/548aca37/attachment.pgp>


More information about the Python-modules-team mailing list