[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 3701 - trunk/subversion/libsvn_subr

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-09 00:52:04 CET

Justin Erenkrantz <jerenkrantz@apache.org> writes:

> No. r3701 is the correct solution. Nothing else makes any sense.
> What we had before was just blantantly wrong. The only thing I can
> think of is that there might be an iconv() library that isn't
> thread-safe and doesn't support multiple open buffers. But, that'd be
> a flaw in the iconv() implementation not the core iconv() API (as it
> worked on Darwin).

What happens is that the pool gets destroyed, the pool cleanup
handlers run, one of which is the apr_xlate_t handler which calls
iconv_close(). However the userdata still points to the apr_xlate_t.
A second, independent, pool cleanup handler then runs which attempts
to do a UTF8 conversion. This looks up the userdata and gets the
address of the apr_xlate_t object for which iconv_close has been
called.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 9 00:52:54 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.