On Fri, May 02, 2008 at 06:38:09PM +0400, Sergey Skvortsov wrote:
> Simon Bertrang wrote:
>>>>
>>>> Has someone of you an idea where i need to look to get it solved?
>>> Pgollucci found a similar issue with FreeBSD, Gozer posted a patch that
>>> may fix it. Suggest trying out the patch:
>>>
>>> http://www.gossamer-threads.com/list...e64.xsc;#97018
>>>

>>
>> Looked promising but unfortunately didn't help; same as before.
>> And i'm obviously also using the non-threaded version of apr.

>
> Try this patch:
>
> --- src/modules/perl/modperl_apache_compat.h.orig 2008-05-02
> 14:26:52.000000000 +0000
> +++ src/modules/perl/modperl_apache_compat.h 2008-05-02 14:27:06.000000000
> +0000
> @@ -22,6 +22,7 @@
> #if !APR_HAS_THREADS
> typedef unsigned long apr_os_thread_t;
> typedef void * apr_thread_mutex_t;
> +typedef void * apr_thread_rwlock_t;
> #endif
>
> /* back compat adjustements for older Apache versions
>


Yay! That did it.

Test results on OpenBSD/amd64:
All tests successful, 2 tests skipped.
Files=20, Tests=85, 9 wallclock secs ( 6.67 cusr + 1.63 csys = 8.30 CPU)


Thanks a lot
and kind regards

Simon