[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: Subversion Exception - cleanup
From:       Dan Atkinson <dan () dan-atkinson ! com>
Date:       2016-10-28 14:12:40
Message-ID: CABfMxva2EovJJdh-kEmiP1qW1bsKDO-gdcQ+YB0sJaGDeyssPA () mail ! gmail ! com
[Download RAW message or body]

Hi Johan,

The repository is on a local drive and I have several other repositories on
the same drive as well that were unaffected.

I do some tasks (update/tag) on the repository via the command line. I just
checked and the version of SVN used on the command line is 1.8.15.14429.

In any case, when I restarted my machine this morning, my repo was no
longer corrupt.

I don't know what caused it, or why it was fine again this morning, but
this is no longer an issue for me.

Kind regards, Dan

On 28 October 2016 at 14:43, Johan Corveleyn <jcorvel@gmail.com> wrote:

> [ Added Dan Atkinson to cc, because he asked us to :-). Dan, see below. ]
>
> On Fri, Oct 28, 2016 at 12:51 AM, Stefan <luke1410@posteo.de> wrote:
> > On 10/27/2016 16:36, Dan Atkinson wrote:
> >> Hi there,
> >>
> >> Firstly, I am not subscribed to this mailing list so would appreciate
> >> being explicitly CC'd in any responses. :-)
> >>
> >> When I attempted to update my repository, I received the following
> update:
> >>
> >> Error: The working copy database at 'D:\Work\SVN\trunk' is corrupt.
> >> Error: Try a 'Cleanup'. If that doesn't work you need to do a fresh
> >> checkout.
> >>
> >> When I attempted a cleanup, I received the following message:
> >>
> >> ---------------------------
> >> 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
> >> ---------------------------
> >>
> >>
> >> ---------------------------
> >> TortoiseSVN
> >> ---------------------------
> >> Cleanup failed to process the following paths:
> >> D:\Work\SVN\trunk
> >> The working copy database at 'D:\Work\SVN\trunk' is corrupt.
> >> Try a 'Cleanup'. If that doesn't work you need to do a fresh checkout.
> >> ---------------------------
> >> OK
> >> ---------------------------
> >>
> >> My version information is:
> >> TortoiseSVN 1.9.4, Build 27285 - 64 Bit , 2016/04/24 13:59:58
> >> Subversion 1.9.4, -release
> >> apr 1.5.2
> >> apr-util 1.5.4
> >> serf 1.3.8
> >> OpenSSL 1.0.2g  1 Mar 2016
> >> zlib 1.2.8
> >> SQLite 3.12.1
> >>
> >> I am running Windows 10 v1511 (OS Build 10586.601).
> >>
> >> Our SVN server (VisualSVN Server) is running SVN 1.7.6 (r1370777)
> >>
> >> I did try to search the archives for similar problems but received a
> >> 403 from Google when I attempted it.
> >>
> >> If you require any further information, please let me know directly.
> >>
> >> Kind regards, Dan Atkinson
> >
> > In case of a WC DB corruption I'd say your best bet is to do a fresh
> > checkout and copy over locally modified files from the old working copy
> > to the new one.
> >
> > You can also try to debug/troubleshoot the database corruption and try
> > to repair the database (sqlite3 -> pragma integrity_check) but unless
> > you have a reason to try to save your working copy, there's little point
> > to do so, IMO.
> >
> > Although I doubt it's related to the corruption you ran into: Your
> > VisualSVN Server is quite outdated. I assume you are running Visual SVN
> > Server 2.5.6. I'd certainly suggest you to upgrade your server to 2.5.26
> > at least (which will bring SVN up to 1.7.21). The upgrade should be as
> > simple as clicking through the installer.
> >
> > If possible, you'd even upgrade to a later one which will bring SVN up
> > to 1.8 or 1.9 (currently VisualSVN Server 3.5.6 is the recommended
> version).
>
> It would of course be interesting to know how the working copy could
> have ended up being corrupt. Any idea how it got corrupted, Dan?
>
> Was there anything that could have corrupted the working copy database
> ($wc/.svn/wc.db) from outside perhaps? Is the working copy located on
> a network drive? Also useful to know: are you mixing different types
> of svn clients working on the same working copy (for instance, do you
> also access this same working copy with SVNKit)?
>
> --
> Johan
>

