Bug 276614 - Krita crashes when saving to .png
Summary: Krita crashes when saving to .png
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 2.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Cyrille Berger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 14:14 UTC by Pablo Dal Lago
Modified: 2011-09-01 10:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Dal Lago 2011-06-27 14:14:52 UTC
Version:           2.1 (using KDE 4.4.5) 
OS:                Linux

Krita crashes when trying to save a JPEG file to PNG. The bug is easily reproduced with the image indicated below. According to one of of the developers (Boudewijn Rempt), it could be an exiv problem.

Reproducible: Always

Steps to Reproduce:
1) Download image at http://images.wikia.com/catan/images/1/13/Therobber.jpg
2) Open it with Krita
3) Save as .png

Actual Results:  
Krita crashes. An invalid PNG file is created.

Expected Results:  
Krita saves the file as .png.
Comment 1 Halla Rempt 2011-06-27 14:16:37 UTC
Hi Pablo!

Thanks for your report! I tried it and it's another of those exiv2 thingies. Cyrille, can you take a look?
Comment 2 Sven Langkamp 2011-09-01 10:27:19 UTC
Git commit 12d7d83cd9f67cf949752a59fbab8a6af1e63007 by Sven Langkamp.
Committed on 01/09/2011 at 12:24.
Pushed by langkamp into branch 'master'.

catch exception when saving with exiv2, don't crash just skip the data
BUG:276614

M  +82   -77   krita/ui/kisexiv2/kis_exif_io.cpp

http://commits.kde.org/calligra/12d7d83cd9f67cf949752a59fbab8a6af1e63007