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

tobias.luebben at ewetel.net tobias.luebben at ewetel.net
Wed Sep 9 13:07:02 BST 2015


Hi Philip,

damn – I was just writing an answer to the two previous posts! But  
now, I can skip that: Thank you Gilles and Gian Paolo! Thanks to your  
remarks I stumpled upon this blog post and the comments:  
https://www.digikam.org/node/719

I checked yesterday and Digikam used "LibExiv2: 0.25". Since the  
crashes still happened (and I was on KDE 4.13 (not using Kubuntu  
backports) and only using Philips "extra" ppa), I thought: Maybe by  
updating/upgrading 'everything', all the package issues will be  
solved: so I added the Kubuntu backports PPA as well as your (Philips)  
"kubuntu-backports" ppa. So I now have all three ppa’s loaded.  
Unfortunately, the issue still remains.

I now have the (Philips) "kubuntu-backports" PPA version of DigiKam  
installed  (4:4.13.0-trusty~ppa1kde414). However, I still get crashes  
when trying to rotate a picture that is on my external harddisk.  
Strangely, I can rotate pictures on my laptop’s internal harddrive. (I  
wonder why that is?)

Attached is another gdb-report done with my current setup. I kinda get  
the impression that something with packages is now messed up due to  
all the different package installing in the last 2 days....

Anyways, thanks so much for your help!



Zitat von Philip Johnsson <philip.johnsson at gmail.com>:

> Hi styx
>
> When you use my PPA with Digikam on Kubuntu 14.04 it's important that you
> check which version of KDE you are using. If you use KDE 4.14 you also need
> to add my "kubuntu-backports" PPA with rebuilds of Digikam against the
> updated KDE version for Kubuntu 14.04. You will still need my "extra" PPA
> that have updated dependency packages that Digikam will need. If you use
> KDE 4.13 then you only need my "extra" PPA.
>
> Regards,
>
> Philip
>
>
> On Tue, Sep 8, 2015 at 12:29 PM, <styx at ewetel.net> wrote:
>
>> 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
>>
>>


-------------- 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/ea/0f166067e26fb4ef3cdc3e8dde55f701953fe1.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 0x7fffcd94c700 (LWP 3384)]
[New Thread 0x7fffc71f1700 (LWP 3385)]
[New Thread 0x7fffc69f0700 (LWP 3386)]
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
[New Thread 0x7fffc61ef700 (LWP 3387)]
[Thread 0x7fffc61ef700 (LWP 3387) exited]
[New Thread 0x7fffc61ef700 (LWP 3389)]
[New Thread 0x7fffc48cb700 (LWP 3390)]
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
[New Thread 0x7fffb6999700 (LWP 3391)]
[Thread 0x7fffb6999700 (LWP 3391) exited]
[New Thread 0x7fffb6999700 (LWP 3392)]
[New Thread 0x7fffb4ebd700 (LWP 3394)]
[Thread 0x7fffb6999700 (LWP 3392) exited]
[Thread 0x7fffb4ebd700 (LWP 3394) exited]
[New Thread 0x7fffb4ebd700 (LWP 3397)]
[New Thread 0x7fffb6999700 (LWP 3398)]
[New Thread 0x7fffabc3b700 (LWP 3399)]
[New Thread 0x7fffab43a700 (LWP 3400)]
[New Thread 0x7fffaac39700 (LWP 3401)]
[New Thread 0x7fffaa438700 (LWP 3402)]
[New Thread 0x7fffa9c37700 (LWP 3403)]
[New Thread 0x7fffa9436700 (LWP 3404)]
[New Thread 0x7fffa8c35700 (LWP 3405)]
[New Thread 0x7fffa7dae700 (LWP 3406)]
[New Thread 0x7fffa75ad700 (LWP 3407)]
[New Thread 0x7fffa6dac700 (LWP 3408)]
[New Thread 0x7fffa65ab700 (LWP 3409)]
[New Thread 0x7fffa5daa700 (LWP 3410)]
[New Thread 0x7fffa55a9700 (LWP 3411)]
[New Thread 0x7fffa4da8700 (LWP 3412)]
[New Thread 0x7fff67fff700 (LWP 3413)]
[New Thread 0x7fff677fe700 (LWP 3414)]
[New Thread 0x7fff66ffd700 (LWP 3415)]
[New Thread 0x7fff667fc700 (LWP 3416)]
[New Thread 0x7fff65ffb700 (LWP 3417)]
[New Thread 0x7fff657fa700 (LWP 3418)]
[New Thread 0x7fff64ff9700 (LWP 3419)]
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 0x7fffb6999700 (LWP 3398)]
0x00007ffff0a73cc9 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  0x00007ffff0a73cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff0a770d8 in __GI_abort () at abort.c:89
#2  0x00007ffff0a6cb86 in __assert_fail_base (fmt=0x7ffff7f50feb "%s%s%s:%u: %s%sZusicherung »%s« nicht erfüllt.\n%n", 
    assertion=assertion at entry=0x7fffeecf58d8 "mn_", file=file at entry=0x7fffeecf5832 "tiffcomposite.cpp", line=line at entry=749, 
    function=function at entry=0x7fffeecf6260 "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  0x00007ffff0a6cc32 in __GI___assert_fail (assertion=0x7fffeecf58d8 "mn_", file=0x7fffeecf5832 "tiffcomposite.cpp", 
    line=749, 
    function=0x7fffeecf6260 "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  0x00007fffeec0cc66 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#5  0x00007fffeec0b0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#6  0x00007fffeec0c2f2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#7  0x00007fffeec0b0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#8  0x00007fffeec0c8cd in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#9  0x00007fffeec0b0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#10 0x00007fffeec0c2f2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#11 0x00007fffeec0b0a5 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#12 0x00007fffeec29802 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#13 0x00007fffeec169f1 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#14 0x00007fffeeba4bde 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 0x00007fffeebbef29 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#16 0x00007fffeebc06ca 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
