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

SubVersion Exception in TortoiseSVN 1.8.8

From: Rich McGrew <mcgrew_rich_at_yahoo.com>
Date: Sat, 6 Sep 2014 01:31:12 -0700

Hello, I encountered a SubVersion Exception in TortoiseSVN 1.8.8. The error message said to contact the Apache SubVersion mailing list and post it as a bug there, and I did that, but now it seems that this is most likely a bug in TortoiseSVN 1.8.8 rather than a bug in Apache SubVersion 1.8.10, according to the discussion there. You can see my bug report and the replies to it on the Apache SubVersion mailing list here: http://mail-archives.apache.org/mod_mbox/subversion-users/201409.mbox/browser.

So anyhow it appears this is a bug in TortoiseSVN 1.8.8 rather than Apache 1.8.10 most likely. So to start off, my computer's operating system is Windows XP Professional, 32-bit, with Service Pack 3 and I am running the latest TortoiseSVN 1.8.8.

Now here is the text of the error message I get:
---------------------------
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.8.8\ext\subversion\subversion\libsvn_wc\wc_db.c' line 8731: assertion failed (svn_dirent_is_absolute(local_abspath))
---------------------------
OK
---------------------------
Now what did I do that made this error message happen? Here are exact steps to duplicate this bug:
1) Set up TortoiseSVN 1.8.8 to connect to a SourceForge project that uses SVN using the the svn+ssh:// protocol using your login info to SourceForge, for a project you have commit access to.
2) Go to your TortoiseSVN settings from the Start Menu, go to Network, and under SSH, in the SSH Client line, add command line parameters to TortoisePlink.exe for your username and password at SourceForge like so: "C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" -l username_at_sourceforge -pw password_at_sourceforge 3) Right-click the main folder for the project, choose TortoiseSVN in the context menu, and in that menu choose Show Log.
4) The log messages window will pop up showing the revision history. Select any revision at all on the top part of the screen.
5) The bottom part of the screen will have a list of files modified in whichever revision you pick. Double-click on one of the files down there, or right-click and chose Show Changes, both are equivalent.
6) It will probably prompt you for a password, even though you have TortoiseSVN set up to call the SVN client with a username and password. This doesn't always happen, only happens about half the time.
7) If you try typing in a password and hitting OK it will just prompt you for a password again and again forever in an infinite loop and each time will be considered an authentication failure by SourceForge (which you'll get an error message about later on), so don't do that. Instead, hit OK without typing in a password.
8) The error message I copied and pasted earlier in this message about a bug in Apache SubVersion that you should post to the SubVersion mailing list might occur if you were prompted for a password and didn't type one in, and it will always be that exact same error message. There is also a chance you might actually get to see the changes in the file between the 2 revisions and have it work correctly. Additionally, there is a chance you could get prompted for a password again and have to hit OK again. Lastly there is a chance you could get an error message from SourceForge saying that there are too many authentication failures for your username there. So that's 4 different possibilities here and just one of them is the error message that says to copy and paste it to the SubVersion mailing list. It seems kind of random at this point. Well those are the steps to reproduce the bug, and as step 8 shows it is intermittent and random and doesn't always come up,
 and is one of several possible errors that can occur (usually, in older versions of TortoiseSVN that correspondingly had older versions of Apache SubVersion, it would not ever prompt you for a password if you had a username and password selected as command-line options for TortoisePlink.exe as in step (2) of my directions for duplicating the bug.

There have been previous bugs involving "assertion failed (svn_dirent_is_absolute(local_abspath))" happening in wc_db.c. This example: https://groups.google.com/forum/#!topic/tortoisesvn-dev/TwW5UTdVp2Y turned out to be a bug in TortoiseSVN rather than Apache SubVersion, and it was fixed in TortoiseSVN revision 21821. This other example: http://mail-archives.apache.org/mod_mbox/subversion-users/201204.mbox/%3CCAB84uBU2g02vopgFrRu8a_B8=EALvoYkBRVP6hws0Z0+SaJLgw@mail.gmail.com%3E was submitted as a bug report to Apache SubVersion but they decided it wasn't a bug in Apache SubVersion but in TortoiseSVN, so Apache SubVersion did not do anything about it. I am not sure if TortoiseSVN did anything about it. But both of the previous cases I found of that same error message happening in that same file turned out to be TortoiseSVN bugs and not Apache SubVersion bugs. The previous cases happened on different line numbers of wc_db.c though.

If this bug does turn out to be in Apache SubVersion rather than TortoiseSVN, you can post a comment documenting your findings as a reply to the Apache SubVersion bug report I originally posted on their mailing list: http://mail-archives.apache.org/mod_mbox/subversion-users/201409.mbox/browser. Probably though this is a bug in TortoiseSVN, at least according to them (in the way that TortoiseSVN interacts with and calls Apache SubVersion).

I hope this is enough information for you (I know you are volunteers).

Thank you for taking the time to read this bug report,
Rich McGrew, a fellow open-source programmer

P.S. Please CC me on any responses to this, as I am not signed up to the TortoiseSVN mailing list.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-09-06 10:55:41 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.