Bug 377432 - Crash on browsing images
Summary: Crash on browsing images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 19:32 UTC by Andrius
Modified: 2020-08-12 08:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2017-03-09 19:32:51 UTC
Thread 1 "digikam" received signal SIGSEGV, Segmentation fault.
Exiv2::ExifData::findKey (this=<optimized out>, key=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/exif.cpp:583
583	/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/exif.cpp: No such file or directory.
(gdb) bt
#0  Exiv2::ExifData::findKey (this=<optimized out>, key=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/exif.cpp:583
#1  0x00000032d2b81dda in Exiv2::Internal::PentaxMakerNote::printShutterCount (
    os=..., value=..., metadata=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/pentaxmn.cpp:1157
#2  0x00007ffff682ad4d in Exiv2::operator<< (md=..., os=...)
    at ././/include/exiv2/metadatum.hpp:305
#3  Digikam::MetaEngine::getExifTagsDataList (this=this@entry=0x7fffffffc7a0, 
    exifKeysFilter=..., invertSelection=invertSelection@entry=false)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine_exif.cpp:194
#4  0x00007ffff69abb65 in Digikam::ExifWidget::decodeMetadata (this=0xd03680)
    at /b/dktemp/digikam-master/core/libs/widgets/metadata/exifwidget.cpp:114
#5  0x00007ffff69a4f35 in Digikam::MetadataWidget::setMetadata (this=0xd03680, 
    data=...)
    at /b/dktemp/digikam-master/core/libs/widgets/metadata/metadatawidget.cpp:254
#6  0x00007ffff6a02e43 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (
    this=this@entry=0xd01860, url=...)
    at /b/dktemp/digikam-master/core/libs/imageproperties/imagepropertiesmetadatatab.cpp:192
#7  0x00007ffff7644083 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (
    this=0xcc6760, tab=0xd01860)
---Type <return> to continue, or q <return> to quit---
db.cpp:288
#8  0x00007ffff6a0dd10 in Digikam::ImagePropertiesSideBar::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /b/dktemp/digikam-master/build/core/libs/imageproperties/moc_imagepropertiessidebar.cpp:97
#9  0x000000306c8af146 in QMetaObject::activate(QObject*, int, int, void**) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#10 0x00007ffff69d274f in Digikam::Sidebar::signalChangedTab (this=<optimized out>, _t1=0xd01860) at /b/dktemp/digikam-master/build/core/libs/widgets/moc_sidebar.cpp:536
#11 0x00007ffff69d754b in Digikam::Sidebar::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /b/dktemp/digikam-master/build/core/libs/widgets/moc_sidebar.cpp:458
#12 0x000000306c8af146 in QMetaObject::activate(QObject*, int, int, void**) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#13 0x00007ffff69d270e in Digikam::DMultiTabBarButton::clicked (this=<optimized out>, _t1=1) at /b/dktemp/digikam-master/build/core/libs/widgets/moc_sidebar.cpp:208
#14 0x000000306c8af146 in QMetaObject::activate(QObject*, int, int, void**) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#15 0x00007fffefa296c2 in QAbstractButton::clicked(bool) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#16 0x00007fffefa298b5 in ?? () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#17 0x00007fffefa2ae84 in ?? () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#18 0x00007fffefa2b024 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#19 0x00007fffef98bbf8 in QWidget::event(QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#20 0x00007fffef94623c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#21 0x00007fffef94da1b in QApplication::notify(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#22 0x000000306c887ad0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#23 0x00007fffef94c70e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#24 0x00007fffef9a7156 in ?? () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#25 0x00007fffef9a9613 in ?? () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#26 0x00007fffef94623c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#27 0x00007fffef94d148 in QApplication::notify(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Widgets.so.5
#28 0x000000306c887ad0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#29 0x00007fffef36ffdd in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Gui.so.5
#30 0x00007fffef371cf5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Gui.so.5
#31 0x00007fffef352b53 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Gui.so.5
#32 0x00007fffea4313f0 in ?? () from /tmp/.mount_6Lif4P/usr/lib/libQt5XcbQpa.so.5
#33 0x00007fffed204197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffed2043f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fffed20449c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x000000306c8d5547 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#37 0x000000306c885dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#38 0x000000306c88db9d in QCoreApplication::exec() () from /tmp/.mount_6Lif4P/usr/lib/libQt5Core.so.5
#39 0x0000000000404e74 in main (argc=1, argv=<optimized out>) at /b/dktemp/digikam-master/core/app/main/main.cpp:237
(gdb)
Comment 1 caulier.gilles 2017-03-09 21:30:52 UTC
Again a crash in Exiv2.

Please look a little bit in backtrace. It's clear Exiv2 crash when Pentax makernote tags parser is used. You can report this crash directly in Exiv2 bugzilla. It's not a crash in digiKam as well.

Sound like your PEntax image are not well liked by Exiv2.

Try to identify the image file and report this problem to Exiv2 bugzilla as UPSTREAM.

