apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject apr_xlate not thread safe
Date Fri, 08 Nov 2002 03:46:36 GMT
Bringing this up here for obvious reasons...

http://subversion.tigris.org/issues/show_bug.cgi?id=974

"Attempting to use mod_dav_svn with Apache's worker MPM has revealed
 that the UTF8 conversions are not thread safe.
 
   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=24986
 
 The conclusion is that Subversion stores an apr_xlate_t object in the
 global pool (well two really, one from UTF8 the other to UTF8) that
 gets shared by all the threads. The apr_xlate_t object itself stores a
 pool, so this pool is then shared by all the threads. Pools are not
 meant to be shared by threads without locking, so this doesn't work."

Sander


Mime
View raw message