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

RE: assertion failed / segfault in svn_ra_do_diff3

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 23 Jun 2014 12:48:28 +0200

> -----Original Message-----
> From: Mikhail Veltishchev [mailto:dichlofos-mv_at_yandex.ru]
> Sent: maandag 23 juni 2014 12:18
> To: Bert Huijben; users_at_subversion.apache.org
> Subject: Re: assertion failed / segfault in svn_ra_do_diff3
>
> Oops, my bad! You're absolutely right, that was 'svn diff' command. And
this
> mistake was the reason of crash 'disappearing': after that I built svn
1.8.9
> from sources and got the same crash again, so it is reproducible.
>
> Here is a backtrace for `svn diff -r 1403046 ..` invocation:
> http://pastebin.com/DkfRVZmP.
>
> svn, version 1.8.9 (r1591380)
> compiled Jun 20 2014, 23:36:08 on x86_64-unknown-linux-gnu
>
> Built using gcc 4.7.2:
> gcc (Ubuntu/Linaro 4.7.2-2ubuntu2) 4.7.2

I just reproduced this issue on Subversion trunk and added a regression test
for it in r1604736.

The problem is most likely in the literal '..', which is accidentally passed
on as invalid file or directory name in this diff variant.

I'll see if I can fix this issue later today. (And then what it will take to
backport the fix to 1.8.x)

        Bert
Received on 2014-06-23 12:49:05 CEST

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

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