[Digikam-users] Digikam Crash when changing metadata (rotating, assigning flags or keywords)

styx at ewetel.net styx at ewetel.net
Tue Sep 8 19:04:32 BST 2015


Wow! Thanks for the fast and good answer, Gilles!

It took me some time to get all the right versions. I added the PPA  
mentioned in the first mail again and then installed the package  
exiv2, which I hadn’t installed before – I think. One hour ago, the  
package maintainer also updated the version to 4.13.

However, the problem somehow remains: I can rotate pictures, that are  
located on my internal harddrive, but whenever I try to rotate  
pictures on my external hard drive, Digikam crashes again. Did I miss  
anything? Maybe it has something to do with "libexiv2.so.14"?!?

(I attached a new gdb-report again)

Thank you so much!


Zitat von Gilles Caulier <caulier.gilles at gmail.com>:

> I crash in Exiv2 shared lib :
>
> digikam: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent*
> Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t,
> Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*,
> Exiv2::Internal::TiffComponent::AutoPtr): Zusicherung »mn_« nicht erfüllt.
>
> This problem have been already reported in the past as UPSTREAM bug to
> Exiv2 team.
>
> I recommend to update to last Exiv2 0.25.0.
>
> Gilles Caulier
>
> 2015-09-08 14:08 GMT+02:00 <styx at ewetel.net>:
>
>> Thanks for your prompt answer!
>>
>> I installed all the needed dbg-packages and hopefully did everything
>> right! Please find the dbg-output attached.
>>
>> Thanks!
>>
>>
>> Zitat von Gilles Caulier <caulier.gilles at gmail.com>:
>>
>>
>> We need a GDB backtrace :
>>>
>>> https://www.digikam.org/contrib
>>>
>>> Gilles Caulier
>>>
>>> 2015-09-08 12:29 GMT+02:00 <styx at ewetel.net>:
>>>
>>> Hello!
>>>>
>>>> I’m new to the list, so forgive me, if this is not the right place to ask
>>>> the question. ;-)
>>>>
>>>> I’m on Kubuntu 14.04 (DigiKam 3.5) and I have a strange behavior: I can’t
>>>> do anything with the pictures, but watch them. Every time I try to
>>>> rotate a
>>>> picture or assign a keyword or a flag, DigiKam immediately crashes. I
>>>> attached one of the KCrash reports, but KCrash says, that the collected
>>>> information is useless.
>>>>
>>>> I had this PPA (https://launchpad.net/~philip5/+archive/ubuntu/extra)
>>>> added (DigiKam 4.12), but removed it again after experiencing the problem
>>>> with the crasing DigiKam. However, the crashes also occur in the Ubuntu
>>>> 14.04 repository version (v 3.5). Has anybody had or still have the same
>>>> problem? Could it be related to some packages that were installed due to
>>>> the newer version of DigiKam in the PPA and don’t behave well with other
>>>> packages in Ubuntu 14.04?
>>>>
>>>> Some hint would be very appreciated. Thank you very much!
>>>>
>>>> - styx
>>>>
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> Digikam-users at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>
>>>>
>>>>
>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>


-------------- next part --------------
user at user-pc:~$ gdb digikam
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...Reading symbols from /usr/lib/debug/.build-id/50/b6f2aa8870bba6fab79d8a9fd2f5adf262f456.debug...done.
done.
(gdb) catch throw
Haltepunkt 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffccf70700 (LWP 10640)]
[New Thread 0x7fffc6807700 (LWP 10642)]
[New Thread 0x7fffc6006700 (LWP 10643)]
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
[New Thread 0x7fffc5805700 (LWP 10644)]
[Thread 0x7fffc5805700 (LWP 10644) exited]
[New Thread 0x7fffc5805700 (LWP 10645)]
[New Thread 0x7fffb7dad700 (LWP 10646)]
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
[New Thread 0x7fffb5fd6700 (LWP 10647)]
[Thread 0x7fffb5fd6700 (LWP 10647) exited]
[New Thread 0x7fffb5fd6700 (LWP 10648)]
[New Thread 0x7fffabffe700 (LWP 10649)]
[Thread 0x7fffb5fd6700 (LWP 10648) exited]
[Thread 0x7fffabffe700 (LWP 10649) exited]
[New Thread 0x7fffabffe700 (LWP 10650)]                                                                                                                                                         
[New Thread 0x7fffb5fd6700 (LWP 10651)]                                                                                                                                                         
[New Thread 0x7fffab080700 (LWP 10652)]                                                                                                                                                         
[New Thread 0x7fffaa87f700 (LWP 10653)]                                                                                                                                                         
[New Thread 0x7fffaa07e700 (LWP 10654)]
[New Thread 0x7fffa987d700 (LWP 10655)]
[New Thread 0x7fffa907c700 (LWP 10656)]
[New Thread 0x7fffa887b700 (LWP 10657)]
[New Thread 0x7fff83fff700 (LWP 10658)]
[New Thread 0x7fff837fe700 (LWP 10659)]
[New Thread 0x7fff7affd700 (LWP 10660)]
[New Thread 0x7fff82ffd700 (LWP 10661)]
[New Thread 0x7fff827fc700 (LWP 10662)]
[New Thread 0x7fff81ffb700 (LWP 10663)]
[New Thread 0x7fff817fa700 (LWP 10664)]
[New Thread 0x7fff80ff9700 (LWP 10665)]
[New Thread 0x7fff7bfff700 (LWP 10666)]
[New Thread 0x7fff7b7fe700 (LWP 10667)]
[New Thread 0x7fff7a7fc700 (LWP 10668)]
[New Thread 0x7fff79ffb700 (LWP 10669)]
[New Thread 0x7fff797fa700 (LWP 10670)]
[New Thread 0x7fff78ff9700 (LWP 10671)]
[New Thread 0x7fff4bfff700 (LWP 10672)]
[New Thread 0x7fff4b7fe700 (LWP 10673)]
[New Thread 0x7fff4affd700 (LWP 10674)]
[New Thread 0x7fff4a7fc700 (LWP 10675)]
[New Thread 0x7fff49ffb700 (LWP 10676)]
[New Thread 0x7fff497fa700 (LWP 10677)]
[New Thread 0x7fff48ff9700 (LWP 10678)]
[New Thread 0x7fff33fff700 (LWP 10679)]
[New Thread 0x7fff337fe700 (LWP 10680)]
[Thread 0x7fffab080700 (LWP 10652) exited]
[Thread 0x7fff837fe700 (LWP 10659) exited]
[Thread 0x7fff79ffb700 (LWP 10669) exited]
[Thread 0x7fff7affd700 (LWP 10660) exited]
[Thread 0x7fff83fff700 (LWP 10658) exited]
[Thread 0x7fff7b7fe700 (LWP 10667) exited]
[Thread 0x7fff817fa700 (LWP 10664) exited]
[Thread 0x7fffa987d700 (LWP 10655) exited]
[Thread 0x7fff49ffb700 (LWP 10676) exited]
[Thread 0x7fff82ffd700 (LWP 10661) exited]
[Thread 0x7fff80ff9700 (LWP 10665) exited]
[Thread 0x7fffa887b700 (LWP 10657) exited]
[Thread 0x7fffa907c700 (LWP 10656) exited]
[Thread 0x7fffabffe700 (LWP 10650) exited]
[Thread 0x7fff4a7fc700 (LWP 10675) exited]
[Thread 0x7fff7a7fc700 (LWP 10668) exited]
[Thread 0x7fff7bfff700 (LWP 10666) exited]
[Thread 0x7fff4affd700 (LWP 10674) exited]
[Thread 0x7fff78ff9700 (LWP 10671) exited]
[Thread 0x7fff497fa700 (LWP 10677) exited]
[Thread 0x7fff4b7fe700 (LWP 10673) exited]
[Thread 0x7fff337fe700 (LWP 10680) exited]
[Thread 0x7fff4bfff700 (LWP 10672) exited]
[Thread 0x7fff827fc700 (LWP 10662) exited]
[Thread 0x7fff33fff700 (LWP 10679) exited]
[Thread 0x7fff48ff9700 (LWP 10678) exited]
[Thread 0x7fffaa87f700 (LWP 10653) exited]
[Thread 0x7fff797fa700 (LWP 10670) exited]
[Thread 0x7fffaa07e700 (LWP 10654) exited]
[Thread 0x7fffb5fd6700 (LWP 10651) exited]
digikam: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Zusicherung »mn_« nicht erfüllt.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff81ffb700 (LWP 10663)]
0x00007ffff0a68cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff0a68cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff0a6c0d8 in __GI_abort () at abort.c:89
#2  0x00007ffff0a61b86 in __assert_fail_base (fmt=0x7ffff7f4efeb "%s%s%s:%u: %s%sZusicherung »%s« nicht erfüllt.\n%n", assertion=assertion at entry=0x7fffee7e58d8 "mn_", 
    file=file at entry=0x7fffee7e5832 "tiffcomposite.cpp", line=line at entry=749, 
    function=function at entry=0x7fffee7e6260 "virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at assert.c:92
