Bug#355858: apache segfaults (sig 11) when using mod_rewriterule, amd64 specific
Package: apache
Version: 1.3.33-6sarge1
Severity: grave
Justification: renders package unusable
Additional information provided below.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apache depends on:
ii apache-common 1.3.33-6sarge1 support files for all Apache webse
ii debconf 1.4.30.13 Debian configuration management sy
ii dpkg 1.10.28 Package maintenance system for Deb
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libmagic1 4.12-1 File type determination library us
ii logrotate 3.7-5 Log rotation utility
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-8sarge3 Larry Wall's Practical Extraction
-- debconf information:
apache/server-name: localhost
apache/server-port: 80
apache/enable-suexec: false
apache/init: true
apache/document-root: /var/www
apache/server-admin: webmaster@bibl.u-szeged.hu
-- snippet from httpd.conf --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog /var/log/apache/rewrite.log
RewriteLogLevel 9
RewriteRule /languages/([a-z]+)/([a-z]+)/([a-z]+)/([0-9a-z]+)$ /index.php?cmd=$2&lang=$1&oper=$3¶m=$4
RewriteRule /languages/([a-z]+)/([a-z]+)/([a-z]+)$ /index.php?cmd=$2&lang=$1&oper=$3
RewriteRule /languages/([a-z]+)/([a-z]+)$ /index.php?cmd=$2&lang=$1
</IfModule>
-- snippet from rewrite.log --
160.114.48.62 - - [08/Mar/2006:09:38:42 +0100] [SITENAME/sid#58a758][rid#809eb0/initial] (2) init rewrite engine with requested uri /languages/hungarian/edit
160.114.48.62 - - [08/Mar/2006:09:38:42 +0100] [SITENAME/sid#58a758][rid#809eb0/initial] (3) applying pattern '/languages/([a-z]+)/([a-z]+)/([a-z]+)/([0-9a-z]+)$' to uri '/languages/hungarian/edit'
160.114.48.62 - - [08/Mar/2006:09:38:42 +0100] [SITENAME/sid#58a758][rid#809eb0/initial] (2) init rewrite engine with requested uri /languages/hungarian/edit
160.114.48.62 - - [08/Mar/2006:09:38:42 +0100] [SITENAME/sid#58a758][rid#809eb0/initial] (3) applying pattern '/languages/([a-z]+)/([a-z]+)/([a-z]+)/([0-9a-z]+)$' to uri '/languages/hungarian/edit'
-- snippet from global apache error.log --
[Wed Mar 8 09:38:42 2006] [notice] child pid 25554 exit signal Segmentation fault (11)
[Wed Mar 8 09:38:42 2006] [notice] child pid 25555 exit signal Segmentation fault (11)
-- other information:
* same config works on the same server on an i386 chroot system
(same apache, same libs, same PHP version (compiled from source))
* removing the first rewriterule causes system works for urls like the
one in rewrite.log, but still segfaults on this: /languages/hungarian
Reply to: