[Digikam-devel] [digikam] [Bug 359412] New: Digikam Crash when trying to set an Label (write to file)

Henrique Santos Fernandes via KDE Bugzilla bugzilla_noreply at kde.org
Mon Feb 15 03:06:52 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=359412

            Bug ID: 359412
           Summary: Digikam Crash when trying to set an Label (write to
                    file)
           Product: digikam
           Version: 4.14.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Labels
          Assignee: digikam-devel at kde.org
          Reporter: sf.rique at gmail.com

Hello, 

I have been using digikam for a while now, and I found a type of crash when
trying to set an label to certan files. I guess it is relates with an camera
issues. Most probably it is related to exiv2

It seens that the label is set to the database, but not the file.

I can upload the image in somewhere if needed.

If I could get the exiv comand, i could run it in separated to see what
happens.

Here is the backtrace of gdb.. i dont think I have the debug symbols, but here
it goes anyway...

Thanks

Reproducible: Always

Steps to Reproduce:
1.  Try to set an label to an image
2. digikam crash
3.

Actual Results:  
Digikam crash

Expected Results:  
Should set the label into the file. 


gdb digikam
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 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-unknown-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...(no debugging symbols found)...done.
(gdb) bt full
No stack.
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd3b6e700 (LWP 17840)]
[New Thread 0x7fffcd614700 (LWP 17841)]
[New Thread 0x7fffcce13700 (LWP 17842)]
[New Thread 0x7fffc7fff700 (LWP 17843)]
[Thread 0x7fffc7fff700 (LWP 17843) exited]
[New Thread 0x7fffc7fff700 (LWP 17855)]
[New Thread 0x7fffc4a2a700 (LWP 17856)]
[Thread 0x7fffc4a2a700 (LWP 17856) exited]
[New Thread 0x7fffc4a2a700 (LWP 17857)]
[New Thread 0x7fffb6ccc700 (LWP 17858)]
[Thread 0x7fffc4a2a700 (LWP 17857) exited]
[Thread 0x7fffb6ccc700 (LWP 17858) exited]
[New Thread 0x7fffb6ccc700 (LWP 17859)]
[New Thread 0x7fffc4a2a700 (LWP 17860)]
[New Thread 0x7fffb5892700 (LWP 17861)]
[New Thread 0x7fffb5091700 (LWP 17862)]
[New Thread 0x7fffb4890700 (LWP 17863)]
[New Thread 0x7fff9ffff700 (LWP 17864)]
[New Thread 0x7fff977fe700 (LWP 17865)]
[New Thread 0x7fff9f7fe700 (LWP 17866)]
[New Thread 0x7fff9effd700 (LWP 17867)]
[New Thread 0x7fff9e7fc700 (LWP 17868)]
[New Thread 0x7fff9dffb700 (LWP 17869)]
[New Thread 0x7fff9d7fa700 (LWP 17870)]
[New Thread 0x7fff9cff9700 (LWP 17871)]
[New Thread 0x7fff97fff700 (LWP 17872)]
[New Thread 0x7fff96ffd700 (LWP 17873)]
[New Thread 0x7fff967fc700 (LWP 17874)]
[New Thread 0x7fff95ffb700 (LWP 17875)]
[New Thread 0x7fff957fa700 (LWP 17876)]
[New Thread 0x7fff94ff9700 (LWP 17877)]
[New Thread 0x7fff6ffff700 (LWP 17878)]
[New Thread 0x7fff6f7fe700 (LWP 17879)]
[New Thread 0x7fff6effd700 (LWP 17880)]
[New Thread 0x7fff6e7fc700 (LWP 17881)]
[New Thread 0x7fff6dffb700 (LWP 17882)]
[New Thread 0x7fff6d7fa700 (LWP 17883)]
[New Thread 0x7fff6cff9700 (LWP 17884)]
[New Thread 0x7fff43fff700 (LWP 17885)]
[New Thread 0x7fff437fe700 (LWP 17886)]
[New Thread 0x7fff42ffd700 (LWP 17887)]
[New Thread 0x7fff427fc700 (LWP 17888)]
[New Thread 0x7fff41ffb700 (LWP 17889)]
[New Thread 0x7fff417fa700 (LWP 17890)]
[New Thread 0x7fff40ff9700 (LWP 17891)]
[New Thread 0x7fff33fff700 (LWP 17892)]
[New Thread 0x7fff337fe700 (LWP 17893)]
[New Thread 0x7fff32ffd700 (LWP 17894)]
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4:
cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4:
cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4:
cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
digikam(17836)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não
encontrado)" 
[Thread 0x7fffc4a2a700 (LWP 17860) exited]
[Thread 0x7fff6f7fe700 (LWP 17879) exited]
[Thread 0x7fff9d7fa700 (LWP 17870) exited]
[Thread 0x7fff977fe700 (LWP 17865) exited]
[Thread 0x7fffb4890700 (LWP 17863) exited]
[Thread 0x7fff9e7fc700 (LWP 17868) exited]
[Thread 0x7fffb6ccc700 (LWP 17859) exited]
[Thread 0x7fff6ffff700 (LWP 17878) exited]
[Thread 0x7fff9f7fe700 (LWP 17866) exited]
[Thread 0x7fff9ffff700 (LWP 17864) exited]
[Thread 0x7fff43fff700 (LWP 17885) exited]
[Thread 0x7fff437fe700 (LWP 17886) exited]
[Thread 0x7fff9dffb700 (LWP 17869) exited]
[Thread 0x7fff417fa700 (LWP 17890) exited]
[Thread 0x7fff427fc700 (LWP 17888) exited]
[Thread 0x7fff41ffb700 (LWP 17889) exited]
[Thread 0x7fff6cff9700 (LWP 17884) exited]
[Thread 0x7fff97fff700 (LWP 17872) exited]
[Thread 0x7fff42ffd700 (LWP 17887) exited]
[Thread 0x7fff96ffd700 (LWP 17873) exited]
[Thread 0x7fff6e7fc700 (LWP 17881) exited]
[Thread 0x7fff6dffb700 (LWP 17882) exited]
[Thread 0x7fff6effd700 (LWP 17880) exited]
[Thread 0x7fff337fe700 (LWP 17893) exited]
[Thread 0x7fff32ffd700 (LWP 17894) exited]
[Thread 0x7fff6d7fa700 (LWP 17883) exited]
[Thread 0x7fff33fff700 (LWP 17892) exited]
[Thread 0x7fff40ff9700 (LWP 17891) 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):
Assertion `mn_' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb5892700 (LWP 17861)]
0x00007ffff0ba75f8 in raise () from /usr/lib/libc.so.6
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) bt full
#0  0x00007ffff0ba75f8 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007ffff0ba8a7a in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x00007ffff0ba0417 in __assert_fail_base () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x00007ffff0ba04c2 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x00007ffff016f91e in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#5  0x00007ffff016a072 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#6  0x00007ffff016ab07 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#7  0x00007ffff016a072 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#8  0x00007ffff016f5bb in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#9  0x00007ffff016a072 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#10 0x00007ffff016ab07 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#11 0x00007ffff016a072 in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#12 0x00007ffff0187d9c in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#13 0x00007ffff0175f3d in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#14 0x00007ffff01075c6 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/libexiv2.so.14
No symbol table info available.
#15 0x00007ffff01220df in ?? () from /usr/lib/libexiv2.so.14
No symbol table info available.
#16 0x00007ffff01234a9 in Exiv2::JpegBase::writeMetadata() () from
/usr/lib/libexiv2.so.14
No symbol table info available.
#17 0x00007ffff769c97e in
KExiv2Iface::KExiv2::Private::saveOperations(QFileInfo const&,
std::auto_ptr<Exiv2::Image>) const () from /usr/lib/libkexiv2.so.11
No symbol table info available.
#18 0x00007ffff769f544 in KExiv2Iface::KExiv2::Private::saveToFile(QFileInfo
const&) const () from /usr/lib/libkexiv2.so.11
No symbol table info available.
#19 0x00007ffff7698773 in KExiv2Iface::KExiv2::save(QString const&) const ()
from /usr/lib/libkexiv2.so.11
No symbol table info available.
#20 0x00007ffff769a0e9 in KExiv2Iface::KExiv2::applyChanges() const () from
/usr/lib/libkexiv2.so.11
No symbol table info available.
#21 0x00007ffff5cc823a in Digikam::DMetadata::applyChanges() const () from
/usr/lib/libdigikamcore.so.4.14.0
No symbol table info available.
#22 0x000000000076f73f in Digikam::MetadataHub::write(QString const&,
Digikam::MetadataHub::WriteMode, Digikam::MetadataSettingsContainer const&) ()
No symbol table info available.
#23 0x0000000000779bc7 in
Digikam::FileActionMngrFileWorker::writeMetadataToFiles(Digikam::FileActionImageInfoList)
()
No symbol table info available.
#24 0x00000000007794eb in ?? ()
No symbol table info available.
#25 0x00007ffff18ec3b1 in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
No symbol table info available.
#26 0x00007ffff233439c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
No symbol table info available.
#27 0x00007ffff233b1f6 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
No symbol table info available.
#28 0x00007ffff33058aa in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
No symbol table info available.
#29 0x00007ffff18d254d in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff18d59d6 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#31 0x00007ffff190272e in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#32 0x00007fffe9ecadc7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#33 0x00007fffe9ecb020 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#34 0x00007fffe9ecb0cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#35 0x00007ffff190289e in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
No symbol table info available.
#36 0x00007ffff18d0dc1 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
No symbol table info available.
#37 0x00007ffff18d1135 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
No symbol table info available.
#38 0x00007ffff5d53a35 in Digikam::WorkerObjectRunnable::run() () from
/usr/lib/libdigikamcore.so.4.14.0
No symbol table info available.
#39 0x00007ffff17b542a in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#40 0x00007ffff17c214c in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#41 0x00007fffeeba24a4 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#42 0x00007ffff0c5d13d in clone () from /usr/lib/libc.so.6
No symbol table info available.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list