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

Re: Bug report: this may have crashed my computer

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 22 Mar 2012 09:33:07 +0000

"Kayhadrin!" <kayhadrin_at_gmail.com> writes:

> In file
>  'D:\Development\SVN\Releases\TortoiseSVN-1.7.5\ext\subversion\subversion\libsvn_wc\wc_db.c'
>  line 4501: assertion failed (affected_rows == 1)
> ---------------------------
> OK
> ---------------------------
>
> When I click on the OK button of this dialog window, I get another
> error window showing the text below:
> ---------------------------
> TortoiseSVN
> ---------------------------
> Cleanup failed to process the following paths:
> D:\David\dev\www\private\portal
> In file
> 'D:\Development\SVN\Releases\TortoiseSVN-1.7.5\ext\subversion\subversion\libsvn_wc\wc_db.c'
> line 4501: assertion failed (affected_rows == 1)
> ---------------------------
> OK
> ---------------------------

It appears that the error occurs during a workqueue item. If you have
the sqlite3 program please provide the output from:

 sqlite3 .svn/wc.db "select * from work_queue"

I expect a line like "1|(file-install A/f 1 0 1 1)" where 'A/f' is the
path of the affected file. There should be a nodes row for that
filename:

  sqlite3 .svn/wc.db "select * from nodes where local_relpath='A/f'"

but since the SQLite has failed perhaps that row doesn't exist. If the
row doesn't exist try the parent directory:

  sqlite3 .svn/wc.db "select * from nodes where local_relpath='A'"

Can you describe the working copy when you started the switch: local
modifications, mixed-revision, adds, deletes, sparse, externals,
symlinks? Does the file exist in both the pre- and post- switch
locations?

-- 
Philip
Received on 2012-03-22 10:33:48 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.