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

Re: TortoiseSVN assertion failed

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 23 Dec 2011 01:48:58 +0100

On Thu, Dec 22, 2011 at 06:16:58PM +0100, Thomas Krebs wrote:
> Hi,
>
> I encountered the following problem in subversion/TortoiseSVN.
>
> Background: We want to move our VisualSVN server from a W2k3 x86 to a
> new server hardware/OS W2k8 x64.
> I tried to move the repository by dumping/importing to the new
> subversion installation. In the first place I tried CollabNet
> Subversion Edge as it has a x64 variant. I could dump the repository
> and import it again in the new server without problems.
> When I checkout a project the icons do not get the Tortoise overlay
> icons and when I right click on the project directory the Windows
> shell crashes. This is absolutely reproducibly.
> Using the command line tools I can produce the following error with
> svn diff:
> svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.7.3\ext\subversion\subversion\libsvn_wc\wc_db.c'
> line 6846: assertion failed (repos_id == last_repos_id)
>
> As I'm not sure if the problem comes from Tortoise or subversion
> I tried also VisualSVN and another way to transfer the repository not
> by dump/load rather than copying the hotcopy we create on a daily basis
> for backup purposes. This showed the same behaviour.
>
> I need to mention that the project in question has some svn:externals
> both directories and files. Another project without externals
> works fine.
> The old server with the still on-line repository also still runs fine.
>
> Hope I could contribute to find the problem.

This is probably a file external which points to a foreign repository.
Such file externals aren't supported but they somehow are not caught
by the code which inserts external information into working copy meta
data. So later this invalid external information violates the assumption
asserted elsewhere that all file nodes must come from the same repository.

You should fix your external definition and get a fresh checkout.

I've proposed a change for backport to 1.7.3 which transforms this
assertion into a more descriptive error message.
Received on 2011-12-23 01:49:36 CET

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.