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

Re: Apache 2.2.4 and svn 1.4.3 and others

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-05-30 18:21:23 CEST

On 5/30/07, Nicolai Scheer <newsgroup2@planetavent.de> wrote:
> Hi there!
>
> I recently set up a windows 2003 server with apache 2.2.4 (ssl version
> from apachelounge) and subversion 1.4.3 (version for ap2.2.x).
> Everything as far as subversion itself is concerned, is fine.
> I added the APR_ICONV_PATH, so that I get correct german umlauts in the
> console.
> And I added the /bin folder to my PATH, such that Apache is able to find
> the required dlls.
>
> Now something strange happens:
> I use trac for my ticket management. As soon as I try to activate trac's
> svn capabilities and access the site, trac crashes the whole web server.
> And when I start eclipse (with its subversion plugin installed), eclipse
> crashes as well.
> If I remove the ICONV_PATH and the subversion /bin folder from the path,
> eclipse works fine. If I copy the needed dlls into the the apache /bin
> folder, trac's subversion integration works as well (again, without
> subversion's /bin folder in the PATH).
> It seems as if those programs crash as soon as they find a
> APR_ICONV_PATH pointing to a subversion iconv folder with versions for
> apache 2.2. The /bin folder seems to be somehow involved, too.
> With apache 2.0.59 everything worked fine.
>
> I do not know where I should start my search, any suggestions are
> greatly appreciated.

I have also seen this problem. Apache 2.0.x includes APR_ICONV 0.9.x
and Apache 2.2.x includes APR_ICONV 1.1.x. The two are not binary
compatible so you get a crash if a client compiled against one loads
the other. In theory, you can get around this by doing the following:

Create envvar APR_ICONV_PATH and point it to the 0.9.x version.
Create envvar APR_ICONV1_PATH and point it to the 1.1.x version.

As long as the Subversion you are using loads the right apr_iconv.dll
it should look at the right environment variable to find the
translation DLL's.

Please let me know if this works.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 30 18:21:58 2007

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

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