Bug 313813

Summary: Crash when viewing a diff when clicking on next after a viewing deleted file
Product: [Applications] kompare Reporter: Richard Comblen <rcomblen>
Component: parserAssignee: Kompare developers <kompare-devel>
Status: RESOLVED DUPLICATE    
Severity: grave    
Priority: NOR    
Version: 4.1.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Comblen 2013-01-24 09:17:24 UTC
I use git show to generate a patch
git show | kompare -
if one file is deleted, kompare crashes when trying to view the file just after
Run the following bash script to reproduce:

#!/bin/bash
mkdir test
cd test
git init
echo "first" > first
echo "second" > second
git add first second
git commit -m "first commit"
git rm first
echo "New line" >> second
git add second
git commit -m "second commit"
git show | kompare -

crash happens when clicking on "Next File"


Reproducible: Always
Comment 1 Christoph Feck 2013-01-25 09:47:08 UTC

*** This bug has been marked as a duplicate of bug 202457 ***