Bug 7116 - [Regression] Meld 3.16.0 hangs when comparing two 1Mb-sized files
: [Regression] Meld 3.16.0 hangs when comparing two 1Mb-sized files
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Contributed Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2016-06-13 14:53 MSD by Eugene Shatokhin
Modified: 2016-07-03 18:57 MSD (History)
1 user (show)

See Also:
RPM Package: meld-3.16.0-1-rosa2014.1.noarch
Bad POT generating:

The test file to compare. (911.13 KB, application/octet-stream)
2016-06-13 14:53 MSD, Eugene Shatokhin

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shatokhin 2016-06-13 14:53:17 MSD
Created attachment 4474 [details]
The test file to compare.

Description of problem:
Meld now hangs when I try to compare 2 files, about 1 Mb in size each. No reaction to mouse & keyboard, etc.

Small files are compared just fine. 

IIRC, Meld worked OK for 1M-sized files a month ago. I compared the similar AUFS patches with it then in the early May.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make a copy of the attached test file and give it a different name.
2. Use Meld to compare the original file and its copy.
Comment 1 Eugene Shatokhin 2016-06-13 15:11:50 MSD
I have checked meld-3.14.2 and it works fine for such files, so this is a regression.
Comment 2 Denis Silakov 2016-07-01 13:04:15 MSD
Meld has been updated to 3.16.1 and seems to work fine with the file from attachment.
Comment 3 Eugene Shatokhin 2016-07-01 20:25:21 MSD
(In reply to comment #2)
> Meld has been updated to 3.16.1 and seems to work fine with the file from
> attachment.

On my system, the problem is still there, even I have updated meld to 3.16.1. 

Looks like the problem has not shown up on other user's systems so far.
Comment 4 Eugene Shatokhin 2016-07-01 23:17:08 MSD
The problem is clearly related to text filters, it seems. That is why most users do not encounter it. 

If I instruct Meld to ignore whitespace-only differences, the problem happens. If I disable this text filter, Meld works fine again.

Bisected to the upstream commit eee58a5 "New text-filter mechanism to prevent interference of multiple filters"

Reported upstream:
Comment 5 Eugene Shatokhin 2016-07-03 18:57:31 MSD
The issue has been fixed upstream. The fix will make it to the future releases of Meld 3.16.x and newer.