Gilles Caulier
Comment 2 Andrius 2017-03-10 06:04:43 UTC
(In reply to caulier.gilles from comment #1)
> Again a crash in Exiv2.
> 
> Please look a little bit in backtrace. It's clear Exiv2 crash when Pentax
> makernote tags parser is used. You can report this crash directly in Exiv2
> bugzilla. It's not a crash in digiKam as well.
> 
> Sound like your PEntax image are not well liked by Exiv2.
> 
> Try to identify the image file and report this problem to Exiv2 bugzilla as
> UPSTREAM.
> 
> Gilles Caulier

I see this:
---
#1  0x00000032d2b81dda in Exiv2::Internal::PentaxMakerNote::printShutterCount (
    os=..., value=..., metadata=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/pentaxmn.cpp:1157
---
But how do I determine whether it caused the crash or not? If you did not tell me I would never find out that "Exiv2 crash when Pentax makernote tags parser is used."
What I am saying is it's not that clear when you don't have the knowledge. I am learning though...
Comment 3 Andrius 2017-03-10 06:14:06 UTC
(In reply to caulier.gilles from comment #1)
> Again a crash in Exiv2.
> 
> Please look a little bit in backtrace. It's clear Exiv2 crash when Pentax
> makernote tags parser is used. You can report this crash directly in Exiv2
> bugzilla. It's not a crash in digiKam as well.
> 
> Sound like your PEntax image are not well liked by Exiv2.
> 
> Try to identify the image file and report this problem to Exiv2 bugzilla as
> UPSTREAM.
> 
> Gilles Caulier

Anyways, you might be correct. I have already had some issues with a metadata created by my Pentax K-S1 and exiv2 called via API by darktable.
Posted. http://dev.exiv2.org/issues/1283
Thanks for your help!
Comment 4 Simon 2017-03-10 07:51:16 UTC
Thank you for all your reporting here and upstream on the exiv2 project!

On 10/03/17 07:14, wildcowboy wrote:
> https://bugs.kde.org/show_bug.cgi?id=377432
>
> --- Comment #3 from wildcowboy <aegoreev@gmail.com> ---
> (In reply to caulier.gilles from comment #1)
> Anyways, you might be correct. I have already had some issues with a metadata
> created by my Pentax K-S1 and exiv2 called via API by darktable.
> Posted. http://dev.exiv2.org/issues/1283
> Thanks for your help!
>
Comment 5 Andrius 2017-03-12 22:15:07 UTC
One more crash. Looks like exiv2 again...

Thread 595 "Thread (pooled)" hit Catchpoint 1 (exception thrown), 0x00007fffee0cc8bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007fffee0cc8bd in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff5e7fd3d in VerifyXPathRoot (expandedXPath=0x7fff0dff96d0, 
    propName=0x7fff14078818 "prefix0:LocationCreated", 
    schemaURI=0x7fff1409bf18 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/")
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:203
#2  ExpandXPath (
    schemaNS=0x7fff1409bf18 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/", 
    propPath=<optimized out>, expandedXPath=expandedXPath@entry=0x7fff0dff96d0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:688
#3  0x00007ffff5e8365c in GetNextXMPNode (info=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPIterator.cpp:335
#4  0x00007ffff5e838dc in XMPIterator::Next (this=this@entry=0x7fff140690b0, 
    schemaNS=schemaNS@entry=0x7fff0dff9810, 
    nsSize=nsSize@entry=0x7fff0dff9818, 
    propPath=propPath@entry=0x7fff0dff9820, 
    pathSize=pathSize@entry=0x7fff0dff9828, 
    propValue=propValue@entry=0x7fff0dff9830, valueSize=0x7fff0dff9838, 
    propOptions=0x7fff0dff99e8)
---Type <return> to continue, or q <return> to quit---
0
#5  0x00007ffff5e735ee in WXMPIterator_Next_1 (iterRef=0x7fff140690b0, schemaNS=<optimized out>, nsSize=0x7fff0dff9818, propPath=0x7fff0dff9820, 
    pathSize=0x7fff0dff9828, propValue=0x7fff0dff9830, valueSize=<optimized out>, propOptions=0x7fff0dff99e8, wResult=0x7fff0dff9840)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/WXMPIterator.cpp:148
#6  0x00007ffff5e64647 in TXMPIterator<std::string>::Next (this=this@entry=0x7fff0dff9a30, schemaNS=schemaNS@entry=0x7fff0dff9950, 
    propPath=propPath@entry=0x7fff0dff9960, propValue=propValue@entry=0x7fff0dff99b0, options=options@entry=0x7fff0dff99e8)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/include/client-glue/TXMPIterator.incl_cpp:208
#7  0x00007ffff5e5e777 in Exiv2::XmpParser::decode (xmpData=..., 
    xmpPacket="<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>\r\n<x:xmpmeta xmlns:x=\"adobe:ns:meta/\"><rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"><rdf:Description rdf:about=\"uuid:faf5bdd5-ba"...) at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/xmp.cpp:557
#8  0x00007ffff5dc7610 in Exiv2::JpegBase::readMetadata (this=0x7fff14068a20) at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/jpgimage.cpp:409
#9  0x00007ffff67f2126 in Digikam::MetaEngine::load (this=this@entry=0x7fff0dffa730, filePath=...) at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:280
#10 0x00007ffff683aa36 in Digikam::DMetadata::load (this=this@entry=0x7fff0dffa730, filePath=...) at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:96
#11 0x00007ffff683aab2 in Digikam::DMetadata::DMetadata (this=0x7fff0dffa730, filePath=...) at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:63
#12 0x00007ffff6884741 in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0xaaa950, info=..., detailRect=...)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:469
#13 0x00007ffff6887767 in Digikam::ThumbnailCreator::load (this=0xaaa950, identifier=..., rect=..., pregenerate=pregenerate@entry=true)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:264
#14 0x00007ffff6888170 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, identifier=...)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:197
#15 0x00007ffff68929d0 in Digikam::ThumbnailLoadingTask::execute (this=0xc613d0) at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailtask.cpp:76
#16 0x00007ffff686b482 in Digikam::LoadSaveThread::run (this=0xb9ba50) at /b/dktemp/digikam-master/core/libs/threadimageio/loadsavethread.cpp:133
#17 0x00007ffff68a950e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xb3db40) at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:183
#18 0x00000031e02abf8d in ?? () from /tmp/.mount_z2eVTb/usr/lib/libQt5Core.so.5
#19 0x00000031e02aef49 in ?? () from /tmp/.mount_z2eVTb/usr/lib/libQt5Core.so.5
#20 0x00007ffff5a316ba in start_thread (arg=0x7fff0dffb700) at pthread_create.c:333
#21 0x00007fffed85d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Comment 6 caulier.gilles 2017-03-12 22:22:09 UTC
Yes, exactly, into XMP SDK from Adobe when a thumbnail of image must be created.

The crash appear always on the same image ?

Gilles Caulier
Comment 7 Andrius 2017-03-12 22:30:27 UTC
(In reply to caulier.gilles from comment #6)
> Yes, exactly, into XMP SDK from Adobe when a thumbnail of image must be
> created.
> 
> The crash appear always on the same image ?
> 
> Gilles Caulier

Right now it crashes when I open two particular folders.
It just happened again.
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
Starting digiKam into GDB...
Use 'bt' command on debugger prompt to get a crash backtrace.
Use 'q' command to quit debugger session.
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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...done.
Catchpoint 1 (throw)
Starting program: /tmp/.mount_I0blN4/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 0x7fffe78e2700 (LWP 4706)]
digikam.widgets: Breeze icons ressource file found
digikam.general: AlbumWatch use QFileSystemWatcher
[New Thread 0x7fffe5ffd700 (LWP 4707)]
[New Thread 0x7fffe57fc700 (LWP 4708)]
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/media/data/FamilyPictures/digikam4.db"
   DB Thumbs Name:           "/media/data/FamilyPictures/thumbnails-digikam.db"
   DB Face Name:             "/media/data/FamilyPictures/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

