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

Re: Use of svn-win32-1.5.1_dev.zip

From: Tony Butt <tjb_at_cea.com.au>
Date: Thu, 28 Aug 2008 06:46:51 +0000

On Thu, 2008-08-28 at 08:37 +0200, Ivan Zhakov wrote:
> On Thu, Aug 28, 2008 at 3:06 AM, Tony Butt <tjb_at_cea.com.au> wrote:
> > Dear svn users,
> >
> > I am trying to rebuild an application we have which uses the subversion
> > development libraries.
> >
> > My build tool is Visual Studio 2003.NET on Windows XP, and I can build
> > the application against the svn 1.3.2 development libaries, and the
> > 1.4.3 development libraries, and run it successfully.
> >
> > I can build against the current 1.5.1 libraries (after changing 1 option
> > - now don't exclude LIBCD), but whenever I try to run it, I get an
> > access violation on calling svn_cmdline_init().
> >
> > I have totally removed all other subversion binaries and libraries from
> > the build system, and checked the startup messages from the debug
> > session, only the development libraries are being called.
> >
> > I have even simplified the application, so that the first few lines look
> > like:
> >
> > int main(int argc, const char * const argv[])
> > {
> >
> > printf("Starting up\n");
> >
> > svn_cmdline_init ("versioner", stderr); // Crashes here without fail.
> >
> > ...
> >
> >
> > }
> >
> > and there is still a crash on svn_cmdline_init
> >
> > I have tried both the apache2.0 and apache2.2 binaries, and I see the
> > same behaviour.
> You have to initialize APR runtime using apr_initialize().
>
No - that doesn't do it for me.
apr_initialize() runs OK, then the same error occurs in
svn_cmdline_init(). From the comments attached to scn-cmdline_init, it
is supposed to call apr_initialize anyway.

Tony

Received on 2008-08-28 08:48:14 CEST

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.