Bug 200091 - "remove EXIF data" crashes digiKam
Summary: "remove EXIF data" crashes digiKam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 22:32 UTC by Michael Born
Modified: 2017-07-08 11:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Born 2009-07-13 22:32:15 UTC
Version:           0.4-5.2 (using KDE 4.2.4)
OS:                Linux
Installed from:    SuSE RPMs

Removing the EXIF data from jpg files crashes digicam 0.10.0-5.10 or gwenview 4.2.4-1.12. kipi-plugins 0.4-5.2 are installed.

I'm using OpenSuse 11.1 64bit with Suse KDE42 repository (KDE 4.2.4).
What else info should I provide? 

digikam.kcrash
http://pastebin.org/1402

gwenview.kcrash
http://pastebin.org/1403

jpg file used (is the same for all my pictures):
http://www.abload.de/img/nyc2k7l.jpeg
Comment 1 Dario Andres 2009-07-14 15:12:48 UTC
Digikam reduced backtrace:
-------

#
Thread 1 (Thread 0x7f9f2aa4e750 (LWP 11704)):
#
[KCrash Handler]
#
#5  0x00007f9f23d7fe8b in memcpy () from /lib64/libc.so.6
#
#6  0x00007f9f21b0cc8b in Exiv2::ExifData::operator=(Exiv2::ExifData const&) () from /usr/lib64/libexiv2.so.4
#
#7  0x00007f9f291d0809 in KExiv2Iface::KExiv2::save(QString const&) const () from /usr/lib64/libkexiv2.so.7
#
#8  0x00007f9f005b1a0d in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#
#9  0x00007f9f005b5e20 in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#
#10 0x00007f9f24b4a454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#
#11 0x00007f9f2566c527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#
#12 0x00007f9f2566ccf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#
#13 0x00007f9f25a0431d in ?? () from /usr/lib64/libQtGui.so.4
#
#14 0x00007f9f26a54401 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#
#15 0x00007f9f256c47a9 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#
#16 0x00007f9f25a06afb in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#
#17 0x00007f9f256721bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#
#18 0x00007f9f2567a7fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#
#19 0x00007f9f2698957b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#
#20 0x00007f9f24b36091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#
#21 0x00007f9f25679b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4

----
Gwenview reduced backtrace:
----

#
Thread 1 (Thread 0x7f5a4835e750 (LWP 12609)):
#
[KCrash Handler]
#
#5  0x00007f5a4432be8b in memcpy () from /lib64/libc.so.6
#
#6  0x00007f5a42078c8b in Exiv2::ExifData::operator=(Exiv2::ExifData const&) () from /usr/lib64/libexiv2.so.4
#
#7  0x00007f5a32b39809 in KExiv2Iface::KExiv2::save(QString const&) const () from /usr/lib64/libkexiv2.so.7
#
#8  0x00007f5a2b367a0d in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#
#9  0x00007f5a2b36be20 in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#
#10 0x00007f5a474ce454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#
#11 0x00007f5a44f10527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#
#12 0x00007f5a44f10cf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#
#13 0x00007f5a452a831d in ?? () from /usr/lib64/libQtGui.so.4
#
#14 0x00007f5a4646e401 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#
#15 0x00007f5a44f687a9 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#
#16 0x00007f5a452aaafb in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#
#17 0x00007f5a44f161bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#
#18 0x00007f5a44f1e7fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#
#19 0x00007f5a463a357b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#
#20 0x00007f5a474ba091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#
#21 0x00007f5a44f1db98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
Comment 2 caulier.gilles 2009-07-14 15:16:39 UTC
Crash appears in Exiv2 library. Which version you use ?

Can you identify which image crash digiKam ?

Gilles Caulier
Comment 3 Dario Andres 2009-07-14 15:17:59 UTC
@Gilles: could this be bug 194334 ? (both backtrace and situation are mostly the same)
Thanks
Comment 4 caulier.gilles 2009-07-14 15:24:34 UTC
Dario,

We will lets Andreas Huggel (Exiv2 author) decide...

Gilles
Comment 5 Michael Born 2009-07-14 20:54:01 UTC
The image I linked to in the first post produced the crashs.

