bzr 1.6.1/win32: hard crash because wrong libapr.dll is loaded

Kuno Meyer kuno.meyer at gmx.ch
Wed Sep 10 19:41:53 BST 2008


Ok, I've found some unexpected things: 

First, consider the following FAQ entry:
<http://subclipse.tigris.org/faq.html#win32-crash>. It is obviously possible to
set the APR_ICONV_PATH or APR_ICONV1_PATH environment variable to override the
location where the charset modules are loaded from. Bzr-svn is bundled with
libapr 0.9.7; Svn 1.4.6 contains libapr 1.2.0. There was an interface change
with libapr 1.0, the charset modules are not binary compatible between those
version.

As it happens, on my system APR_ICONV_PATH was set to c:\program
files\subversion\iconv (perhaps created by a SVN installer). If you unset
APR_ICONV_PATH, then bzr loads fine, but the output of the SVN command line tool
is tampered with numerical escape sequences.

Therefore my poroposals for a work-around:

1) short term: unset APR_ICONV_PATH inside bzr.exe, but before libapriconv is
loaded. 

2) medium term: switch to the SVN 1.5 libraries which do not any more rely on
libiconv but use Windows API functions instead. This would also help to "bzr
st/qdiff" SVN working copies that are created by recent versions of TortoiseSVN
(1.5.x): since SVN 1.5 has changed its working copy format, you cannot any more
access them with the SVN 1.4.x libraries.

Cheers
Kuno




More information about the bazaar mailing list