Hello Karl,
Here is the reproduction script (slightly modified version of yours):
#!/bin/sh
SVNDIR=/home/builder/usr/svn/bin/
SVN=${SVNDIR}/svn
SVNSERVE=${SVNDIR}/svnserve
SVNADMIN=${SVNDIR}/svnadmin
URL=file:///`pwd`/repos
rm -rf repos wc import-me
${SVNADMIN} create repos
echo "### Making a Greek Tree for import..."
mkdir import-me
mkdir import-me/src
mkdir import-me/dst
echo "This is the file 'file.txt'." > import-me/src/file.txt
echo ""
echo "### Importing it..."
(cd import-me; ${SVN} import -q -m "Initial import." ${URL})
echo "### Done."
echo ""
${SVN} copy --parents ${URL}/src/file.txt ${URL}/dst -m "log msg"
echo "### File copied"
${SVN} ls -vR ${URL}/
And its output (Subversion from 1.5.x branch, revision 31307):
### Making a Greek Tree for import...
### Importing it...
### Done.
./test.sh: line 44: 5223 Segmentation fault ${SVN} copy --parents
${URL}/src/file.txt ${URL}/dst -m "log msg"
### File copied
1 alex May 20 15:17 ./
1 alex May 20 15:17 dst/
1 alex May 20 15:17 src/
1 alex 29 May 20 15:17 src/file.txt
Looks like there is one more condition to reproduce the problem - dst
URL should has no more segments count than source one.
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
Karl Fogel wrote:
> Karl Fogel <kfogel_at_red-bean.com> writes:
>> Alexander Kitaev <Alexander.Kitaev_at_svnkit.com> writes:
>>> The following command fails with segmentation fault:
>>>
>>> [...]
>> Could you please give a formal reproduction recipe (that is, a script)?
>> I was unable to reproduce this over any RA layer, using the script
>> below.
>
> By the way, I was working with r31288 of trunk.
>
> -Karl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-20 15:24:06 CEST