Meld halts (100% cpu usage) when one file does not end in new line

Bug #829535 reported by Francisco Lourenço
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meld (Ubuntu)
New
Undecided
Unassigned

Bug Description

Meld ( 1.5.0 on ubuntu 11.04 x64 ) halts to 100% cpu usage and probably infinite loop, when comparing two files with one ending in a new line and the other not.

I can reproduce it the following way:
create file 1 and 2

file 1:
a\n

file 2:
b

Compare them with : meld 1 2

Other Relevant data:
Description: Ubuntu 11.04
Release: 11.04

meld:
  Installed: 1.5.0-0ubuntu1
  Candidate: 1.5.0-0ubuntu1
  Version table:
 *** 1.5.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        500 http://pt.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Francisco Lourenço (francisc-tlourenco) wrote :
  • 1 Edit (3 bytes, text/plain)
Revision history for this message
Julian Taylor (jtaylor) wrote :

thanks, for the report
this issue is probably a duplicate of bug 774265 or bug 786134

can you try if the version oneiric fixes the issue:
https://launchpad.net/ubuntu/+archive/primary/+files/meld_1.5.1-1_all.deb

Revision history for this message
Francisco Lourenço (francisc-tlourenco) wrote :

I actually DID a search for that bug not to submit a duplicate, but was unable to find it.
I can confirm that the problem is solved on 1.5.1 , so it probably was a duplicate.

Thanks for the help!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.