[New Thread 0x7fffe4ffb700 (LWP 4709)]
[Thread 0x7fffe4ffb700 (LWP 4709) exited]
digikam.dbengine: Loading SQL code from config file "/tmp/.mount_I0blN4/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8
digikam.database: Creating new Location  "/FamilyPictures"  uuid  "volumeid:?uuid=e0deb5d0deb59eea"
digikam.database: location for  "/media/data/FamilyPictures"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  8244797440
digikam.general: Allowing a cache size of 200 MB
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.general: Switch to widget style:  "Fusion"
digikam.dimg: ("/usr/share/color/icc", "/home/andrey/.local/share/icc")
[New Thread 0x7fffe4ffb700 (LWP 4715)]
digikam.general: Camera XML data:  "/home/andrey/.local/share/digikam/cameras.xml"
[New Thread 0x7fffd5f9d700 (LWP 4716)]
[New Thread 0x7fffd579c700 (LWP 4717)]
[New Thread 0x7fffd4f9b700 (LWP 4718)]
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "2"
digikam.facesengine: Face database ready for use
[New Thread 0x7fffc3fff700 (LWP 4719)]
[New Thread 0x7fffc37fe700 (LWP 4720)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fffc2ffd700 (LWP 4721)]
[New Thread 0x7fffc27fc700 (LWP 4722)]
[New Thread 0x7fffc1ffb700 (LWP 4723)]
[New Thread 0x7fffc17fa700 (LWP 4724)]
[New Thread 0x7fffc0ff9700 (LWP 4725)]
digikam.facesengine: Face database ready for use
[New Thread 0x7fffa3fff700 (LWP 4726)]
[New Thread 0x7fffa37fe700 (LWP 4727)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fffa2ffd700 (LWP 4728)]
[New Thread 0x7fffa27fc700 (LWP 4729)]
[New Thread 0x7fffa1ffb700 (LWP 4730)]
[New Thread 0x7fffa17fa700 (LWP 4731)]
digikam.geoiface: "setting backend marble"
QtAV 1.11.0(Mar  9 2017, 11:27:18)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
capi::version: 0.6.0
[New Thread 0x7fffa0ff9700 (LWP 4732)]
[Thread 0x7fffa0ff9700 (LWP 4732) exited]
[New Thread 0x7fffa0ff9700 (LWP 4733)]
[Thread 0x7fffa0ff9700 (LWP 4733) exited]
[New Thread 0x7fffa0ff9700 (LWP 4734)]
[New Thread 0x7fffd4551700 (LWP 4735)]
digikam.general: AudioOutput backends: ("OpenAL", "null")
digikam.general: Stacked View Mode :  0
[New Thread 0x7fff53ffd700 (LWP 4736)]
[New Thread 0x7fff537fc700 (LWP 4737)]
digikam.geoiface: "setting backend marble"
[New Thread 0x7fff52ffb700 (LWP 4738)]
digikam.general: "browse_album"
digikam.general: "browse_tag"
digikam.general: "browse_labels"
digikam.general: "browse_date"
digikam.general: "browse_timeline"
digikam.general: "browse_search"
digikam.general: "browse_fuzzysearch"
digikam.general: "browse_gpssearch"
digikam.general: "browse_people"
[New Thread 0x7fff527fa700 (LWP 4739)]
[New Thread 0x7fff51ff9700 (LWP 4740)]
[New Thread 0x7fff517f8700 (LWP 4741)]
[New Thread 0x7fff50ff7700 (LWP 4742)]
[New Thread 0x7fff3fffe700 (LWP 4743)]
digikam.widgets: Paths to color scheme :  ("/tmp/.mount_I0blN4/usr/share/digikam/colorschemes")
digikam.widgets: "Breeze"  ::  ""
digikam.widgets: "LowKey"  ::  "/tmp/.mount_I0blN4/usr/share/digikam/colorschemes/lowkey.colors"
QFSFileEngine::open: No file name specified
digikam.dimg: Root lens database dir:  "/tmp/.mount_I0blN4/usr/share/lensfun"
digikam.dimg: Load lens database file:  "6x6.xml"
digikam.dimg: Load lens database file:  "actioncams.xml"
digikam.dimg: Load lens database file:  "compact-canon.xml"
digikam.dimg: Load lens database file:  "compact-casio.xml"
digikam.dimg: Load lens database file:  "compact-fujifilm.xml"
digikam.dimg: Load lens database file:  "compact-kodak.xml"
digikam.dimg: Load lens database file:  "compact-konica-minolta.xml"
digikam.dimg: Load lens database file:  "compact-leica.xml"
digikam.dimg: Load lens database file:  "compact-nikon.xml"
digikam.dimg: Load lens database file:  "compact-olympus.xml"
digikam.dimg: Load lens database file:  "compact-panasonic.xml"
digikam.dimg: Load lens database file:  "compact-pentax.xml"
digikam.dimg: Load lens database file:  "compact-ricoh.xml"
digikam.dimg: Load lens database file:  "compact-samsung.xml"
digikam.dimg: Load lens database file:  "compact-sigma.xml"
digikam.dimg: Load lens database file:  "compact-sony.xml"
digikam.dimg: Load lens database file:  "contax.xml"
digikam.dimg: Load lens database file:  "generic.xml"
digikam.dimg: Load lens database file:  "mil-canon.xml"
digikam.dimg: Load lens database file:  "mil-fujifilm.xml"
digikam.dimg: Load lens database file:  "mil-nikon.xml"
digikam.dimg: Load lens database file:  "mil-olympus.xml"
digikam.dimg: Load lens database file:  "mil-panasonic.xml"
digikam.dimg: Load lens database file:  "mil-pentax.xml"
digikam.dimg: Load lens database file:  "mil-samsung.xml"
digikam.dimg: Load lens database file:  "mil-samyang.xml"
digikam.dimg: Load lens database file:  "mil-sigma.xml"
digikam.dimg: Load lens database file:  "mil-sony.xml"
digikam.dimg: Load lens database file:  "mil-tamron.xml"
digikam.dimg: Load lens database file:  "mil-zeiss.xml"
digikam.dimg: Load lens database file:  "misc.xml"
digikam.dimg: Load lens database file:  "rf-leica.xml"
digikam.dimg: Load lens database file:  "slr-canon.xml"
digikam.dimg: Load lens database file:  "slr-hasselblad.xml"
digikam.dimg: Load lens database file:  "slr-konica-minolta.xml"
digikam.dimg: Load lens database file:  "slr-leica.xml"
digikam.dimg: Load lens database file:  "slr-nikon.xml"
digikam.dimg: Load lens database file:  "slr-olympus.xml"
digikam.dimg: Load lens database file:  "slr-panasonic.xml"
digikam.dimg: Load lens database file:  "slr-pentax.xml"
digikam.dimg: Load lens database file:  "slr-ricoh.xml"
digikam.dimg: Load lens database file:  "slr-samsung.xml"
digikam.dimg: Load lens database file:  "slr-samyang.xml"
digikam.dimg: Load lens database file:  "slr-schneider.xml"
digikam.dimg: Load lens database file:  "slr-sigma.xml"
digikam.dimg: Load lens database file:  "slr-soligor.xml"
digikam.dimg: Load lens database file:  "slr-sony.xml"
digikam.dimg: Load lens database file:  "slr-tamron.xml"
digikam.dimg: Load lens database file:  "slr-tokina.xml"
digikam.dimg: Load lens database file:  "slr-ussr.xml"
digikam.dimg: Load lens database file:  "slr-vivitar.xml"
digikam.dimg: Load lens database file:  "slr-zeiss.xml"
digikam.dimg: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam.dimg: dev:  AEE  ::  AEE DV  ::  6
digikam.dimg: Search for camera  "" - ""  ==> false
digikam.dimg: Search for lens  ""  ==> false
digikam.dimg: updating data
[New Thread 0x7fff3eded700 (LWP 4744)]
[New Thread 0x7fff3e5ec700 (LWP 4745)]
[New Thread 0x7fff3ddeb700 (LWP 4746)]
[New Thread 0x7fff3d5ea700 (LWP 4747)]
[New Thread 0x7fff3cde9700 (LWP 4748)]
[New Thread 0x7fff0ffff700 (LWP 4749)]
[New Thread 0x7fff0f7fe700 (LWP 4750)]
[New Thread 0x7fff0effd700 (LWP 4751)]
[New Thread 0x7fff0e7fc700 (LWP 4752)]
[New Thread 0x7fff0dffb700 (LWP 4753)]
[New Thread 0x7fff0d7fa700 (LWP 4754)]
[New Thread 0x7fff0cff9700 (LWP 4755)]
[New Thread 0x7fff0c7f8700 (LWP 4756)]
[New Thread 0x7fff0bff7700 (LWP 4757)]
[New Thread 0x7fff0b7f6700 (LWP 4758)]
[New Thread 0x7fff0aff5700 (LWP 4759)]
[New Thread 0x7fff0a7f4700 (LWP 4760)]
[New Thread 0x7fff09ff3700 (LWP 4761)]
[New Thread 0x7fff097f2700 (LWP 4762)]
[New Thread 0x7fff08ff1700 (LWP 4763)]
[New Thread 0x7fff087f0700 (LWP 4764)]
[New Thread 0x7fff07fef700 (LWP 4765)]
[New Thread 0x7fff077ee700 (LWP 4766)]
[New Thread 0x7fff06fed700 (LWP 4767)]
[New Thread 0x7fff067ec700 (LWP 4768)]
[New Thread 0x7fff05feb700 (LWP 4769)]
[New Thread 0x7fff057ea700 (LWP 4770)]
[New Thread 0x7fff04fe9700 (LWP 4771)]
[New Thread 0x7fff047e8700 (LWP 4772)]
digikam.dimg: updating data
digikam.general: Using  4  CPU core to run threads
digikam.general: new search text settings:  "" : hasResult =  false , validRows =  0
QFSFileEngine::open: No file name specified
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Added root album called:  "FamilyPictures"
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff03fe7700 (LWP 4774)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff037e6700 (LWP 4775)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[Thread 0x7fff037e6700 (LWP 4775) exited]
[New Thread 0x7fff037e6700 (LWP 4776)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend googlemaps"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend googlemaps"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.geoiface: ----
[Thread 0x7fff037e6700 (LWP 4776) exited]
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff037e6700 (LWP 4777)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: One job is done
[Thread 0x7fff03fe7700 (LWP 4774) exited]
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7fff037e6700 (LWP 4777) exited]
digikam.geoiface: ----
Recreating ksycoca file ("/home/andrey/.cache/ksycoca5_en-CA_kLyNrzGExf2ZjhzlV80KypOnyI8=", version 303)
Menu "applications.menu" not found.
"applications.menu"  not found in  ("/home/andrey/.config/menus", "/etc/xdg/menus") 

