Bug 160034
Summary: | httpd segfaults in mod_auth_ldap /util_ldap after several requests | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | John Callahan <jcallaha> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | patrickm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://issues.apache.org/bugzilla/show_bug.cgi?id=24801 | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2005-622 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-05 15:38:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 156322 |
Description
John Callahan
2005-06-10 08:33:28 UTC
Thanks for the report, John. Hi Joe - I applied the patch mentioned above and it did not solve my problem, or at least not solve it completely. On the bright side however, further digging lead me a simple but very damaging bug in apr-util-0.9.4 in find_block_of_size(): if it finds a block in the free list that is bigger than desired, it will split it into two blocks -- the desired size block, and the remainder of the old block. However, when it inserts the new block into the free list, it creates a loop with the prev pointer, causing any subsequent move on the new block to corrupt the list. Here is the relevant code change in SVN for apr-util: http://svn.apache.org/viewcvs.cgi/apr/apr-util/branches/APU_0_9_BRANCH/misc/apr_rmm.c?rev=58960&r1=58926&r2=58960&diff_format=h Prior to this patch, I would crash several times a day. Since the patch, the server has worked perfectly. Thanks for the further analysis, John. During testing, we found a couple of additional bugs to those you reference above. Experimental test update packages, queued for inclusion in U2, are available here: http://people.redhat.com/jorton/Nahant-httpd/ An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-622.html |