#3  0x00007ffff0a61c32 in __GI___assert_fail (assertion=0x7fffee7e58d8 "mn_", file=0x7fffee7e5832 "tiffcomposite.cpp", line=749, 
    function=0x7fffee7e6260 "virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at assert.c:101
#4  0x00007fffee6fcc66 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#5  0x00007fffee6fb0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#6  0x00007fffee6fc2f2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#7  0x00007fffee6fb0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#8  0x00007fffee6fc8cd in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#9  0x00007fffee6fb0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#10 0x00007fffee6fc2f2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#11 0x00007fffee6fb0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#12 0x00007fffee719802 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#13 0x00007fffee7069f1 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#14 0x00007fffee694bde in Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&)
    () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#15 0x00007fffee6aef29 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#16 0x00007fffee6b06ca in Exiv2::JpegBase::writeMetadata() () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#17 0x00007ffff636a80c in KExiv2Iface::KExiv2::Private::saveOperations(QFileInfo const&, std::auto_ptr<Exiv2::Image>) const () from /usr/lib/libkexiv2.so.11
#18 0x00007ffff636ccbd in KExiv2Iface::KExiv2::Private::saveToFile(QFileInfo const&) const () from /usr/lib/libkexiv2.so.11
#19 0x00007ffff636887a in KExiv2Iface::KExiv2::save(QString const&) const () from /usr/lib/libkexiv2.so.11
#20 0x00007ffff6368ed9 in KExiv2Iface::KExiv2::applyChanges() const () from /usr/lib/libkexiv2.so.11
#21 0x00007ffff5c71bd2 in Digikam::DMetadata::applyChanges (this=this at entry=0x7fff81ff9f10) at /build/digikam-mgGpxz/digikam-4.13.0/core/libs/dmetadata/dmetadata.cpp:130
#22 0x000000000061e3bf in Digikam::MetadataHub::write (this=this at entry=0x7fff81ffa020, filePath=..., writeMode=writeMode at entry=Digikam::MetadataHub::FullWrite, settings=...)
    at /build/digikam-mgGpxz/digikam-4.13.0/core/app/fileaction/metadatahub.cpp:764