Saving
kipi.plugins: Plugin_Flickr plugin loaded
kipi.library: UI file : "/tmp/.mount_I0blN4/usr/share/kxmlgui5/kipi/kipiplugin_flickrui.rc"
kipi.library: Loaded plugin  "Flickr"
kipi.plugins: Plugin_GoogleServices Plugin Loaded
kipi.library: UI file : "/tmp/.mount_I0blN4/usr/share/kxmlgui5/kipi/kipiplugin_googleservicesui.rc"
kipi.library: Loaded plugin  "Google Services"
kipi.plugins: Plugin_PrintImages plugin loaded
kipi.library: UI file : "/tmp/.mount_I0blN4/usr/share/kxmlgui5/kipi/kipiplugin_printimagesui.rc"
kipi.library: Loaded plugin  "PrintImages"
kipi.plugins: Plugin_SendImages plugin loaded
kipi.library: UI file : "/tmp/.mount_I0blN4/usr/share/kxmlgui5/kipi/kipiplugin_sendimagesui.rc"
kipi.library: Loaded plugin  "SendImages"
digikam.geoiface: ----
[New Thread 0x7fff037e6700 (LWP 4779)]
QFSFileEngine::open: No file name specified
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
[New Thread 0x7fff03fe7700 (LWP 4780)]
[New Thread 0x7fff02942700 (LWP 4781)]
[New Thread 0x7fff02141700 (LWP 4782)]
[New Thread 0x7fff01940700 (LWP 4783)]
digikam.facesengine: Face database ready for use
[New Thread 0x7fff0113f700 (LWP 4784)]
[New Thread 0x7fff0093e700 (LWP 4785)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fff0013d700 (LWP 4786)]
[New Thread 0x7ffeff93c700 (LWP 4787)]
[New Thread 0x7ffeff13b700 (LWP 4788)]
digikam.facesengine: Face database ready for use
[New Thread 0x7ffefe93a700 (LWP 4789)]
[New Thread 0x7ffefe139700 (LWP 4790)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7ffefd938700 (LWP 4791)]
QFSFileEngine::open: No file name specified
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.widgets: TURN ON fullscreen
digikam.general: Stacked View Mode :  0
digikam.general: scan mode: ScanDeferredFiles
digikam.general: total scan value :  28661
digikam.widgets: TURN OFF fullscreen
digikam.general: Stacked View Mode :  0
digikam.widgets: TURN ON fullscreen
digikam.general: Stacked View Mode :  0
digikam.database: items to tag ()
digikam.database: Complete scan took: 6696 msecs.
digikam.general: Event is dispatched to desktop notifier through DBUS
[Thread 0x7fff07fef700 (LWP 4765) exited]
[Thread 0x7fff08ff1700 (LWP 4763) exited]
[Thread 0x7fff0cff9700 (LWP 4755) exited]
[Thread 0x7fff077ee700 (LWP 4766) exited]
[Thread 0x7fff067ec700 (LWP 4768) exited]
[Thread 0x7fff0dffb700 (LWP 4753) exited]
[Thread 0x7fff0e7fc700 (LWP 4752) exited]
[Thread 0x7fff0f7fe700 (LWP 4750) exited]
[Thread 0x7fff3e5ec700 (LWP 4745) exited]
[Thread 0x7fff087f0700 (LWP 4764) exited]
[Thread 0x7fff0aff5700 (LWP 4759) exited]
[Thread 0x7fff0d7fa700 (LWP 4754) exited]
[Thread 0x7fff0effd700 (LWP 4751) exited]
[Thread 0x7fff3cde9700 (LWP 4748) exited]
[Thread 0x7fff3eded700 (LWP 4744) exited]
[Thread 0x7fff3ddeb700 (LWP 4746) exited]
[Thread 0x7fff3d5ea700 (LWP 4747) exited]
[Thread 0x7fff06fed700 (LWP 4767) exited]
[Thread 0x7fff0ffff700 (LWP 4749) exited]
[Thread 0x7fff0bff7700 (LWP 4757) exited]
[Thread 0x7fff05feb700 (LWP 4769) exited]
[Thread 0x7fff057ea700 (LWP 4770) exited]
[Thread 0x7fff04fe9700 (LWP 4771) exited]
[Thread 0x7fff047e8700 (LWP 4772) exited]
[Thread 0x7fff0b7f6700 (LWP 4758) exited]
[Thread 0x7fff0c7f8700 (LWP 4756) exited]
[Thread 0x7fff09ff3700 (LWP 4761) exited]
[Thread 0x7fff0a7f4700 (LWP 4760) exited]
[Thread 0x7fff097f2700 (LWP 4762) exited]
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff097f2700 (LWP 4869)]
digikam.general: Action Thread run  1  new jobs
[New Thread 0x7fff0a7f4700 (LWP 4870)]
[New Thread 0x7fff09ff3700 (LWP 4871)]
[New Thread 0x7fff0c7f8700 (LWP 4872)]
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7fff097f2700 (LWP 4869) exited]
[New Thread 0x7fff097f2700 (LWP 4873)]
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff3eded700 (LWP 4875)]
digikam.general: Action Thread run  1  new jobs
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7fff3eded700 (LWP 4875) exited]
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff3eded700 (LWP 4876)]
digikam.general: Action Thread run  1  new jobs
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7fff3eded700 (LWP 4876) exited]
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.metaengine: Exiv2 ( 2 ) :  Directory Photo, entry 0x0000 has unknown Exif (TIFF) type 0; setting type size 1.

