GNOME Bugzilla – Bug 650726
Meld chokes on file comparison
Last modified: 2011-05-31 10:03:59 UTC
Meld enters an infinite loop trying to compare the files below. Ubuntu 11.04 Meld 1.5.0 Reported as well to Ubuntu Launchpad: https://bugs.launchpad.net/ubuntu/+source/meld/+bug/786134
Created attachment 188341 [details] Files that confuse meld
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed, and the fix is present in Meld 1.5.1. *** This bug has been marked as a duplicate of bug 638314 ***
I can confirm this. it is not fixed in 1.5.1 and git 4391ac071b6ce The files in bug 638314 work, so this is a different issue
worse yet it affects 1.4.0 too, but not 1.3.2 it bisecting shows it was introduced in commit 17124883d91f: Fix spurious newline when CRLF splits over boundary (closes bgo#623076)
Created attachment 188760 [details] [review] fix the endless loop when nextbit is empty this patch fixes the issue, but I'm unsure about all consequences. needs review
What platform is this on? I can't reproduce it here.
I can reproduce it on ubuntu 11.04 and debian unstable.
Created attachment 188909 [details] [review] Patch Can you check whether this patch fixes the bug for you? I'm somewhat more comfortable with this change.
the patch fixes the problem for me
Pushed to git. Thanks for your help.