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

Re: subversion sqlite.c bug

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 17 Jan 2012 08:46:36 +0000

Андрей Нагих <andrnag_at_yandex.ru> writes:

> I get this error while commiting to local fsfs svn repository.
>
> In file
> 'D:\Development\SVN\Releases\TortoiseSVN-1.7.4\ext\subversion\subversion\libsvn_subr\sqlite.c'
> line 187: assertion failed (stmt_idx < db->nbr_statements)
>
> May be the reason that I sync repository folder with Dropbox (I knew
> it's bad now)

It's probably the db/rep-cache.db file that is corrupt. Running

   sqlite3 db/rep-cache.db "pragma integrity_check"

may confirm this. Since it is only a cache you can remove the the
rep-cache.db file and a new empty cache will get created. That should
recover the repository. You may want to disable the use of rep-cache.db
(see rep-sharing in in db/fsfs.conf) if some non-sqlite-aware process is
writing to the repository.

-- 
Philip
Received on 2012-01-17 09:47:31 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.