digikam.metaengine: Exiv2 ( 3 ) :  Upper boundary of data for directory Photo, entry 0x0000 is out of bounds: Offset = 0x00000001, size = 303109, exceeds buffer size by 282643 Bytes; truncating the entry

digikam.metaengine: Exiv2 ( 2 ) :  Directory Photo, entry 0x0294 has unknown Exif (TIFF) type 0; setting type size 1.

digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  6
digikam.general: mimetype =  "JPEG"  ext =  "JPG"
digikam.metaengine: Orientation => Exif.Image.Orientation =>  3
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7fff3eded700 (LWP 4882)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7fff3eded700 (LWP 4882) exited]
[Switching to Thread 0x7fff0c7f8700 (LWP 4872)]

Thread 84 "Thread (pooled)" hit Catchpoint 1 (exception thrown), 0x00007fffee0cc8bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007fffee0cc8bd in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff5e7fd3d in VerifyXPathRoot (expandedXPath=0x7fff0c7f66d0, 
    propName=0x7fff9822ad38 "prefix0:LocationCreated", 
    schemaURI=0x7fff981a1e68 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/")
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:203
#2  ExpandXPath (
    schemaNS=0x7fff981a1e68 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/", 
    propPath=<optimized out>, expandedXPath=expandedXPath@entry=0x7fff0c7f66d0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:688
#3  0x00007ffff5e8365c in GetNextXMPNode (info=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPIterator.cpp:335
#4  0x00007ffff5e838dc in XMPIterator::Next (this=this@entry=0x7fff980442e0, 
    schemaNS=schemaNS@entry=0x7fff0c7f6810, 
    nsSize=nsSize@entry=0x7fff0c7f6818, 
    propPath=propPath@entry=0x7fff0c7f6820, 
    pathSize=pathSize@entry=0x7fff0c7f6828, 
    propValue=propValue@entry=0x7fff0c7f6830, valueSize=0x7fff0c7f6838, 
    propOptions=0x7fff0c7f69e8)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPIterator.cpp:63---Type <return> to continue, or q <return> to quit---
0
#5  0x00007ffff5e735ee in WXMPIterator_Next_1 (iterRef=0x7fff980442e0, 
    schemaNS=<optimized out>, nsSize=0x7fff0c7f6818, propPath=0x7fff0c7f6820, 
    pathSize=0x7fff0c7f6828, propValue=0x7fff0c7f6830, 
    valueSize=<optimized out>, propOptions=0x7fff0c7f69e8, 
    wResult=0x7fff0c7f6840)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/WXMPIterator.cpp:148
#6  0x00007ffff5e64647 in TXMPIterator<std::string>::Next (
    this=this@entry=0x7fff0c7f6a30, schemaNS=schemaNS@entry=0x7fff0c7f6950, 
    propPath=propPath@entry=0x7fff0c7f6960, 
    propValue=propValue@entry=0x7fff0c7f69b0, 
    options=options@entry=0x7fff0c7f69e8)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/include/client-glue/TXMPIterator.incl_cpp:208
#7  0x00007ffff5e5e777 in Exiv2::XmpParser::decode (xmpData=..., 
    xmpPacket="<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>\r\n<x:xmpmeta xmlns:x=\"adobe:ns:meta/\"><rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"><rdf:Description rdf:about=\"uuid:faf5bdd5-ba"...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/xmp.cpp:557
