Bug 339217 - Crash on startup: SIGSEGV in Exiv2::PreviewManager::getPreviewImage
Summary: Crash on startup: SIGSEGV in Exiv2::PreviewManager::getPreviewImage
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Engine (show other bugs)
Version: 4.3.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 20:15 UTC by Christian Gottschall
Modified: 2019-08-15 15:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Gottschall 2014-09-19 20:15:31 UTC
On startup, digikam crashes with SIGSEGV in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12

Using OpenSUSE with their libkexiv2-11 4.11.5-298.1-x86_64

gdb bt on crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff437fe700 (LWP 3885)]
0x00007fffed43b072 in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12
(gdb) bt
#0  0x00007fffed43b072 in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12
#1  0x00007ffff5c96512 in KExiv2Iface::KExiv2Previews::data(int) ()
   from /usr/lib64/libkexiv2.so.11
#2  0x00007ffff5c9676b in KExiv2Iface::KExiv2Previews::image(int) ()
   from /usr/lib64/libkexiv2.so.11
#3  0x00007ffff528f50d in Digikam::ThumbnailCreator::createThumbnail (
    this=this@entry=0x1299370, info=..., detailRect=...)
    at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:528
#4  0x00007ffff52921a6 in Digikam::ThumbnailCreator::load (this=0x1299370, 
    path=..., rect=..., pregenerate=pregenerate@entry=true)
    at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:261
#5  0x00007ffff5292af0 in Digikam::ThumbnailCreator::pregenerate (
    this=<optimized out>, path=...)
    at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:184
#6  0x00007ffff52a14a0 in Digikam::ThumbnailLoadingTask::execute (
    this=0xaf9fc60)
    at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#7  0x00007ffff52796c6 in Digikam::LoadSaveThread::run (this=0x12991e0)
    at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/loadsavethread.cpp:13---Type <return> to continue, or q <return> to quit---in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12
6
#8  0x00007ffff52a76be in Digikam::DynamicThread::DynamicThreadPriv::run (
    this=0x10cdc80)
    at /usr/src/debug/digikam-4.3.0/core/libs/threads/dynamicthread.cpp:186
#9  0x00007ffff14b013e in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007ffff14bc68f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007fffee6250db in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffff06d558d in clone () from /lib64/libc.so.6
Comment 1 caulier.gilles 2014-09-19 21:20:53 UTC

*** This bug has been marked as a duplicate of bug 339144 ***
Comment 2 caulier.gilles 2019-08-15 15:23:03 UTC
Fixed with bug #339144