Bug 191299 - Krita crashed when saving jpeg file
Summary: Krita crashed when saving jpeg file
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 23:57 UTC by Sergei Andreev
Modified: 2009-06-01 14:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example jpeg file (756.68 KB, image/jpeg)
2009-05-02 00:00 UTC, Sergei Andreev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Andreev 2009-05-01 23:57:59 UTC
Version:           2.0 RC1 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

Krita crashed (with SIGABRT) when saving some jpeg files.

Steps to reproduce:
1. Open file in Krita
2. "File" -> "Save as" with default settings.


Приложение: Krita (krita), сигнал SIGABRT
0x00007f41eeba4d21 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f41f7a15760 (LWP 22140)):
[KCrash Handler]
#5  0x00007f41eeb2ffb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f41eeb31bc3 in *__GI_abort () at abort.c:88
#7  0x00007f41ef3d50b4 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#8  0x00007f41ef3d34b6 in ?? () from /usr/lib/libstdc++.so.6
#9  0x00007f41ef3d34e3 in std::terminate () from /usr/lib/libstdc++.so.6
#10 0x00007f41ef3d3565 in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#11 0x00007f41f733a4d9 in QEventLoop::exec (this=0x7fffffa58170, flags={i = -5930624}) at kernel/qeventloop.cpp:213
#12 0x00007f41f733c694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#13 0x00007f41f7635905 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/koffice2-1.9.99.9/krita/main.cc:44
#14 0x00007f41eeb1b5a6 in __libc_start_main (main=0x400980 <main>, argc=1, ubp_av=0x7fffffa58358, init=0x4009b0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffffa58348) at libc-start.c:220
#15 0x00000000004008b9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Sergei Andreev 2009-05-02 00:00:01 UTC
Created attachment 33286 [details]
example jpeg file
Comment 2 Dario Andres 2009-05-02 00:28:16 UTC
You can only reproduce with that image? Have you tried with another images too ?
Do you get the file save dialog ? or it crashes before it ?
Thanks
Comment 3 Sergei Andreev 2009-05-02 11:10:49 UTC
>You can only reproduce with that image? Have you tried with another images too
?

This is 19 page of comics "Deff Skwadron" - I've tryed 3-4 random pages of this comics and on all of them Krita crashed.
I have checked several other comics with jpeg pages and some random jpeg-pictures but for them "Save as" worked fine.

>Do you get the file save dialog ? or it crashes before it ?

It crashes after clicking OK in "JPEG Export Options"-dialog.
Comment 4 Sven Langkamp 2009-05-26 18:47:18 UTC
Just before the crash I get:

krita(12899)/krita (file handling) KisExifIO::saveTo: Saving  "NativeDigest"  to  "Exif.Photo.NativeDigest"
terminate called after throwing an instance of 'Exiv2::Error'
  what():  Ungültiger Feldname oder IFD-ID `NativeDigest', IFD-ID 2
Comment 5 Cyrille Berger 2009-06-01 14:48:58 UTC
SVN commit 976268 by berger:

Fix: crash when saving application that contains a NativeDigest entry

CCBUG:191299

 M  +1 -0      kis_exif_io.cpp  
 M  +108 -104  kis_xmp_io.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=976268
Comment 6 Cyrille Berger 2009-06-01 14:50:00 UTC
SVN commit 976269 by berger:

Fix: crash when saving application that contains a NativeDigest entry

backport
BUG:191299



 M  +1 -0      kis_exif_io.cpp  
 M  +108 -104  kis_xmp_io.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=976269