http://subversion.tigris.org/issues/show_bug.cgi?id=3289 Issue #|3289
Summary|--enable-runtime-module-search: apr cleanup unloads ne
|on library too soon
Component|subversion
Version|1.5.x
Platform|All
URL|
http://subversion.tigris.org/servlets/BrowseList?list= |dev&by=thread&from=656592
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|unknown
Assigned to|issues@subversion
Reported by|gagern
------- Additional comments from
gagern@... Tue Sep 23 12:29:30 -0700 2008 -------
This issue here hase come up on the mailing lists at least twice now:
http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=653919http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=656592To summarize:
The problem is that if svn has been configured with
--enable-runtime-module-search, in some cases (running git-svn) when the APR
cleanup (apr_terminate) cleans its pools (apr_pool_destroy), it will unload
shared libraries (libsvn_ra_neon-1.so.0) while there are still neon objects
around. When the cleanup tries to clean those, their cleanup function
(cleanup_session) is no longer available, which causes a segmentation fault.
I see two possible solutions. One is to have the APR cleanup code ensure that
libraries get unloaded only after all other objects from the current part of the
pool hierarchy have been cleaned. The other would be to have subversion pool
management restructured in some way, such that the DSO pool gets cleared after
the other objects.
I realize that fixing the issue properly might be a really hard thing to do, and
might probably involve major changes on the APR part as well. In that case, as
the issue had even been named a "showstopper" for 1.5.0 release in one of the
above threads, I suggest to mark the --enable-runtime-module-search
configuration flag as unsupported, experimental and known to break things.
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...