httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39985] New: - mod_dbd shutdown double free via dbd_close
Date Thu, 06 Jul 2006 23:42:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39985

           Summary: mod_dbd shutdown double free via dbd_close
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mkent@magoazul.com


My httpd threads are all exiting with:
*** glibc detected *** double free or corruption (!prev): 0xb8da2940 ***
on shutdown. And due to the MALLOC_CHECK this causes some issues.

I've isolated the problem to mod_dbd, more specifically to the
apr_pool_destroy(conn->pool) called in dbd_close during the shutdown cleanup. If
I comment out that destory, things are fine.

This didn't happen an older release of mod_dbd, but I've noticed there was some
reworking on the pools in this version.

I'll attach my gdb session were you can clearly see the problem, couldn't figure
out why this is happening though as I'm no debugging or apr wiz.

If it matters I've tried apr/apr-util 1.2.2 and 1.2.7 with the same results.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message