GNOME Bugzilla – Bug 344604
MELD Freeze during file compare, with Python at 100% CPU usage
Last modified: 2009-08-15 18:40:50 UTC
Please describe the problem: During a file compare, MELD status bar displays 'computing differences' and the application gets frozen. The machine CPU reaches 100% usage on the Python process. Steps to reproduce: 1. meld file-a file-b 2. 3. Actual results: the compare starts but will never end. Expected results: the compare should complete. Does this happen every time? yes. Other information: This happens with two specific files I use. One has 1676 lines, the other has 1315 lines. This problem does not happen with other files I have tried so far.
I'll need a repro case. Can you attach the files?
Created attachment 67216 [details] contains output of 'dpkg -l' from machine 'klingon'
Created attachment 67217 [details] contains output of 'dpkg -l' from machine 'muffy' issuing the following command will cause the problem: meld dpkg.klingon dpkg.muffy
Actually it works ok if you leave it long enough. Unfortunately difflib can be really slow for long sequences. You've hit the worst possible case - two almost completely different files. Marking as dup of "speed" bug. *** This bug has been marked as a duplicate of 168139 ***
Batch close of old bugs.