#8  0x00007ffff5dc7610 in Exiv2::JpegBase::readMetadata (this=0x7fff980f65d0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/jpgimage.cpp:409
#9  0x00007ffff67f2126 in Digikam::MetaEngine::load (
---Type <return> to continue, or q <return> to quit---
    this=this@entry=0x7fff0c7f7730, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:280
#10 0x00007ffff683aa36 in Digikam::DMetadata::load (
    this=this@entry=0x7fff0c7f7730, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:96
#11 0x00007ffff683aab2 in Digikam::DMetadata::DMetadata (this=0x7fff0c7f7730, 
    filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:63
#12 0x00007ffff6884741 in Digikam::ThumbnailCreator::createThumbnail (
    this=this@entry=0xab9680, info=..., detailRect=...)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:469
#13 0x00007ffff6887767 in Digikam::ThumbnailCreator::load (this=0xab9680, 
    identifier=..., rect=..., pregenerate=pregenerate@entry=true)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:264
#14 0x00007ffff6888170 in Digikam::ThumbnailCreator::pregenerate (
    this=<optimized out>, identifier=...)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:197
#15 0x00007ffff68929d0 in Digikam::ThumbnailLoadingTask::execute (
    this=0x272dd00)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailtask.cpp:76
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff686b482 in Digikam::LoadSaveThread::run (this=0xb9d190)
    at /b/dktemp/digikam-master/core/libs/threadimageio/loadsavethread.cpp:133
#17 0x00007ffff68a950e in Digikam::DynamicThread::DynamicThreadPriv::run (
    this=0xb3dc80)
    at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:183
#18 0x00000031e02abf8d in ?? () from /tmp/.mount_I0blN4/usr/lib/libQt5Core.so.5
#19 0x00000031e02aef49 in ?? () from /tmp/.mount_I0blN4/usr/lib/libQt5Core.so.5
#20 0x00007ffff5a316ba in start_thread (arg=0x7fff0c7f8700)
    at pthread_create.c:333
#21 0x00007fffed85d82d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)
Comment 8 Andrius 2017-03-12 22:34:31 UTC
3 folders... All 3 folders contain pictures from the same trip. There pictures&videos from two Samsung phones and Pentax K-S1 camera in there
Comment 9 caulier.gilles 2017-03-12 22:39:02 UTC
Try to isolate the JPEG image file which introduce the dysfunction. It's a JPEG image as i can see on the backtrace.

After that, share the image on the cloud. I will try to reproduce the problem here.

