You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michel Archambault <mi...@gmail.com> on 2013/11/13 18:24:43 UTC

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



Thank you and have a nice day.

-- 
Michel Archambault

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

Posted by Bert Huijben <be...@qqmail.nl>.
> -----Original Message-----
> From: Andrew Reedick [mailto:Andrew.Reedick@cbeyond.net]
> Sent: woensdag 13 november 2013 18:45
> To: Michel Archambault; users@subversion.apache.org
> Subject: RE: svn diff on root folder (like d:\) crash on Windows
> 
> > From: Michel Archambault [mailto:micjuel@gmail.com]
> > Sent: Wednesday, November 13, 2013 12:25 PM
> > To: users@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).
> >

Confirmed and patched on Subversion trunk in r1541635.

(There is no standard error report, because the error is that a function
gets into an infinite recursion)

Thanks for reporting,

	Bert Huijben

> >
> > 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
> 



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

Posted by Andrew Reedick <An...@cbeyond.net>.
> From: Michel Archambault [mailto:micjuel@gmail.com] 
> Sent: Wednesday, November 13, 2013 12:25 PM
> To: users@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