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

            Bug ID: 377418
           Summary: Crash on saving metadata. Latest AppImage 5.5
           Product: digikam
           Version: 5.5.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
          Assignee: digikam-de...@kde.org
          Reporter: aegor...@gmail.com
  Target Milestone: ---

digikam.metaengine: Metadata for file "20161218_172327.jpg" written to file.
[New Thread 0x7fff17fff700 (LWP 21566)]
[Switching to Thread 0x7fff15924700 (LWP 21565)]

Thread 231 "Thread (pooled)" hit Catchpoint 1 (exception thrown),
0x00007fffee10b8bd in __cxa_throw () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007fffee10b8bd in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff5e8054d in VerifyXPathRoot (expandedXPath=0x7fff15922420, 
    propName=0x7fff20064548 "hierarchicalSubject", 
    schemaURI=0x7fff2007f588 "http://ns.adobe.com/lightroom/1.0/";)
    at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:173
#2  ExpandXPath (
    schemaNS=schemaNS@entry=0x7fff2007f588
"http://ns.adobe.com/lightroom/1.0/";, propPath=propPath@entry=0x7fff20034ef8
"hierarchicalSubject", 
    expandedXPath=expandedXPath@entry=0x7fff15922420)
    at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:688
#3  0x00007ffff5e88166 in XMPMeta::SetProperty (this=this@entry=
    0x7fff200852f0, 
    schemaNS=schemaNS@entry=0x7fff2007f588
"http://ns.adobe.com/lightroom/1.0/";, propName=propName@entry=0x7fff20034ef8
"hierarchicalSubject", 
    propValue=propValue@entry=0x0, options=options@entry=512)
    at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPMeta-GetSet.cpp:460
#4  0x00007ffff5e756fa in WXMPMeta_SetProperty_1 (xmpRef=0x7fff200852f0, 
    schemaNS=0x7fff2007f588 "http://ns.adobe.com/lightroom/1.0/";, 
    propName=0x7fff20034ef8 "hierarchicalSubject", propValue=0x0, options=512, 
---Type <return> to continue, or q <return> to quit---
    wResult=0x7fff159224e0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/WXMPMeta.cpp:529
#5  0x00007ffff5e63428 in TXMPMeta<std::string>::SetProperty (
    this=this@entry=0x7fff15922900, schemaNS=<optimized out>, 
    propName=<optimized out>, propValue=propValue@entry=0x0, 
    options=options@entry=512)
    at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/include/client-glue/TXMPMeta.incl_cpp:421
#6  0x00007ffff5e6025e in Exiv2::XmpParser::encode (
    xmpPacket="<?xpacket begin=\"\" id=\"W5M0MpCehiHzreSzNTczkc9d\"?>
<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"XMP Core 4.4.0-Exiv2\">
<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\";>
<rdf:Descrip"..., 
    xmpData=..., formatFlags=formatFlags@entry=2112, padding=padding@entry=0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/xmp.cpp:744
#7  0x00007ffff5dc4cd4 in Exiv2::JpegBase::doWriteMetadata (
    this=this@entry=0x7fff20066b60, outIo=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/jpgimage.cpp:1071
#8  0x00007ffff5dc62d7 in Exiv2::JpegBase::writeMetadata (this=0x7fff20066b60)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/jpgimage.cpp:872
#9  0x00007ffff67f53ee in Digikam::MetaEngine::Private::saveOperations (
    this=this@entry=0x7fff20077a60, finfo=..., image=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine_p.cpp:352
#10 0x00007ffff67f77fd in Digikam::MetaEngine::Private::saveToFile (
---Type <return> to continue, or q <return> to quit---
    this=0x7fff20077a60, finfo=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine_p.cpp:192
#11 0x00007ffff67f0b59 in Digikam::MetaEngine::save (this=0x7fff15923650, 
    imageFilePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:419
#12 0x00007ffff67f16a1 in Digikam::MetaEngine::applyChanges (
    this=this@entry=0x7fff15923650)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:449
#13 0x00007ffff682d119 in Digikam::DMetadata::applyChanges (
    this=this@entry=0x7fff15923650)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:116
#14 0x00007ffff7779062 in Digikam::MetadataHub::writeToMetadata (
    this=this@entry=0x7fff159236e0, info=..., writeMode=writeMode@entry=..., 
    ignoreLazySync=ignoreLazySync@entry=false, settings=...)
    at /b/dktemp/digikam-master/core/libs/fileactionmanager/metadatahub.cpp:263
#15 0x00007ffff7783bdd in Digikam::FileActionMngrFileWorker::writeMetadata (
    this=0xba9e40, infos=..., flags=128)
    at
/b/dktemp/digikam-master/core/libs/fileactionmanager/fileworkeriface.cpp:131
#16 0x00007ffff7786d9e in Digikam::FileWorkerInterface::qt_static_metacall (
    _o=0xba9e40, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at
/b/dktemp/digikam-master/build/core/libs/fileactionmanager/moc_fileworkeriface.cpp:103
---Type <return> to continue, or q <return> to quit---
#17 0x00000031e04b0e6a in QObject::event(QEvent*) ()
   from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#18 0x00007fffef3978fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /tmp/.mount_9GSMRx/usr/lib/libQt5Widgets.so.5
#19 0x00007fffef39e808 in QApplication::notify(QObject*, QEvent*) ()
   from /tmp/.mount_9GSMRx/usr/lib/libQt5Widgets.so.5
#20 0x00000031e04880f0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#21 0x00000031e048a03b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#22 0x00000031e04d5993 in ?? () from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#23 0x00007fffecc58197 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fffecc583f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fffecc5849c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00000031e04d5d87 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#27 0x00000031e04863da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#28 0x00007ffff68a795c in Digikam::WorkerObjectRunnable::run (
    this=0x7fffac04d3e0)
    at /b/dktemp/digikam-master/core/libs/threads/threadmanager.cpp:192
---Type <return> to continue, or q <return> to quit---
#29 0x00000031e02abf8d in ?? () from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#30 0x00000031e02aef49 in ?? () from /tmp/.mount_9GSMRx/usr/lib/libQt5Core.so.5
#31 0x00007ffff5a316ba in start_thread (arg=0x7fff15924700)
    at pthread_create.c:333
#32 0x00007fffed89c82d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to