Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apr_pools: Set APR_POOL_DEBUG's pool->owner before using the pool.
The mutex synchronizing the pool in APR_POOL_DEBUG mode is created by apr_pool_create_ex_debug() on the created pool itself but before initialising the ->owner thread, so apr_thread_mutex_create() can abort() when reaching apr_pool_check_owner() if APR_POOL_DEBUG_OWNER is set. Move the ->owner initialisation before creating the ->mutex. Merges r1916282 from ^/apr/apr/branches/1.8.x Merges r1916278 from trunk. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1916283 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information