---Type <return> to continue, or q <return> to quit---
    () 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=0x7fffb6997f10)
    at /build/digikam-D0kJoE/digikam-4.13.0/core/libs/dmetadata/dmetadata.cpp:130
#22 0x000000000061e3bf in Digikam::MetadataHub::write (this=this at entry=0x7fffb6998020, filePath=..., 
    writeMode=writeMode at entry=Digikam::MetadataHub::FullWrite, settings=...)
    at /build/digikam-D0kJoE/digikam-4.13.0/core/app/fileaction/metadatahub.cpp:764
#23 0x00000000006272bb in Digikam::FileActionMngrFileWorker::ajustFaceRectangles (this=this at entry=0x145f260, info=..., 
    action=action at entry=7) at /build/digikam-D0kJoE/digikam-4.13.0/core/app/fileaction/fileworkeriface.cpp:356
#24 0x00000000006278b2 in Digikam::FileActionMngrFileWorker::transform (this=0x145f260, infos=..., action=7)
    at /build/digikam-D0kJoE/digikam-4.13.0/core/app/fileaction/fileworkeriface.cpp:198
#25 0x000000000062632c in Digikam::FileWorkerInterface::qt_static_metacall (_o=0x145f260, _c=3398, _id=6, 
    _a=0xffffffffffffffff) at /build/digikam-D0kJoE/digikam-4.13.0/obj-x86_64-linux-gnu/core/app/fileworkeriface.moc:68
#26 0x00007ffff172cc1e in QObject::event (this=0x145f260, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007ffff2106e2c in QApplicationPrivate::notify_helper (this=this at entry=0xd112f0, receiver=receiver at entry=0x145f260, 
    e=e at entry=0x514f3e0) at kernel/qapplication.cpp:4567
#28 0x00007ffff210d4a0 in QApplication::notify (this=this at entry=0x7fffffffdc60, receiver=receiver at entry=0x145f260, 
    e=e at entry=0x514f3e0) at kernel/qapplication.cpp:4353
#29 0x00007ffff2e11cca in KApplication::notify (this=0x7fffffffdc60, receiver=0x145f260, event=0x514f3e0)
    at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007ffff17144dd in QCoreApplication::notifyInternal (this=0x7fffffffdc60, receiver=receiver at entry=0x145f260, 
    event=event at entry=0x514f3e0) at kernel/qcoreapplication.cpp:953
#31 0x00007ffff1717b3d in sendEvent (event=0x514f3e0, receiver=0x145f260)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
---Type <return> to continue, or q <return> to quit---
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0, event_type=event_type at entry=0, data=0x295b3a0)
    at kernel/qcoreapplication.cpp:1577
#33 0x00007ffff1717fe3 in QCoreApplication::sendPostedEvents (receiver=receiver at entry=0x0, event_type=event_type at entry=0)
    at kernel/qcoreapplication.cpp:1470
#34 0x00007ffff1741f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x7fff98001350) at kernel/qeventdispatcher_glib.cpp:287
#36 0x00007fffe8bd1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fffe8bd2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fffe8bd20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff17417a1 in QEventDispatcherGlib::processEvents (this=0x7fff980008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:434
#40 0x00007ffff17130af in QEventLoop::processEvents (this=this at entry=0x7fffb6998aa0, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007ffff17133a5 in QEventLoop::exec (this=this at entry=0x7fffb6998aa0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007ffff5ce6113 in Digikam::WorkerObjectRunnable::run (this=0x4ba8610)
    at /build/digikam-D0kJoE/digikam-4.13.0/core/libs/threads/threadmanager.cpp:196
#43 0x00007ffff1605fee in QThreadPoolThread::run (this=0x295b200) at concurrent/qthreadpool.cpp:108
#44 0x00007ffff161232f in QThreadPrivate::start (arg=0x295b200) at thread/qthread_unix.cpp:349
#45 0x00007fffedc5d182 in start_thread (arg=0x7fffb6999700) at pthread_create.c:312
#46 0x00007ffff0b3747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) quit
A debugging session is active.

        Inferior 1 [process 3351] will be killed.

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


More information about the Digikam-users mailing list