[Attachment #3 (text/html)]

<div dir="ltr">Hi Johan,<div><br></div><div>The repository is on a local drive and I \
have several other repositories on the same drive as well that were \
unaffected.</div><div><br></div><div>I do some tasks (update/tag) on the repository \
via the command line. I just checked and the version of SVN used on the command line \
is 1.8.15.14429.</div><div><br></div><div>In any case,  <span \
style="font-size:12.8px">when I restarted my machine this morning, my repo was no \
longer corrupt.</span></div><div style="font-size:12.8px"><br></div><div \
style="font-size:12.8px">I don&#39;t know what caused it, or why it was fine again \
this morning, but this is no longer an issue for me.</div><div \
style="font-size:12.8px"><br></div><div style="font-size:12.8px">Kind regards, \
Dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 October \
2016 at 14:43, Johan Corveleyn <span dir="ltr">&lt;<a href="mailto:jcorvel@gmail.com" \
target="_blank">jcorvel@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">[ Added Dan Atkinson to cc, because he asked us to :-). Dan, \
see below. ]<br> <div><div class="h5"><br>
On Fri, Oct 28, 2016 at 12:51 AM, Stefan &lt;<a \
href="mailto:luke1410@posteo.de">luke1410@posteo.de</a>&gt; wrote:<br> &gt; On \
10/27/2016 16:36, Dan Atkinson wrote:<br> &gt;&gt; Hi there,<br>
&gt;&gt;<br>
&gt;&gt; Firstly, I am not subscribed to this mailing list so would appreciate<br>
&gt;&gt; being explicitly CC&#39;d in any responses. :-)<br>
&gt;&gt;<br>
&gt;&gt; When I attempted to update my repository, I received the following \
update:<br> &gt;&gt;<br>
&gt;&gt; Error: The working copy database at &#39;D:\Work\SVN\trunk&#39; is \
corrupt.<br> &gt;&gt; Error: Try a &#39;Cleanup&#39;. If that doesn&#39;t work you \
need to do a fresh<br> &gt;&gt; checkout.<br>
&gt;&gt;<br>
&gt;&gt; When I attempted a cleanup, I received the following message:<br>
&gt;&gt;<br>
&gt;&gt; ---------------------------<br>
&gt;&gt; Subversion Exception!<br>
&gt;&gt; ---------------------------<br>
&gt;&gt; Subversion encountered a serious problem.<br>
&gt;&gt; Please take the time to report this on the Subversion mailing list<br>
&gt;&gt; with as much information as possible about what<br>
&gt;&gt; you were trying to do.<br>
&gt;&gt; But please first search the mailing list archives for the error message<br>
&gt;&gt; to avoid reporting the same problem repeatedly.<br>
&gt;&gt; You can find the mailing list archives at<br>
&gt;&gt; <a href="http://subversion.apache.org/mailing-lists.html" rel="noreferrer" \
target="_blank">http://subversion.apache.org/<wbr>mailing-lists.html</a><br> \
&gt;&gt;<br> &gt;&gt; Subversion reported the following<br>
&gt;&gt; (you can copy the content of this dialog<br>
&gt;&gt; to the clipboard using Ctrl-C):<br>
&gt;&gt;<br>
&gt;&gt; In file<br>
&gt;&gt;   &#39;D:\Development\SVN\Releases\<wbr>TortoiseSVN-1.9.4\ext\<wbr>subversion\subversion\libsvn_<wbr>client\cleanup.c&#39;<br>
 &gt;&gt;   line 227: assertion failed (svn_dirent_is_absolute(dir_<wbr>abspath))<br>
&gt;&gt; ---------------------------<br>
&gt;&gt; OK<br>
&gt;&gt; ---------------------------<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ---------------------------<br>
&gt;&gt; TortoiseSVN<br>
&gt;&gt; ---------------------------<br>
&gt;&gt; Cleanup failed to process the following paths:<br>
&gt;&gt; D:\Work\SVN\trunk<br>
&gt;&gt; The working copy database at &#39;D:\Work\SVN\trunk&#39; is corrupt.<br>
&gt;&gt; Try a &#39;Cleanup&#39;. If that doesn&#39;t work you need to do a fresh \
checkout.<br> &gt;&gt; ---------------------------<br>
&gt;&gt; OK<br>
&gt;&gt; ---------------------------<br>
&gt;&gt;<br>
&gt;&gt; My version information is:<br>
&gt;&gt; TortoiseSVN 1.9.4, Build 27285 - 64 Bit , 2016/04/24 13:59:58<br>
&gt;&gt; Subversion 1.9.4, -release<br>
&gt;&gt; apr 1.5.2<br>
&gt;&gt; apr-util 1.5.4<br>
&gt;&gt; serf 1.3.8<br>
&gt;&gt; OpenSSL 1.0.2g   1 Mar 2016<br>
&gt;&gt; zlib 1.2.8<br>
&gt;&gt; SQLite 3.12.1<br>
&gt;&gt;<br>
&gt;&gt; I am running Windows 10 v1511 (OS Build 10586.601).<br>
&gt;&gt;<br>
&gt;&gt; Our SVN server (VisualSVN Server) is running SVN 1.7.6 (r1370777)<br>
&gt;&gt;<br>
&gt;&gt; I did try to search the archives for similar problems but received a<br>
&gt;&gt; 403 from Google when I attempted it.<br>
&gt;&gt;<br>
&gt;&gt; If you require any further information, please let me know directly.<br>
&gt;&gt;<br>
&gt;&gt; Kind regards, Dan Atkinson<br>
&gt;<br>
&gt; In case of a WC DB corruption I&#39;d say your best bet is to do a fresh<br>
&gt; checkout and copy over locally modified files from the old working copy<br>
&gt; to the new one.<br>
&gt;<br>
&gt; You can also try to debug/troubleshoot the database corruption and try<br>
&gt; to repair the database (sqlite3 -&gt; pragma integrity_check) but unless<br>
&gt; you have a reason to try to save your working copy, there&#39;s little point<br>
&gt; to do so, IMO.<br>
&gt;<br>
&gt; Although I doubt it&#39;s related to the corruption you ran into: Your<br>
&gt; VisualSVN Server is quite outdated. I assume you are running Visual SVN<br>
&gt; Server 2.5.6. I&#39;d certainly suggest you to upgrade your server to 2.5.26<br>
&gt; at least (which will bring SVN up to 1.7.21). The upgrade should be as<br>
&gt; simple as clicking through the installer.<br>
&gt;<br>
&gt; If possible, you&#39;d even upgrade to a later one which will bring SVN up<br>
&gt; to 1.8 or 1.9 (currently VisualSVN Server 3.5.6 is the recommended version).<br>
<br>
</div></div>It would of course be interesting to know how the working copy could<br>
have ended up being corrupt. Any idea how it got corrupted, Dan?<br>
<br>
Was there anything that could have corrupted the working copy database<br>
($wc/.svn/wc.db) from outside perhaps? Is the working copy located on<br>
a network drive? Also useful to know: are you mixing different types<br>
of svn clients working on the same working copy (for instance, do you<br>
also access this same working copy with SVNKit)?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Johan<br>
</font></span></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic