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

RE: svn diff on root folder (like d:\) crash on Windows

From: Andrew Reedick <Andrew.Reedick_at_cbeyond.net>
Date: Wed, 13 Nov 2013 12:44:37 -0500

> From: Michel Archambault [mailto:micjuel_at_gmail.com]
> Sent: Wednesday, November 13, 2013 12:25 PM
> To: users_at_subversion.apache.org
> Subject: svn diff on root folder (like d:\) crash on Windows
>
>
>
> Bug found on:
> - Windows 7 64-bit
> - svn 1.8.4
> - Working copy in d:\ directly (not in a sub-folder like d:\MyTrunk\)

> Step:
> In a command prompt do
> cd /d d:\ & svn diff > C:\Validpath.patch
> where d:\ is a working copy.

> What happen:
> - a GPF (crash) of svn
> - The file C:\Validpath.patch is created but empty (0 KB).


> Previously work well in svn 1.7.x
>
>

Confirmed in 1.8.3 with Windows 7 32 bit.
        svn, version 1.8.3 (r1516576)
           compiled Aug 28 2013, 10:07:20 on x86-microsoft-windows

0. Start CMD.
1. cd c:\
2. svn co -N svn_url .
        Don't forget the trailing dot. Checkout a directory without any files in it if you don't want to mess up your root dir.
3. mkdir foo
4. date > foo\a.txt
        Hit return a few times to create the file.
5. svn add foo
6. svn diff
7. Boom. Specifically, from the event viewer:
Faulting application name: svn.exe, version: 1.8.3.9248, time stamp: 0x521db045
Faulting module name: libsvn_subr-1.dll, version: 1.8.3.9248, time stamp: 0x521dafbf
Exception code: 0xc0000005
Fault offset: 0x00089f57
Faulting process id: 0xe468
Faulting application start time: 0x01cee09787232137
Faulting application path: C:\Program Files\Subversion\bin\svn.exe
Faulting module path: C:\Program Files\Subversion\bin\libsvn_subr-1.dll
Report Id: c4f9d99e-4c8a-11e3-a0b5-0021ccc90765

Notes:
If there are no changes to the workspace, "svn diff" doesn't fail:
a) svn revert -R .
b) svn diff
Received on 2013-11-13 18:46:28 CET

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.