#23 0x00000000006272bb in Digikam::FileActionMngrFileWorker::ajustFaceRectangles (this=this at entry=0x14aeb50, info=..., action=action at entry=7)
    at /build/digikam-mgGpxz/digikam-4.13.0/core/app/fileaction/fileworkeriface.cpp:356
#24 0x00000000006278b2 in Digikam::FileActionMngrFileWorker::transform (this=0x14aeb50, infos=..., action=7)
    at /build/digikam-mgGpxz/digikam-4.13.0/core/app/fileaction/fileworkeriface.cpp:198
#25 0x000000000062632c in Digikam::FileWorkerInterface::qt_static_metacall (_o=0x14aeb50, _c=10663, _id=6, _a=0xffffffffffffffff)
    at /build/digikam-mgGpxz/digikam-4.13.0/obj-x86_64-linux-gnu/core/app/fileworkeriface.moc:68
#26 0x00007ffff1721c1e in QObject::event (this=0x14aeb50, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007ffff20fbe2c in QApplicationPrivate::notify_helper (this=this at entry=0xd0c050, receiver=receiver at entry=0x14aeb50, e=e at entry=0x4be1ab0) at kernel/qapplication.cpp:4567
#28 0x00007ffff21024a0 in QApplication::notify (this=this at entry=0x7fffffffdc60, receiver=receiver at entry=0x14aeb50, e=e at entry=0x4be1ab0) at kernel/qapplication.cpp:4353
#29 0x00007ffff2e06d1a in KApplication::notify (this=0x7fffffffdc60, receiver=0x14aeb50, event=0x4be1ab0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007ffff17094dd in QCoreApplication::notifyInternal (this=0x7fffffffdc60, receiver=receiver at entry=0x14aeb50, event=event at entry=0x4be1ab0) at kernel/qcoreapplication.cpp:953
#31 0x00007ffff170cb3d in sendEvent (event=0x4be1ab0, receiver=0x14aeb50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0, event_type=event_type at entry=0, data=0x7fff84023a60) at kernel/qcoreapplication.cpp:1577
---Type <return> to continue, or q <return> to quit---
#33 0x00007ffff170cfe3 in QCoreApplication::sendPostedEvents (receiver=receiver at entry=0x0, event_type=event_type at entry=0) at kernel/qcoreapplication.cpp:1470
#34 0x00007ffff1736f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x7fff64001350) at kernel/qeventdispatcher_glib.cpp:287
#36 0x00007fffe8720e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fffe8721048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fffe87210ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff17367a1 in QEventDispatcherGlib::processEvents (this=0x7fff640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#40 0x00007ffff17080af in QEventLoop::processEvents (this=this at entry=0x7fff81ffaaa0, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007ffff17083a5 in QEventLoop::exec (this=this at entry=0x7fff81ffaaa0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007ffff5ce6113 in Digikam::WorkerObjectRunnable::run (this=0x338bdf0) at /build/digikam-mgGpxz/digikam-4.13.0/core/libs/threads/threadmanager.cpp:196
#43 0x00007ffff15fafee in QThreadPoolThread::run (this=0x7fff840238c0) at concurrent/qthreadpool.cpp:108
#44 0x00007ffff160732f in QThreadPrivate::start (arg=0x7fff840238c0) at thread/qthread_unix.cpp:349
#45 0x00007fffed74d182 in start_thread (arg=0x7fff81ffb700) at pthread_create.c:312
#46 0x00007ffff0b2c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) quit
A debugging session is active.

        Inferior 1 [process 10606] will be killed.

Quit anyway? (y or n) y
user at user-pc:~$ 


More information about the Digikam-users mailing list