Meld produces bugus visual diff for medium-size files

Bug #991773 reported by Victor Engmark
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meld (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

How to reproduce:
1. Create build logs about this size (unfortunately I can't include these):
  $ wc successful.txt
    172184 595928 13352058 successful.txt
  $ wc failing.txt
    144713 568242 11195693 failing.txt
2. meld successful.txt failing.txt &

About a second after `meld` started running I got the following error message:

Traceback (most recent call last):
  File "/usr/lib/meld/meld/filediff.py", line 464, in on_current_diff_changed
    chunk0 = self.linediffer.get_chunk(chunk_id, 1, 0)
  File "/usr/lib/meld/meld/diffutil.py", line 223, in get_chunk
    chunk = self._merge_cache[index][sequence]
IndexError: list index out of range

Afterwards I noticed that several of the colored lines were offset from the actual different lines. Could it be that the line count is stored in only 16 bits?

File -> Format as patch... produces a *correct* patch, so it's not a `diff` issue.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: meld 1.5.2-1ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Apr 30 10:51:49 2012
ExecutablePath: /usr/bin/meld
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64+mac (20101008)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 LC_PAPER=en_GB.UTF-8
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: meld
UpgradeStatus: Upgraded to oneiric on 2012-02-24 (65 days ago)

Revision history for this message
Victor Engmark (victor-engmark) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue using a maintained version of Ubuntu then please let us know otherwise this report can be left to expire in approximately 60 days time.

Paul White
[Ubuntu Bug Squad]

Changed in meld (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for meld (Ubuntu) because there has been no activity for 60 days.]

Changed in meld (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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