FW: "subversion encountered a serious problem"
Jan Willem Bikker <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Message-ID | <AM9P193MB15242EC2FC5CD71824D78627E8CD2@AM9P193MB1524.EURP193.PROD.OUTLOOK.COM> |
Dear reader, For the archives, and as requested, I forward the off-list conversation below follow up: a one-on-one conversation I had with Daniel Sahlberg. The message just below makes things clear. Best regards, Jan-Willem Bikker [cid:ii_190263c42304cff311] T +31 (0)40 750 16 97 (diverted to mobile phone during office hours) E [email protected]<mailto:[email protected]> • I www.cqm.nl<http://www.cqm.nl/> CQM B.V. • Vonderweg 16 • P.O. Box 414, 5600 AK Eindhoven • The Netherlands DISCLAIMER • This message and its attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify the sender by reply mail and delete this message and its attachments from your system and refrain from using or copying its contents or disclosing its contents in any manner to third parties. We cannot assume any responsibility for the accuracy or reliability of the information contained in this message (including attachments), nor shall the information be construed as constituting any obligation on the part of CQM. From: Daniel Sahlberg <[email protected]> Sent: Monday, 17 June 2024 14:49 To: Jan Willem Bikker <[email protected]> Subject: Re: "subversion encountered a serious problem" Thanks, makes sense. Yes, the non-request for password is because the credentials cached by TortoiseSVN is also used by the command line client. You can do whatever way you want: either you take the mail you sent only to me, updating with the extra information, or you forward our conversation, saying it was accidenally off-list. /Daniel Den mån 17 juni 2024 kl 14:37 skrev Jan Willem Bikker <[email protected]<mailto:[email protected]>>: Dear Daniel, Indeed, svn co https://cqm.sliksvn.com/cqm0000 d:\docs\svntest does work (small letters in the URL) and result in a successful checkout. One more remark, it did not ask for a password, presumably because I already had supplied one for this repository to the tortoise graphical UI. I’m happy to send another email; should I include copies of our conversation, may your name become visible? E.g. I could send the text below is that all right? Best regards, JW (Reply to / forward my own email) Dear reader, Daniel Sahlberg responded on my earlier email below, and we had a one-on-one follow-up. From that conversation, I performed a few additional tests * Installed the command line tools * Tried to checkout the URL with wrong capitals letters with this result: D:\Docs\svntest>svn co https://cqm.sliksvn.com/CQM0000 d:\docs\svntest svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.14.x\ext\subversion\subversion\libsvn_client\util.c' line 96: assertion failed (svn_uri__is_ancestor(pathrev->repos_root_url, url)) (last 4 characters in URL replaced by 0000) And again with right URL (no capital letters after /) D:\Docs>svn co https://cqm.sliksvn.com/cqm0000 d:\docs\svntest2 <list of files> Checked out revision 7. It did not prompt for a password, presumably because I already had supplied one for this repository to the tortoise graphical UI. Best regards JW [cid:ii_190263c42304cff311] T +31 (0)40 750 16 97 (diverted to mobile phone during office hours) E [email protected]<mailto:[email protected]> • I www.cqm.nl<http://www.cqm.nl/> CQM B.V. • Vonderweg 16 • P.O. Box 414, 5600 AK Eindhoven • The Netherlands DISCLAIMER • This message and its attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify the sender by reply mail and delete this message and its attachments from your system and refrain from using or copying its contents or disclosing its contents in any manner to third parties. We cannot assume any responsibility for the accuracy or reliability of the information contained in this message (including attachments), nor shall the information be construed as constituting any obligation on the part of CQM. From: Daniel Sahlberg <[email protected]<mailto:[email protected]>> Sent: Monday, 17 June 2024 14:01 To: Jan Willem Bikker <[email protected]<mailto:[email protected]>> Subject: Re: "subversion encountered a serious problem" You don't often get email from [email protected]<mailto:[email protected]>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hi, Oh, that's bad, but good. If it is reproducible in the command line client it is more likely to be an easy fix. Am I right in guessing that the correct command line should be D:\Docs\svntest>svn co https://cqm.sliksvn.com/cqm0000 d:\docs\svntest (with the correct digits)? Maybe you could just do a checkout that succeeds so we can "see" the difference. I also assume that cqm0000 is the repository name (just like apachesubv_tsvntest in my case). Can I just ask you to re-send the same message to [email protected]<mailto:[email protected]> so we have it in the e-mail archives? You can add the above information in the mail when you re-send it. Kind regards, Daniel Den mån 17 juni 2024 kl 13:50 skrev Jan Willem Bikker <[email protected]<mailto:[email protected]>>: Dear Daniel, Thanks for the quick response! That prompted me to try your experiment via the command line. I ran the installer, to install the command line tools and the same D:\Docs\svntest>svn co https://cqm.sliksvn.com/CQM0000 d:\docs\svntest svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.14.x\ext\subversion\subversion\libsvn_client\util.c' line 96: assertion failed (svn_uri__is_ancestor(pathrev->repos_root_url, url)) for confidentiality I changed the URL last 4 letters so that it ends in 0000. If I can do another quick experiment to help you, please let me know. Best regards, Jan-Willem [cid:ii_190263c42304cff311] T +31 (0)40 750 16 97 (diverted to mobile phone during office hours) E [email protected]<mailto:[email protected]> • I www.cqm.nl<http://www.cqm.nl/> CQM B.V. • Vonderweg 16 • P.O. Box 414, 5600 AK Eindhoven • The Netherlands DISCLAIMER • This message and its attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify the sender by reply mail and delete this message and its attachments from your system and refrain from using or copying its contents or disclosing its contents in any manner to third parties. We cannot assume any responsibility for the accuracy or reliability of the information contained in this message (including attachments), nor shall the information be construed as constituting any obligation on the part of CQM. From: Daniel Sahlberg <[email protected]<mailto:[email protected]>> Sent: Monday, 17 June 2024 09:48 To: Jan Willem Bikker <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: Re: "subversion encountered a serious problem" You don't often get email from [email protected]<mailto:[email protected]>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Den mån 17 juni 2024 kl 08:54 skrev Jan Willem Bikker <[email protected]<mailto:[email protected]>>: Dear Subversion people, To help the developers I follow up on a “serious problem” with the request to let you know. I tried to checkout into an empty folder an existing repository. I had access, could login to the web version of the repository in the Firefox browser but repeatedly got the following error message [cid:ii_190263c42305b16b22] Thank you for reporting. The error message in TortoiseSVN is unfortunately a bit missleading, most of the times it turns out that it is actually TortoiseSVN not properly vetting user input - this may be the exception though. I updated svn to the latest version (TortoiseSVN 1.14.7, Build 29687 - 64 Bit , 2024/04/15 22:07:08) Restarted the laptop (windows 11) Good, that is the latest version. Thanks for checking! At last a colleague noticed that I used capitols in the repository URL after the / . Replacing it to small letters solved the matter. This seems like straightforward thing to fix and what I read on a forum somewhere is that wrong user input is not supposed to result in this sort of error, hence I write this email. Very good you found the root cause. I agree that it shouldn't fail with an assertion. Unfortunately I'm not able to reproduce the issue. I even registered a free account with Sliksvn (https://svn5.sliksvn.com/apachesubv_tsvntest/) and when i try to do the checkout with incorrect case in the repository name, I get an error message "The server at 'https://svn5.sliksvn.com/Apachesubv_tsvntest/' doesn not support the HTTP/DAV protocol". If I try to checkout a directory (/trunk) using the wrong case I get an error message "URL 'https://svn5.sliksvn.com/apachesubv_tsvntest/Trunk' doesn't exist". Are you able to reproduce the issue using the command line client? Something like: D:\>svn co [URL] D:\Docs\59-xxxxx (The TortoiseSVN installer has a separate option for installing the command line tools, in case you miss the svn command!) Kind regards, Daniel
image001.png
(image/png, 40.9 KB) - not displayed
image002.png
(image/png, 136.5 KB) - not displayed