Bug#392373: apache2-mpm-prefork: does not start on a 2.4 kernel (segmentation fault) because epoll_create() returns ENOSYS
Package: apache2-mpm-prefork
Version: 2.2.3-2
Severity: normal
Apache2 segfaults after an upgrade to apache 2.2 on a 2.4 kernel.
It works if I boot on a 2.6 kernel.
gdb /usr/sbin/apache2
r -X
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1161)]
0x4035516a in apr_pollset_add () from /usr/lib/libapr-1.so.0
(gdb) bt
#0 0x4035516a in apr_pollset_add () from /usr/lib/libapr-1.so.0
#1 0x0808851e in ap_graceful_stop_signalled ()
#2 0x08088974 in ap_graceful_stop_signalled ()
#3 0x0808973a in ap_mpm_run ()
#4 0x080621ff in main ()
strace /usr/sbin/apache2 -e debug -X 2>&1 | tail
munmap(0x40025000, 719) = 0
close(8) = 0
setgroups32(1, [33]) = 0
geteuid32() = 0
setuid32(33) = 0
getpid() = 1404
epoll_create(1) = -1 ENOSYS (Function not implemented)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
man epoll_create
...
CONFORMING TO
epoll_create(2) is a new API introduced in Linux kernel 2.5.44.
The interface should be finalized by Linux kernel 2.5.66.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.26-marc-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apache2-mpm-prefork depends on:
ii apache2. 2.2.3-2 Next generation, scalable, extenda
ii libapr1 1.2.7-6 The Apache Portable Runtime Librar
ii libaprut 1.2.7+dfsg-2 The Apache Portable Runtime Utilit
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libdb4.3 4.3.29-6 Berkeley v4.3 Database Libraries [
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libexpat 1.95.8-3.3 XML parsing C library - runtime li
ii libldap2 2.1.30-13+b1 OpenLDAP libraries
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libpq4 8.1.4-7 PostgreSQL C client library
ii libsqlit 3.3.7-1 SQLite 3 shared library
ii libuuid1 1.39+1.40-WIP-2006.10.02+dfsg-1 universally unique id library
apache2-mpm-prefork recommends no packages.
-- no debconf information
Reply to: