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

Re: Core dump checking out large repositories

From: Dominic Mitchell <dom_at_happygiraffe.net>
Date: 2005-01-22 18:54:05 CET

On Sat, Jan 22, 2005 at 10:50:36AM -0700, SmartServ Hosting wrote:
> On Sat, 22 Jan 2005 17:43:21 +0000
> dom@happygiraffe.net (Dominic Mitchell) wrote:
>
> > On Sat, Jan 22, 2005 at 11:20:56AM -0600, Ben Collins-Sussman wrote:
> > > On Jan 22, 2005, at 10:15 AM, Dominic Mitchell wrote:
> > > >This is exactly the same problem that I am seeing, on FreeBSD-CURRENT.
> > > >Although I'm accessing over webdav. Now that I try it using a file:///
> > > >url, it goes wrong too. Which is odd, because when I tried it, it
> > > >didn't fail...
> > >
> > > Here's a question: is there any chance the the freebsd port is using
> > > APR 1.0, rather than 0.9.5?
> > >
> > > Either of those versions of APR will work with Subversion, though
> > > Subversion technically only claims to use 0.9.5. But the problem is
> > > that the two versions of APR are binary-incompatible. I've seen a lot
> > > of strange svn bugs lately, and many of them happen when somebody was
> > > using Subversion with APR 0.9.5, then quietly (or unintentionally)
> > > upgrades to APR 1.0.
> > >
> > > In other words, it's safe to *start* using Subversion for the first
> > > time with either APR 0.9.5 or 1.0. But it's not safe to switch horses
> > > mid-stream.
> >
> > In my case:
> >
> > % ldd /usr/local/bin/svn| grep apr
> > libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x2817b000)
> > libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x28389000)
> >
> > According to the ports Makefile[1], if you select the WITH_MOD_DAV_SVN
> > option (as I have done), you get the APR that comes with apache (2.0.52
> > in my case).
> >
> > Unfortunately, I've just attempted a debug build of subversion and that
> > works without error, which is most irritating.
> >
> > -Dom
> >
> > [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/subversion/Makefile
>
> %ldd /usr/local/bin/svn | grep apr
> libaprutil-1.so.0 => /usr/local/lib/libaprutil-1.so.0 (0x28147000)
> libapr-1.so.0 => /usr/local/lib/libapr-1.so.0 (0x28327000)

Actually, I've just read this closer. It's about /switching/ from 0.95
to 1.0. In that case, would it help to recreate the repository from a
dump file using my currently installed version? Surely that should sort
things out. Or are there libapr dependencies in the dumpfile?

-Dom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 22 18:56:29 2005

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