Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330839 Details for
Bug 223747
dev-vcs/subversion: Segfault in apr_terminate during cleanup for git-svn as perl unloaded neon
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
gentoo223747b.patch (text/plain), 1.72 KB, created by
Martin von Gagern
on 2012-11-28 16:07:07 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2012-11-28 16:07:07 UTC
Size:
1.72 KB
patch
obsolete
>Index: subversion-1.7.7/subversion/include/svn_pools.h >=================================================================== >--- subversion-1.7.7.orig/subversion/include/svn_pools.h >+++ subversion-1.7.7/subversion/include/svn_pools.h >@@ -72,6 +72,9 @@ svn_pool_create_ex_debug(pool, allocator > /** Create a pool as a subpool of @a parent_pool */ > #define svn_pool_create(parent_pool) svn_pool_create_ex(parent_pool, NULL) > >+apr_pool_t * >+svn_pool_create_unmanaged(void); >+ > /** Clear a @a pool destroying its children. > * > * This define for @c svn_pool_clear exists for completeness. >Index: subversion-1.7.7/subversion/libsvn_subr/dso.c >=================================================================== >--- subversion-1.7.7.orig/subversion/libsvn_subr/dso.c >+++ subversion-1.7.7/subversion/libsvn_subr/dso.c >@@ -31,7 +31,7 @@ > static apr_thread_mutex_t *dso_mutex; > #endif > >-/* Global pool to allocate DSOs in. */ >+/* Global unmanaged pool to allocate DSOs in. */ > static apr_pool_t *dso_pool; > > /* Global cache for storing DSO objects. */ >@@ -55,7 +55,7 @@ svn_dso_initialize2(void) > if (dso_pool) > return SVN_NO_ERROR; > >- dso_pool = svn_pool_create(NULL); >+ dso_pool = svn_pool_create_unmanaged(); > > #if APR_HAS_THREADS > status = apr_thread_mutex_create(&dso_mutex, >Index: subversion-1.7.7/subversion/libsvn_subr/pool.c >=================================================================== >--- subversion-1.7.7.orig/subversion/libsvn_subr/pool.c >+++ subversion-1.7.7/subversion/libsvn_subr/pool.c >@@ -97,3 +97,11 @@ svn_pool_create_ex(apr_pool_t *pool, apr > } > > #endif /* APR_POOL_DEBUG */ >+ >+apr_pool_t * >+svn_pool_create_unmanaged() >+{ >+ apr_pool_t *pool; >+ apr_pool_create_unmanaged_ex(&pool, abort_on_pool_failure, NULL); >+ return pool; >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223747
:
330772
| 330839