You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/01/09 15:21:23 UTC
DO NOT REPLY [Bug 46501] New: Apache 2.2.11 segfaults on kernel
2.6.28
https://issues.apache.org/bugzilla/show_bug.cgi?id=46501
Summary: Apache 2.2.11 segfaults on kernel 2.6.28
Product: Apache httpd-2
Version: 2.2.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: prefork
AssignedTo: bugs@httpd.apache.org
ReportedBy: werner@aloah-from-hell.de
Created an attachment (id=23100)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23100)
GDB-Backtrace
Hi everybody,
since I've upgraded the kernel of my webserver from version 2.6.26.9 to the
latest kernel 2.6.28 my apache started to segfault:
[Fri Jan 09 12:39:00 2009] [notice] child pid 11610 exit signal Segmentation
fault (11)
[Fri Jan 09 12:39:00 2009] [notice] child pid 11611 exit signal Segmentation
fault (11)
[Fri Jan 09 12:39:00 2009] [notice] child pid 11612 exit signal Segmentation
fault (11)
[Fri Jan 09 12:39:00 2009] [notice] child pid 11613 exit signal Segmentation
fault (11)
I've tried to track down the source of the problem with a coredump, gdb and
mod_backtrace.
In /var/log/kern.log this shows up as follows:
Jan 9 15:00:10 n2 kernel: httpd[3882]: segfault at e264e350 ip
00007f47e2494941 sp 00007fffeb45f4d0 error 4 in
libc-2.3.6.so[7f47e2412000+121000]
Jan 9 15:00:10 n2 kernel: httpd[3880]: segfault at e264e350 ip
00007f47e2494941 sp 00007fffeb45f4d0 error 4 in
libc-2.3.6.so[7f47e2412000+121000]
I've attached the output of the backtrace to this message for further
investigation. As far as I understand the output of the backtrace, the source
of the problem might be:
#5 apr_pollset_add (pollset=0x0, descriptor=0x7fff85c4f4f0) at
poll/unix/epoll.c:150
line 150 is:
if (pollset->flags & APR_POLLSET_NOCOPY) {
seems like as if a dereferencing of the nullpointer is tried. This is a result
of line 520 in prefork.c:
/* ### check the status */
(void) apr_pollset_create(&pollset, num_listensocks, pchild, 0);
This obvisiously doesn't work and the error is not correctly handled. Possible
reasons:
- epoll_create or apr_palloc aborts
In the changelog of the kernel I've found something interesting:
commit 7ef9964e6d1b911b78709f144000aacadd0ebc21
Author: Davide Libenzi <da...@xmailserver.org>
Date: Mon Dec 1 13:13:55 2008 -0800
epoll: introduce resource usage limits
Maybe this sticks together? Please let me know if you need further information.
best regards,
Werner Detter
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46501] Apache 2.2.11 segfaults on kernel 2.6.28
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46501
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Eric Covener <co...@gmail.com> 2009-01-09 06:27:51 PST ---
*** This bug has been marked as a duplicate of bug 46467 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org