Gilles Caulier
Comment 10 Andrius 2017-03-12 22:49:05 UTC
(In reply to caulier.gilles from comment #9)
> Try to isolate the JPEG image file which introduce the dysfunction. It's a
> JPEG image as i can see on the backtrace.
> 
> After that, share the image on the cloud. I will try to reproduce the
> problem here.
> 
> Gilles Caulier

This one definitely causing the crash. I copied it to a different folder and now digiKam crashes when trying to scan this folder.
https://drive.google.com/open?id=0B5_iknSPeSNBcGFZcUduTzJsZzQ
Comment 11 caulier.gilles 2017-03-13 12:03:33 UTC
Ok,

I created a basic test CLI tool to read metadata from your image which crash digiKam :

[gilles@localhost dmetadata]$ ./readfromimage 20160911_132121.jpg 
...
digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 101: Schema namespace URI and prefix mismatch

digikam.metaengine: Exiv2 ( 2 ) :  Failed to decode XMP metadata.

--- Comments   -------------------------------
digikam.general: Does not contain  "Comment"  Namespace
digikam.metaengine: Loading default values ++++++++++++++++
QMap()
--- Titles     -------------------------------
QMap()
--- IPTC info  -------------------------------
IptcCoreContactInfo::city: "", IptcCoreContactInfo::country: "", IptcCoreContactInfo::address: "", IptcCoreContactInfo::postalCode: "", IptcCoreContactInfo::provinceState: "", IptcCoreContactInfo::email: "", IptcCoreContactInfo::phone: "", IptcCoreContactInfo::webUrl: ""
IptcCoreLocationInfo::country: "", IptcCoreLocationInfo::countryCode: "", IptcCoreLocationInfo::provinceState: "", IptcCoreLocationInfo::city: "", IptcCoreLocationInfo::location: ""
()
--- Media info -------------------------------
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2016-09-11 13:21:21.000 CEST Qt::TimeSpec(LocalTime))
PhotoInfoContainer::make: "samsung", PhotoInfoContainer::model: "SM-G925W8", PhotoInfoContainer::lens: "", PhotoInfoContainer::exposureTime: "1/386 s", PhotoInfoContainer::exposureMode: "Auto", PhotoInfoContainer::exposureProgram: "Auto", PhotoInfoContainer::aperture: "F1.9", PhotoInfoContainer::focalLength: "4.3 mm", PhotoInfoContainer::focalLength35mm: "28.0 mm", PhotoInfoContainer::sensitivity: "40"PhotoInfoContainer::flash: "No flash"PhotoInfoContainer::whiteBalance: "Auto"PhotoInfoContainer::dateTime: QDateTime(2016-09-11 13:21:21.000 CEST PhotoInfoContainer::aspectRatio: "", PhotoInfoContainer::duration: "", PhotoInfoContainer::frameRate: "", PhotoInfoContainer::videoCodec: "", PhotoInfoContainer::audioBitRate: "", PhotoInfoContainer::audioChannelType: "", PhotoInfoContainer::audioCompressor: "", 
--- XMP info   -------------------------------
()
()
()

It do not crash here but Exiv2 report an exception about XMP namespace.

Now, if i try to read XMP metadata with Exiv2 CLI tool i can see :

[gilles@localhost bin]$ ./exiv2 --version
exiv2 0.26 001900 (64 bit build)
Copyright (C) 2004-2017 Andreas Huggel.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA

[gilles@localhost bin]$ exiv2 -px 20160911_132121.jpg 
Error: XMP Toolkit error 101: Schema namespace URI and prefix mismatch
Warning: Failed to decode XMP metadata.

So the same exception if generated. It do not crash.

Note : i tried with the official release Exiv2 0.25 and i see the same message.

Can you try on your computer with Exiv2 tool to see if the same error is reproducible or if it crash ?

Gilles Caulier
Comment 12 caulier.gilles 2017-03-13 12:06:47 UTC
Note  : i tried with digiKam to see if your image crash the application : no dysfunction... The exception is generated on the console as expected.

So, i'm very curious to understand why it crash on your computer.

Gilles Caulier
Comment 13 caulier.gilles 2017-03-13 12:41:09 UTC
Just to be sure, i tested also with last 5.5.0 AppImage, and no crash :

digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 101: Schema namespace URI and prefix mismatch

digikam.metaengine: Exiv2 ( 2 ) :  Failed to decode XMP metadata.

digikam.dimg: "/mnt/data/photos/20160911_132121.jpg"  : JPEG file identified


The exception is here...

I suspect a big problem in your system, from low level libraries, as libc/libc++ which do not generate exceptions...

Can you test on another system to see if it's reproducible ?

Gilles Caulier
Comment 14 Andrius 2017-03-13 14:43:44 UTC
(In reply to caulier.gilles from comment #13)
> Just to be sure, i tested also with last 5.5.0 AppImage, and no crash :
> 
> digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 101: Schema namespace
> URI and prefix mismatch
> 
> digikam.metaengine: Exiv2 ( 2 ) :  Failed to decode XMP metadata.
> 
> digikam.dimg: "/mnt/data/photos/20160911_132121.jpg"  : JPEG file identified
> 
> 
> The exception is here...
> 
> I suspect a big problem in your system, from low level libraries, as
> libc/libc++ which do not generate exceptions...
> 
> Can you test on another system to see if it's reproducible ?
> 
> Gilles Caulier

Just tested on Manjaro 17 Cinnamon and got the same result as yours. No crash.
Also I liked the Manjaro, so looks like you just caused me to jump to another distro :)
Comment 15 Andrius 2017-03-13 14:46:45 UTC
Also I am wondering what's wrong with the XMP data. This is just a picture from my cell phone. I got thousands of these
Comment 16 caulier.gilles 2017-03-13 15:04:35 UTC
The XMP packet in the image start with :

<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:CreatorTool>Microsoft Photo Gallery 16.4.3528.331</xmp:CreatorTool></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:prefix0="http://iptc.org/std/Iptc4xmpExt/2008-02-29/"><prefix0:LocationCreated><rdf:Bag xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:li><rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><prefix0:CountryName xmlns:prefix0="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">Canada</prefix0:CountryName><prefix1:ProvinceState xmlns:prefix1="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">AB</prefix1:ProvinceState><prefix2:City xmlns:prefix2="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">Alberta</prefix2:City></rdf:Description>

Exiv2 CLI tool said that a XMP namespace do not match.

Probably the XMP definition is not fully implemented in Exiv2. You can report this to Exiv2 team with the image attached for investiguation.

So now this file can be closed...

Gilles Caulier
Comment 17 Andrius 2017-03-13 15:15:55 UTC
(In reply to caulier.gilles from comment #16)
> The XMP packet in the image start with :
> 
> <?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
> <x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description
> rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b"
> xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:CreatorTool>Microsoft Photo
> Gallery 16.4.3528.331</xmp:CreatorTool></rdf:Description><rdf:Description
> rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b"
> xmlns:prefix0="http://iptc.org/std/Iptc4xmpExt/2008-02-29/"><prefix0:
> LocationCreated><rdf:Bag
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:li><rdf:
> Description
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><prefix0:CountryName
> xmlns:prefix0="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">Canada</prefix0:
> CountryName><prefix1:ProvinceState
> xmlns:prefix1="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">AB</prefix1:
> ProvinceState><prefix2:City
> xmlns:prefix2="http://iptc.org/std/Iptc4xmpExt/2008-02-29/">Alberta</prefix2:
> City></rdf:Description>
> 
> Exiv2 CLI tool said that a XMP namespace do not match.
> 
> Probably the XMP definition is not fully implemented in Exiv2. You can
> report this to Exiv2 team with the image attached for investiguation.
> 
> So now this file can be closed...
> 
> Gilles Caulier

Ubuntu dogs again? :) Should I report this as a Mint / Ubuntu bug anywhere or that will be a waste of time anyways?
Comment 18 caulier.gilles 2017-03-13 16:16:24 UTC
Yes you report to Mint team just to know the origin of the problem
Comment 19 Andrius 2017-03-13 16:40:10 UTC
(In reply to caulier.gilles from comment #18)
> Yes you report to Mint team just to know the origin of the problem

Posted. https://bugs.launchpad.net/linuxmint/+bug/1672451
Comment 20 Andrius 2017-03-14 16:05:34 UTC
Looks like it keeps crashing on Manjaro too...

digikam.metaengine: Exiv2 ( 3 ) :  Directory PentaxDng with 26368 entries considered invalid; not read.

[Switching to Thread 0x7fff04fe9700 (LWP 5271)]

Thread 62 "Thread (pooled)" hit Catchpoint 1 (exception thrown), __cxxabiv1::__cxa_throw (obj=0x7fffbc0223a0, tinfo=0x7ffff61a0880 <typeinfo for XMP_Error>, 
    dest=0x0)
    at /build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:62
62	/build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc: No such file or directory.
(gdb) bt
#0  __cxxabiv1::__cxa_throw (obj=0x7fffbc0223a0, 
    tinfo=0x7ffff61a0880 <typeinfo for XMP_Error>, dest=0x0)
    at /build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:62
#1  0x00007ffff5e85d3d in VerifyXPathRoot (expandedXPath=0x7fff04fe7970, 
    propName=0x7fffbc022058 "prefix0:LocationCreated", 
    schemaURI=0x7fffbc02d9b8 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/")
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:203
#2  ExpandXPath (
    schemaNS=0x7fffbc02d9b8 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/", 
    propPath=<optimized out>, expandedXPath=expandedXPath@entry=0x7fff04fe7970)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPCore_Impl.cpp:688
#3  0x00007ffff5e8965c in GetNextXMPNode (info=...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPIterator.cpp:335
#4  0x00007ffff5e898dc in XMPIterator::Next (this=this@entry=0x7fffbc0340f0, 
    schemaNS=schemaNS@entry=0x7fff04fe7ab0, 
    nsSize=nsSize@entry=0x7fff04fe7ab8, 
    propPath=propPath@entry=0x7fff04fe7ac0, 
    pathSize=pathSize@entry=0x7fff04fe7ac8, 
    propValue=propValue@entry=0x7fff04fe7ad0, valueSize=0x7fff04fe7ad8, 
    propOptions=0x7fff04fe7c88)
---Type <return> to continue, or q <return> to quit---
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/XMPIterator.cpp:630
#5  0x00007ffff5e795ee in WXMPIterator_Next_1 (iterRef=0x7fffbc0340f0, 
    schemaNS=<optimized out>, nsSize=0x7fff04fe7ab8, propPath=0x7fff04fe7ac0, 
    pathSize=0x7fff04fe7ac8, propValue=0x7fff04fe7ad0, 
    valueSize=<optimized out>, propOptions=0x7fff04fe7c88, 
    wResult=0x7fff04fe7ae0)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/src/WXMPIterator.cpp:148
