Bug: "Serious problem... Assertion failed"

576 views
Skip to first unread message

Daniel Hoenig

unread,
Aug 8, 2016, 8:35:45 AM8/8/16
to us...@tortoisesvn.tigris.org
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>When using a script with svn commands in Cygwin, I got this output:</div>

<div>&nbsp;</div>

<div>svn: Warnung: W200030: sqlite[S10]: disk I/O error<br/>
svn: E155004: Starten Sie &raquo;svn cleanup&laquo;, um die Sperren zu entfernen (Aufruf: &raquo;svn help cleanup&laquo; f&uuml;r Details)<br/>
svn: E155004: Arbeitskopie &raquo;/cygdrive/e/compile/Toucan_Rho18/Rho18_trunk_merge_from_branch&laquo; gesperrt.<br/>
svn: E155004: &raquo;/cygdrive/e/compile/Toucan_Rho18/Rho18_trunk_merge_from_branch&laquo; ist bereits gesperrt<br/>
Property is no different than the version in the repository.<br/>
&nbsp;</div>

<div>Then I applied a Tortoise (TortoiseSVN 1.9.4, Build 27285 - 64 Bit)&nbsp;Cleanup command on my sandbox, which yielded this error:</div>

<div>&nbsp;</div>

<div>
<div>---------------------------<br/>
Subversion Exception!<br/>
---------------------------<br/>
Subversion encountered a serious problem.<br/>
Please take the time to report this on the Subversion mailing list<br/>
with as much information as possible about what<br/>
you were trying to do.<br/>
But please first search the mailing list archives for the error message<br/>
to avoid reporting the same problem repeatedly.<br/>
You can find the mailing list archives at<br/>
http://subversion.apache.org/mailing-lists.html</div>

<div>Subversion reported the following<br/>
(you can copy the content of this dialog<br/>
to the clipboard using Ctrl-C):</div>

<div>In file<br/>
&nbsp;&#39;D:&#92;Development&#92;SVN&#92;Releases&#92;TortoiseSVN-1.9.4&#92;ext&#92;subversion&#92;subversion&#92;libsvn_client&#92;cleanup.c&#39;<br/>
&nbsp;line 227: assertion failed (svn_dirent_is_absolute(dir_abspath))<br/>
---------------------------<br/>
OK &nbsp;&nbsp;<br/>
---------------------------<br/>
&nbsp;</div>

<div>&nbsp;</div>

<div>&nbsp;</div>
</div></div></body></html>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3181620

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Daniel Hoenig

unread,
Aug 8, 2016, 10:50:34 AM8/8/16
to us...@tortoisesvn.tigris.org
Again, without HTML tags:


When using a script with svn commands in Cygwin, I got this output:

svn: Warnung: W200030: sqlite[S10]: disk I/O error
svn: E155004: Starten Sie »svn cleanup«, um die Sperren zu entfernen (Aufruf: »svn help cleanup« für Details)
svn: E155004: Arbeitskopie »/cygdrive/e/compile/Toucan_Rho18/Rho18_trunk_merge_from_branch« gesperrt.
svn: E155004: »/cygdrive/e/compile/Toucan_Rho18/Rho18_trunk_merge_from_branch« ist bereits gesperrt
Property is no different than the version in the repository.

Then I applied a Tortoise (TortoiseSVN 1.9.4, Build 27285 - 64 Bit) Cleanup command on my sandbox, which yielded this error:

---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html
Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):
In file
'D:\Development\SVN\Releases\TortoiseSVN-1.9.4\ext\subversion\subversion\libsvn_client\cleanup.c'
line 227: assertion failed (svn_dirent_is_absolute(dir_abspath))
---------------------------
OK
---------------------------

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3181630

Simon Large

unread,
Aug 8, 2016, 11:10:43 AM8/8/16
to us...@tortoisesvn.tigris.org
Don't use both cygwin and native windows clients in the same working copy. It seems the SQLite database format is not binary compatible between the two.

As for the exception, you'd need to report that on the subversion users mailing list, not the TortoiseSVN users mailing list. All SVN operations are handled by the SVN library, not by TortoiseSVN code. But it's probably related to the SQLite incompatibility anyway.

Simon

Stefan Hett

unread,
Aug 8, 2016, 11:26:10 AM8/8/16
to us...@tortoisesvn.tigris.org
On 8/8/2016 5:10 PM, Simon Large wrote:
On 8 August 2016 at 15:13, Daniel Hoenig <dho...@web.de> wrote:
[...]


---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html
Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):
In file
 'D:\Development\SVN\Releases\TortoiseSVN-1.9.4\ext\subversion\subversion\libsvn_client\cleanup.c'
 line 227: assertion failed (svn_dirent_is_absolute(dir_abspath))
As for the exception, you'd need to report that on the subversion users mailing list, not the TortoiseSVN users mailing list. All SVN operations are handled by the SVN library, not by TortoiseSVN code. But it's probably related to the SQLite incompatibility anyway.

Normally I'd suggest that approach too, but in this particular case (svn_dirent_is_absolute(dir_abspath) upon a cleanup call) I've got a strong suspicion that TSVN indeed (incorrectly) passes some non-absolute path to the SVN library.
It's kind of a pitty the SVN library doesn't print the actually passed path in the assertion, which might make the problem more obvious.

-- 
Regards,
Stefan Hett

Stefan Küng

unread,
Aug 8, 2016, 4:12:56 PM8/8/16
to us...@tortoisesvn.tigris.org
On 08.08.2016 17:26, Stefan Hett wrote:
> On 8/8/2016 5:10 PM, Simon Large wrote:
>> On 8 August 2016 at 15:13, Daniel Hoenig <dho...@web.de
I don't think so: TSVN passes the correct paths, but if the SQLite db is
corrupt, an 'svn status' call could return an incorrect path, and then
when TSVN passes that path on you would get such an assertion.
Or it would also happen if the correct path is passed from TSVN, but
then when doing the cleanup of all subfiles/folders, those are gathered
wrong because of the corrupt db.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3181658

kesta...@gmail.com

unread,
Apr 1, 2019, 3:26:30 AM4/1/19
to TortoiseSVN
I got this error and it turned out a TSVN client had the .svn/wc.db SQLite database still open, as when I tried to delete .svn/wc.db-journal I got an error. Once I closed all background TSVN clients and deleted this journal file a clean worked fine.
Reply all
Reply to author
Forward
0 new messages