<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>276614</bug_id>
          
          <creation_ts>2011-06-27 14:14:52 +0000</creation_ts>
          <short_desc>Krita crashes when saving to .png</short_desc>
          <delta_ts>2011-09-01 10:27:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>File formats</component>
          <version>2.1</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pablo Dal Lago">pdallago</reporter>
          <assigned_to name="Cyrille Berger">cberger</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1136046</commentid>
    <comment_count>0</comment_count>
    <who name="Pablo Dal Lago">pdallago</who>
    <bug_when>2011-06-27 14:14:52 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1136047</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2011-06-27 14:16:37 +0000</bug_when>
    <thetext>Hi Pablo!

Thanks for your report! I tried it and it&apos;s another of those exiv2 thingies. Cyrille, can you take a look?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1158957</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Langkamp">sven.langkamp</who>
    <bug_when>2011-09-01 10:27:19 +0000</bug_when>
    <thetext>Git commit 12d7d83cd9f67cf949752a59fbab8a6af1e63007 by Sven Langkamp.
Committed on 01/09/2011 at 12:24.
Pushed by langkamp into branch &apos;master&apos;.

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

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

http://commits.kde.org/calligra/12d7d83cd9f67cf949752a59fbab8a6af1e63007</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>