apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: build error on win32
Date Wed, 29 May 2002 21:32:03 GMT
I'm on it.
Expect fixes tonight.

Sander

> From: Branko Cibej [mailto:brane@xbc.nu]
> Sent: 29 May 2002 23:10

> Ho hum. I think there's also a bug in apr_pool_initialize. The sequence 
> there is
> 
>     apr_allocator_create(&global_allocator)
>     apr_pool_create_ex(&global_pool, ...., global_allocator)
>     apr_thread_mutex_create(&mutex, ...)
>     apr_allocator_set_mutex(global_allocator, mutex)
> 
> But apr_pool_create_ex will call apr_allocator_alloc on the provided 
> allocator, and that will call apr_thread_mutex_lock ... on an 
> uninitialized mutex, no less.
> 
> At least, I /think/ that's the problem. Definitely all SVN tests on 
> Windows are crashing in the mutex lock in apr_allocator_alloc, and that 
> mutex definitely hasn't been initialized.


Mime
View raw message