#6  0x00007ffff5e6a647 in TXMPIterator<std::string>::Next (
    this=this@entry=0x7fff04fe7cd0, schemaNS=schemaNS@entry=0x7fff04fe7bf0, 
    propPath=propPath@entry=0x7fff04fe7c00, 
    propValue=propValue@entry=0x7fff04fe7c50, 
    options=options@entry=0x7fff04fe7c88)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/xmpsdk/include/client-glue/TXMPIterator.incl_cpp:208
#7  0x00007ffff5e64777 in Exiv2::XmpParser::decode (xmpData=..., 
    xmpPacket="<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>\r\n<x:xmpmeta xmlns:x=\"adobe:ns:meta/\"><rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"><rdf:Description rdf:about=\"uuid:faf5bdd5-ba"...)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/xmp.cpp:557
#8  0x00007ffff5dcd610 in Exiv2::JpegBase::readMetadata (this=0x7fffbc015f00)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/jpgimage.cpp:409
---Type <return> to continue, or q <return> to quit---
#9  0x00007ffff67f5126 in Digikam::MetaEngine::load (
    this=this@entry=0x7fff04fe8870, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:280
#10 0x00007ffff683da36 in Digikam::DMetadata::load (
    this=this@entry=0x7fff04fe8870, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:96
#11 0x00007ffff683dab2 in Digikam::DMetadata::DMetadata (this=0x7fff04fe8870, 
    filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:63
#12 0x00007ffff6882bd8 in Digikam::PreviewLoadingTask::loadImagePreview (
    this=this@entry=0x3dd8910, sizeLimit=1366)
    at /b/dktemp/digikam-master/core/libs/threadimageio/previewtask.cpp:589
#13 0x00007ffff6883e09 in Digikam::PreviewLoadingTask::execute (this=0x3dd8910)
    at /b/dktemp/digikam-master/core/libs/threadimageio/previewtask.cpp:309
#14 0x00007ffff686e482 in Digikam::LoadSaveThread::run (this=0xc54dd0)
    at /b/dktemp/digikam-master/core/libs/threadimageio/loadsavethread.cpp:133
#15 0x00007ffff68ac50e in Digikam::DynamicThread::DynamicThreadPriv::run (
    this=0xc54ec0)
    at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:183
#16 0x00000031e02abf8d in ?? () from /tmp/.mount_PMks6X/usr/lib/libQt5Core.so.5
#17 0x00000031e02aef49 in ?? () from /tmp/.mount_PMks6X/usr/lib/libQt5Core.so.5
#18 0x00007ffff5a37454 in start_thread () from /usr/lib/libpthread.so.0
#19 0x00007fffed8677df in clone () from /usr/lib/libc.so.6
Comment 21 Andrius 2017-03-14 16:11:27 UTC
I think the problem is somewhere else. I was able to open the file after clean OS install but I after I installed few packages it crashes again.
Here is the list of what I installed:


[2017-03-14 09:32] [ALPM] transaction completed
[2017-03-14 09:32] [ALPM] installed gdb (7.12.1-1)
[2017-03-14 09:32] [ALPM] installed gdb-common (7.12.1-1)
[2017-03-14 09:32] [ALPM] installed darktable (2:2.2.3-2)
[2017-03-14 09:32] [ALPM] installed osm-gps-map (1.1.0-3)
[2017-03-14 09:32] [ALPM] installed graphicsmagick (1.3.25-4)
[2017-03-14 09:32] [ALPM] installed colord-gtk (0.1.26+5+ga9d9c91-1)
[2017-03-14 09:32] [ALPM] installed flickcurl (1.26-2)
[2017-03-14 09:32] [ALPM] installed pugixml (1.8-1)
[2017-03-14 09:32] [ALPM] installed lensfun (0.3.2-3)
[2017-03-14 09:32] [ALPM] installed exiv2 (0.25-3)
[2017-03-14 09:32] [ALPM] installed rawtherapee (1:5.0.r1-1)
[2017-03-14 09:32] [ALPM] installed libiptcdata (1.0.4-3)
[2017-03-14 09:32] [ALPM] transaction started
[2017-03-14 09:06] [ALPM] running 'systemd-update.hook'...
[2017-03-14 09:06] [ALPM] transaction completed
[2017-03-14 09:06] [ALPM] installed perl-image-exiftool (10.40-1)
[2017-03-14 09:06] [ALPM] transaction started
[2017-03-14 09:06] [PACMAN] Running 'pacman -S perl-image-exiftool'
[2017-03-14 09:06] [PACMAN] Running 'pacman -S exiftool'
[2017-03-14 08:49] [PAMAC] synchronizing package lists
[2017-03-14 08:33] [ALPM] running 'systemd-update.hook'...
[2017-03-14 08:33] [ALPM] transaction completed
[2017-03-14 08:33] [ALPM] installed lib32-openal (1.17.2-1)
[2017-03-14 08:33] [ALPM] installed openal (1.17.2-2)
Comment 22 Andrius 2017-03-14 16:25:57 UTC
I deleted all packages one by one and digiKam stoped crashing only after I deleted the debugger...

gdb (7.12.1-1)
gdb-common (7.12.1-1
Comment 23 Andrius 2017-03-14 16:31:16 UTC
I installed all the rest packages back and digiKam is not crashing still.
Looks like debugger it is. Weird...

To bad I actually moved to another Linux distribution because of this...
Comment 24 caulier.gilles 2017-03-14 16:48:55 UTC
Interesting. As to your Linux team what's GDB install change in the system to disable C++ exception handling at run time. Perhaps a bash variable is set ?

Gilles Caulier
Comment 25 caulier.gilles 2017-03-14 16:54:25 UTC
I think it's a packaging problem. Here GDB is installed under Mageia6/5 and no crash... as expected.

Gilles Caulier
Comment 26 Andrius 2017-03-14 17:01:25 UTC
(In reply to caulier.gilles from comment #25)
> I think it's a packaging problem. Here GDB is installed under Mageia6/5 and
> no crash... as expected.
> 
> Gilles Caulier

What version of GDB do you have?
Comment 27 caulier.gilles 2017-03-14 22:01:52 UTC
[gilles@localhost digikam5]$ gdb --version
GNU gdb (GDB) 7.8.1-7.mga5 (Mageia release 5)
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-mageia-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".