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

Assertion failed, text_delta.c line 609

From: Karen Tracey <kmtracey_at_gmail.com>
Date: 2007-04-12 19:51:34 CEST

For several months I've been getting an occasional assertion failure when
updating my working copies. It is:

svn: subversion/libsvn_delta/text_delta.c:609: apply_window: Assertion
`window->sview_len == 0 || (window->sview_offset >= ab->sbuf_offset &&
(window->sview_offset + window->sview_len >= ab->sbuf_offset +
ab->sbuf_len))' failed.

I get it on both Linux (Ubuntu) and Windows machines, with both svn 1.4.2and
1.4.3. Today I had the time to track it down a bit and the problem is with
one particular file, trying to update from one specific revision (156) to
current (157). That is, svn diff -r156:157 for this file produces the
assertion failure above, while svn diff -r155:157 works, as does svn diff
-r155:156, etc.

The file in question is a simple list of words (one per line). Updates to
it consist of adding more words on the end. r156 contains 118,545 lines (in
1,099,684 bytes), r157 adds 161 lines (1,708 bytes) on the end. It sounds
like a pretty simple delta but something about it is making svn choke.

Has anyone else seen this assertion failure? I have an easy enough
workaround to avoid the assertion failure (checkout the previous revision,
then update to current), but I'd be happy to provide whatever is needed to
help fix the problem if anyone familiar with the internals of svn wants to
tackle it.

Received on Thu Apr 12 19:52:09 2007

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