Bug 646696

Summary: [abrt] meld-1.3.2-1.fc14: diffutil.py:211:get_chunk:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: igor.redhat <igor.redhat>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: anross, barnsls, bdpepple, eblix08, quantum.analyst, torkjell.skomedal, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b90122a6
Fixed In Version: meld-1.5.1-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-10 21:21:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description igor.redhat@gmail.com 2010-10-25 23:13:03 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: python /usr/bin/meld TheCityFive.html zzz.html
component: meld
executable: /usr/bin/meld
kernel: 2.6.35.6-43.fc14.x86_64
package: meld-1.3.2-1.fc14
reason: diffutil.py:211:get_chunk:IndexError: list index out of range
release: Fedora release 14 (Laughlin)
time: 1287892326
uid: 500

backtrace
-----
diffutil.py:211:get_chunk:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/meld/meld/meldapp.py", line 456, in on_menu_edit_down_activate
    self.current_doc().next_diff(gtk.gdk.SCROLL_DOWN)
  File "/usr/share/meld/meld/filediff.py", line 1257, in next_diff
    c = self._find_next_chunk(direction, pane)
  File "/usr/share/meld/meld/filediff.py", line 1246, in _find_next_chunk
    return self.linediffer.get_chunk(target, pane)
  File "/usr/share/meld/meld/diffutil.py", line 211, in get_chunk
    chunk = self._merge_cache[index][sequence]
IndexError: list index out of range

Local variables in innermost frame:
from_pane: 1
index: 2
self: <Differ object at 0x14f3320 (meld+diffutil+Differ at 0x1608f20)>
to_pane: None
sequence: 0

How to reproduce
-----
This happened when I was frantically hitting "find next diff" button while meld was still
in the process of computing diffs between two fairly large files.

Comment 1 igor.redhat@gmail.com 2010-10-25 23:13:05 UTC
Created attachment 455646 [details]
File: backtrace

Comment 2 Torkjell Skomedal 2010-11-17 14:16:55 UTC
Package: meld-1.3.2-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Compared two directories
2. Compared files in these directories that differed
3.


Comment
-----
I did not notice the crash at all, I just had to reopen the diff (files) and it worked fine again the second time

Comment 3 Elliott Sales de Andrade 2010-12-02 18:29:10 UTC
Package: meld-1.3.2-1.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Diff two files.
2. Edit one file externally so it matches the other.
3. Reload in meld; it shows "Files are identical".
4. Hit Ctrl+Q (quickly?) because you know they're the same now.

Comment 4 Yaniv Kaul 2011-02-17 16:35:21 UTC
Package: meld-1.3.2-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. reloaded files.
2.
3.

Comment 5 Fedora Admin XMLRPC Client 2011-03-13 15:38:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Andrew Ross 2011-03-27 21:42:39 UTC
Package: meld-1.3.2-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Diff 2 text files.
2. Reload after making changes to "my" text file (both were now identical).
3. Meld crashed.

Comment 7 eblix08 2011-04-07 18:47:42 UTC
Package: meld-1.3.2-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Compared two files.
2.
3.

Comment 8 eblix08 2011-04-11 15:30:08 UTC
Package: meld-1.3.2-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Compared two files.
2. Copied the change from left to right using the arrow button.
3. Moved to the previous change using the other arrow button.

Comment 9 Dominic Hopf 2011-04-17 18:16:47 UTC
There is a new version of meld available for Fedora 14:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3007032

We appreciate any testing if this fixes the reported issues.

Comment 10 Steve Barnsley 2011-04-25 18:11:13 UTC
Package: meld-1.3.2-1.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Compared 2 perl script files over sshfs mounts
2. Modified one file using an editor (not the meld change functions) 
3. selected view->reload
4. files reported (correctly as identical)
5. meld crashed and abrt detected the failure.

Comment 11 Fedora Update System 2011-05-01 11:28:30 UTC
meld-1.5.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/meld-1.5.1-1.fc14

Comment 12 Fedora Update System 2011-05-01 20:54:51 UTC
Package meld-1.5.1-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing meld-1.5.1-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/meld-1.5.1-1.fc14
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2011-05-10 21:21:20 UTC
meld-1.5.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.