I have several libexiv/libkexiv installed on my system (don't know why).
rpm -qa |grep exiv
libexiv2-4-0.17.1-31.3
libexiv2-5-0.18-31.1
libkexiv2-3-0.1.7-49.19
libkexiv2-7-4.2.4-1.12
Comment 6 caulier.gilles 2009-07-14 20:57:48 UTC
Go to Help/components Info menu from digiKam and look which one is used.

By experience, i recomend to let's only one Exiv2. The last stable is 0.18.2

Gilles Caulier
Comment 7 Michael Born 2009-07-14 21:10:53 UTC
Where can I tell digikam which library to use?
You suggest that I remove the libexiv2-4-0.17.1-31.3?

digiKam version 0.10.0
Exiv2 kann nicht in JP2 speichern: Keine
Exiv2 kann nicht in JPEG speichern: Ja
Exiv2 kann nicht in PNG speichern: Keine
Exiv2 kann nicht in TIFF speichern: Keine
Exiv2 unterstützt XMP-Metadaten: Ja
LibCImg: 130
LibExiv2: 0.17.1
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.2.4 (KDE 4.2.4) "release 2"
LibKExiv2: 0.5.0
LibKdcraw: 0.4.2
LibLCMS: 117
LibPNG: 1.2.31
LibQt: 4.4.3
LibRaw: 0.6.15-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
LibGphoto2: 2.4.3
LibKipi: 0.3.0
Comment 8 Michael Born 2009-07-14 22:25:52 UTC
Seems not so easy to uninstall exiv2 v0.17.1 :-(

rpm -e libexiv2-4-0.17.1-31.3
error: Failed dependencies:
        libexiv2.so.4()(64bit) is needed by (installed) ufraw-gimp-0.13-1.140.x86_64
        libexiv2.so.4()(64bit) is needed by (installed) kdegraphics3-3.5.10-1.63.2.x86_64
        libexiv2.so.4()(64bit) is needed by (installed) libkexiv2-3-0.1.7-49.19.x86_64
        libexiv2.so.4()(64bit) is needed by (installed) gpscorrelate-1.5.8-1.4.x86_64
        libexiv2.so.4()(64bit) is needed by (installed) libkexiv2-7-4.2.4-1.12.x86_64
        libexiv2.so.4()(64bit) is needed by (installed) gwenview-4.2.4-1.12.x86_64
Comment 9 caulier.gilles 2009-12-25 20:24:46 UTC
Kipi-plugins 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/492

Please try with this version.

Thanks in advance

Gilles Caulier
Comment 10 caulier.gilles 2010-04-04 10:43:39 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 11 caulier.gilles 2010-10-07 09:01:44 UTC
We need feedback using kipi-plugins 1.4.0

Gilles Caulier
Comment 12 caulier.gilles 2015-06-28 10:03:52 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 13 Michael Born 2015-06-29 14:48:31 UTC
The problem is fixed for me.

Thank you.

My current setup:
Opensuse 13.2 64bit, KDE 4.14.8,
digiKam version 4.6.0
Exiv2 kann in JP2 speichern: Ja
Exiv2 kann in JPEG speichern: Ja
Exiv2 kann in PGF speichern: Ja
Exiv2 kann in PNG speichern: Ja
Exiv2 kann in TIFF speichern: Ja
Exiv2 unterstützt XMP-Metadaten: Ja
LibCImg: 130
LibEigen: 3.2.2
LibExiv2: 0.24
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.14.8
LibKExiv2: 2.4.0
LibKGeoMap: 3.1.0
LibKdcraw: 2.4.2
LibLCMS: 2060
LibLensFun: 0.2.8-0
LibLqr support: Ja
LibPGF: 6.14.12
LibPNG: 1.6.13
LibQt: 4.8.6
LibRaw: 0.16.0
LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble-Funktion: 0.19.95 (0.20 Beta 3)
Parallelisiertes Entfernen von Mosaikmustern: Unbekannt
Prozessorkerne: 4
Unterstützung für Demosaic GPL2: Unbekannt
Unterstützung für Demosaic GPL3: Unbekannt
Unterstützung von RawSpeed-Codec: Unbekannt
Baloo support: Ja
Datenbanktreiber: QSQLITE
KIPI-Module: 4.6.0
Kdepimlibs support: Ja
LibGphoto2: 2.5.5.1
LibKface: 3.5.0
LibKipi: 2.2.0
LibOpenCV: 2.4.9
Sqlite2 support: Nein