Infinite loop on when using svn blame
From: Joel Low <joel_at_joelsplace.sg>
Date: Sun, 23 Oct 2011 16:05:20 +0800
I've got an infinite loop when running svn blame over file:/// on my own SVN binaries (Windows, x64, VS 2008)
I'm not sure if it is caused by my repository (it's public -- the Eraser SourceForge repository, repository can be rsynced from SourceForge servers) Trying to run blame from TortoiseSVN seems to work fine, so I did some debugging.
It seems that there's an infinite loop in find_identical_prefix (diff_file.c:379, svn 1.7.1 tag), specifically within the ifdefs in SVN_UNALIGNED_ACCESS_IS_OK between lines 417 and 455. I disabled the whole block since the comment in svn_types.h details that SVN_UNALIGNED_ACCESS_IS_OK is an optimisation opportunity define and rebuilt; the blame runs successfully then.
Any help to debug into this would be greatly appreciated, if my platform/build tools are a supported bunch (I don't really see x64 Subversion binaries for Windows so I'm not sure on this)
This is an archived mail posted to the Subversion Dev mailing list.