apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56063] testcond deadlocks on Tru64 V4.0F (PK8)
Date Wed, 14 May 2014 19:37:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56063

--- Comment #3 from Urs Traber <urs.traber@gmail.com> ---
I have worked on a --disable-mutex-recursive switch to configure APR without
recursive mutexes. They remain enabled by default on platforms that support
them.

Of course when APR is configured with --disable-mutex-recursive we need to look
and take care of all existing usages of APR_THREAD_MUTEX_NESTED. APR-util e.g.
uses it in thread_pool_construct(). I have replaced this mutex attribute and
provided a test. Test coverage of the apr_thread_pool could be better though.

The two patched have been tested on:

o Tru64 UNIX V5.1B (Rev. 2650) PK7 (Alpha EV67)
 - Compaq C V6.5-303
 - APR :--recursive-mutex-enabled [ok]
 -   APR-util: [ok]
 - APR: --recursive-mutex-disabled [ok] 
 -   APR-util: [ok] 

o Digital UNIX V4.0F (Rev. 1229) PK8 (Alpha EV6)
 - Compaq C V6.5-303
 - APR: --recursive-mutex-disabled [ok] 
 -   APR-util: [ok] 

o Debian /Linux Wheezy (amd64)
 - gcc 4.7.2
 - APR: --recursive-mutex-enabled [ok]
 -   APR-util: [ok] 
 - APR: --recursive-mutex-disabled [ok] 
 -   APR-util: [ok] 

o Debian/Linux Sarge (Alpha EV56)
 - kernel 2.6.21
 - gcc 3.3.5
 - APR: --recursive-mutex-enabled [ok]
 -   APR-util: [testxml segfaults because of a broken libexpat 1.95.8-3] 
 - APR: --recursive-mutex-disabled [ok]
 -   APR-util: [testxml segfaults because of a broken libexpat 1.95.8-3]  

Httpd runs also with these modifications on Tru64 V4.0F and V5.1B

Regards
Urs

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message