apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44875] Frequent SIGSEGV in apr_pool_destroy when shutting down Tomcat
Date Mon, 05 May 2008 06:35:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44875


Mladen Turk <mturk@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #9 from Mladen Turk <mturk@apache.org>  2008-05-04 23:35:28 PST ---
It's a bug caused by double free. The root of the problem
is the fact that root pool on apr_terminate will destroy
all subpools before calling cleanups.
With APR 1.3 we have two new pool functions, one
for registering pre-callbacks allowing to cleanly close everything
before the pool is destroyed, and the other is to create detached
pools from the root pool. Since Java has its own GC, we can trust
it will always destroy the pool when the object is destroyed.

I'm closing this case in APR, cause its Tomcat Native problem,
so you might reopen the issue in Tomcat.
However the solution will be fully resolved once when we use 1.3 for TC native.


-- 
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@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message