Summary: | Crash rotating image taken with Casio camera | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Miquel Coll <miquel6> |
Component: | Metadata-Orientation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 5.2.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.3.0 |
Description
Miquel Coll
2016-10-08 10:01:45 UTC
Excuse the formatting, I haven't found an option to format console output! In gdb, when I enter the image it hangs. This is the backtrace: *** [Switching to Thread 0x7fff3dffb700 (LWP 16325)] Thread 25 "Thread (pooled)" hit Catchpoint 1 (exception thrown), 0x00007ffff436e8bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) (gdb) (gdb) (gdb) (gdb) bt #0 0x00007ffff436e8bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00007ffff0519b25 in Exiv2::ImageFactory::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14 #2 0x00007ffff67ef80f in Digikam::MetaEngine::load (this=this@entry=0x7fff3dffa500, filePath=...) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/dmetadata/metaengine.cpp:278 #3 0x00007ffff683c736 in Digikam::DMetadata::load (this=this@entry=0x7fff3dffa500, filePath=...) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/dmetadata/dmetadata.cpp:96 #4 0x00007ffff683c7c2 in Digikam::DMetadata::DMetadata (this=0x7fff3dffa500, filePath=...) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/dmetadata/dmetadata.cpp:63 #5 0x00007ffff688565a in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0xc1a000, info=..., detailRect=...) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threadimageio/thumbnailcreator.cpp:468 #6 0x00007ffff68888ef in Digikam::ThumbnailCreator::load (this=0xc1a000, identifier=..., rect=..., pregenerate=pregenerate@entry=true) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threadimageio/thumbnailcreator.cpp:264 #7 0x00007ffff68893c0 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, identifier=...) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threadimageio/thumbnailcreator.cpp:197 #8 0x00007ffff6897ef8 in Digikam::ThumbnailLoadingTask::execute (this=0x2a38d50) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threadimageio/thumbnailtask.cpp:76 #9 0x00007ffff686d640 in Digikam::LoadSaveThread::run (this=0xc19ed0) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threadimageio/loadsavethread.cpp:133 #10 0x00007ffff68b2d4e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xbeb370) at /build/digikam5-hOQgyH/digikam5-5.2.0/core/libs/threads/dynamicthread.cpp:183 #11 0x00007ffff4aca343 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007ffff4acd84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007ffff0fc86fa in start_thread (arg=0x7fff3dffb700) at pthread_create.c:333 #14 0x00007ffff3e08b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 (gdb) quit A debugging session is active. Inferior 1 [process 16297] will be killed. Quit anyway? (y or n) y *** Yes, it's an Exiv2 library crash. Report this problem to Exiv2 bugzilla with relevant image to test. Gilles Caulier Thanks Gilles, but the buf is solved in exiv2, I posted in the middle of the first comment: *** But googling around Ive found this bug (Crash in exiv2 due to assertion when setting rating on jpg with a Casio makernote): http://dev.exiv2.org/issues/1106 I'm using Ubuntu Gnome 16.04 with the packages provided by Philip Johnsson, and I had not installed exiv2. So I tried to install it: $ sudo apt-get install exiv2 $ exiv2 --version exiv2 0.25 001900 (64 bit build) Copyright (C) 2004-2015 Andreas Huggel. and restarted digikam. Now it's working fine! *** So maybe it's the internal exiv2 version that Digikam uses? Before installing exiv2 I got this error (virtual Exiv2::Internal::TiffComponent*) : *** digikam5: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): L’asserció «mn_» ha fallat. *** and after installing the package I got no errors, just an ignored warning message: *** digikam.metaengine: Exiv2 ( 2 ) : Directory Casio2 has an unexpected next pointer; ignored. *** Miquel Coll No. digiKam do not have a copy of Exiv2 library. It's a run-time binary compatibility between Exiv2 .so and libdigikam.so Gilles Caulier |