RE: [BUG] svnlook diff infinite loop
From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 30 May 2014 14:06:37 +0200
Hi,
I tried to reproduce your problem for debugging.
I did a:
$ svn –version
svn, version 1.8.9-SlikSvn-1.8.9-X64 (SlikSvn/1.8.9) X64
compiled May 8 2014, 20:00:31 on x86_64-microsoft-windows6.2.9200
<snip>
$ svnadmin create svnlook-loop
$ svnadmin load svnlook-loop < svnlook_diff_infinite_loop.dump
<<< Started new transaction, based on original revision 1
* adding path : xyz ... done.
------- Committed revision 1 >>>
<<< Started new transaction, based on original revision 2
* editing path : xyz ... done.
------- Committed revision 2 >>>
<<< Started new transaction, based on original revision 3
* editing path : xyz ... done.
------- Committed revision 3 >>>
$ svnlook diff svnlook-loop
Index: xyz
===================================================================
--- xyz 2014-05-29 13:37:20 UTC (rev 2)
+++ xyz 2014-05-29 13:37:32 UTC (rev 3)
Property changes on: xyz
___________________________________________________________________
Modified: svn:mergeinfo
## -1,3 +1,3 ##
/abc/2.0.A:8
/abc/2.1:6
-/abc/2.2:7
\ No newline at end of property
+/abc/2.2:7,9
\ No newline at end of property
Can you explain what is different for you than in this scenario, as this certainly doesn’t reproduce your problem
Bert
From: Arwin Arni Nandagopal [mailto:arwin_at_collab.net]
svnlook diff hangs on an infinite loop when it encounters certain svn:mergeinfo.
This happens ONLY on Windows 64-bit svn 1.8.x or later client.
I was able to trace the flow of code all the way to:
subversion/svnlook/svnlook.c:display_prop_diffs
Inside here, there is a call to:
subversion/libsvn_diff/util.c:svn_diff__display_prop_diffs
Which doesn't seem to get executed at all.
I have no experience debugging C code on Windows, and hence the speculation.
I have with me the smallest possible subset of data that will reproduce this issue.
Load the attached dumpfile and run svnlook diff -r3 /path/to/repo with a 1.8.x or later binary on a Windows 64-bit machine, and it WILL hang.
I really hope someone with debugging skills on Windows can help me out here.
Regards,
Arwin Arni
|
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.