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

Re: Corrupted repository report

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-06-19 01:08:17 CEST

On Thu, Jun 17, 2004 at 10:55:27PM -0500, David Summers wrote:
>
> On Thu, 17 Jun 2004, Joe Orton wrote:
>
> > Using David's RPMs for systems based on DB 4.1.25, you end up with both
> > DB 4.1.25 and 4.2.52 linked into httpd processes, both using the same
> > symbols. It is totally unsurprising that this combination ends up with
> > random database corruption.
> >
>
> I agree with this assesment if you are not using my HTTPD RPMs. If you
> ARE using my HTTPD RPMs then I think something else is wrong. I've been
> using my HTTPD RPMs for a long time and have never run into any corruption
> problems (of course this doesn't PROVE anything, just a data point).

The point is that you do not provide replacements for the PHP, mod_perl,
etc etc packages which come with the distro. These are all linked
against the original system db4 package, i.e. 4.1.25 in this case, and
all get loaded into httpd.

So you end up with both 4.1.25 and 4.2.52 linked into the httpd process.
If you don't build your 4.2.52 RPMs using --with-uniquename, then both
libraries are using the same set of symbols, and all bets are off. Find
the pid of a running httpd process and "grep libdb /proc/<pid>/maps" to
demonstrate.

Getting past the "all bets are off" state must be the first step in
diagnosing this problem.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 19 01:09:55 2004

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.