On Wed, Apr 19, 2023 at 12:44 PM sebb <seb...@gmail.com> wrote:

> I've seen some crashes in SVN where the target does not have the expected
> type.
>
> For example:
>
> $ svn info https://www.apache.org/foundation/records/990-2016.pdf
> svn: E235000: In file
>
> '/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_client/util.c'
> line 96: assertion failed
> (svn_uri__is_ancestor(pathrev->repos_root_url, url))
> Aborted (core dumped)
>

I can confirm that the problem reproduces with SVN 1.14.2.

Although the reproduction script is different, this seems to be the same
assert I reported some time ago in the dev@ mailing list (
https://lists.apache.org/thread/s24v9f8klx8pwn9lk0oqxng1cpxg12vw).


> $ svn pl -v https://dist.apache.org/repos/dist/dev/whimsy/test.txt
> Properties on 'https://dist.apache.org/repos/dist/dev/whimsy/test.txt':
>   svn:eol-style
>     native
>
> $ svn ps svn:mime-type text/plain
> https://dist.apache.org/repos/dist/dev/whimsy/test.txt
> svn: E235000: In file
>
> '/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_subr/dirent_uri.c'
> line 1634: assertion failed (! svn_path_is_url(relative))
> Aborted (core dumped)
>
> $ svn --version
> svn, version 1.13.0 (r1867053)
>    compiled May 12 2022, 20:47:08 on x86_64-pc-linux-gnu
>
> Whilst these are invalid usages, I don't believe they should crash
> with an assertion.
>
> Do I need to raise bugs for these? Or are they already known?
>
> Sebb
>

-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team

Reply via email to