GNOME Bugzilla – Bug 638314
Meld computes differences indefinitely
Last modified: 2011-05-22 20:29:47 UTC
Created attachment 177227 [details] file1 When comparing the two attached files, meld never stops comparing. I did disable all text filters. This is using the latest git.
Created attachment 177228 [details] file2
Tested with the attached files, and for me the comparison completes straight away (i.e, less than one second). This is also with the latest git, all filters disabled. Can you provide some more information about your setup?
Ubuntu 10.10 64bit, Python 2.6.6. Here's a video of the issue: http://ge.tt/3vJShQn
Okay, so it hangs after loading the files at "Computing differences", and there's no terminal output/backtrace/whatever. Thanks. Can you test with an older release of Meld (1.4.0 would be fine)? Unfortunately, there isn't really much for me to work with at the moment. If it's a new problem, git bisect-ing would help enormously.
Perhaps the issue is the one file has a WIN encoding, while another uses UNIX ones.
Oh and it worked in 1.3.2, sorry.
When you say windows encoding, do you mean that one file uses windows line endings? That should actually work *better* with Meld git, not worse, so if there's a regression in that code, I'd love to figure it out. Is there any chance you could use git bisect to isolate the commit to blame?
Yes, sorry - did mean the line endings. Not familiar with git that well enough, and don't have time to figure that out at the moment, I apologize.
Created attachment 177465 [details] [review] Patch I'm hoping that the attached patch should fix the issue, but I'd like some testing of it. Please let me know how you go.
I've pushed the above patch to head, so I'm closing the bug. Please reopen if you continue to see this problem.
*** Bug 640168 has been marked as a duplicate of this bug. ***
*** Bug 645038 has been marked as a duplicate of this bug. ***
*** Bug 650726 has been marked as a duplicate of this bug. ***