Bug 397129 - Dates panel, thumb generation crash (core dump)
Summary: Dates panel, thumb generation crash (core dump)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Engine (show other bugs)
Version: 5.9.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 15:53 UTC by Gabriel Diaz
Modified: 2019-08-15 15:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0


Attachments
appimage debug log from start to crash (62.83 KB, text/plain)
2018-08-03 15:53 UTC, Gabriel Diaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Diaz 2018-08-03 15:53:49 UTC
Created attachment 114288 [details]
appimage debug log from start to crash

Using appimage 

app: digikam-5.9.0-01-x86-64.appimage 
linux version: Linux darkstar 4.14.59 #1 SMP Sat Jul 28 14:22:58 CDT 2018 x86_64 
cpu: AMD Ryzen Threadripper 1950X 16-Core Processor AuthenticAMD GNU/Linux
graphics drivers: NVIDIA Linux drivers x86_64 version 396.45
filesystem: type nfs (rw,user=root,noexec,nosuid,nodev,hard,intr,rsize=8192,wsize=8192,timeo=14,addr=192.168.1.3)

The last state of the app is like this image https://i.imgur.com/WKmxcHE.png. The last click was to the date selected.

Using appimage debug option, the stack trace is:

Thread 66 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffe9e7fc700 (LWP 101477)]
Exiv2::IptcData::printStructure (out=..., bytes=<optimized out>, size=<optimized out>, depth=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/iptc.cpp:362
362     /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/iptc.cpp: No such file or directory.
(gdb) bt
#0  Exiv2::IptcData::printStructure (out=..., bytes=<optimized out>, size=<optimized out>, 
    depth=<optimized out>) at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/iptc.cpp:362
#1  0x0000003cf7554841 in Exiv2::Image::printIFDStructure (this=<optimized out>, io=..., out=..., 
    option=<optimized out>, start=<optimized out>, bSwap=<optimized out>, c=73 'I', depth=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/image.cpp:454
#2  0x0000003cf7556e13 in Exiv2::Image::printTiffStructure (this=<optimized out>, io=..., out=..., 
    option=<optimized out>, depth=<optimized out>, offset=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/image.cpp:517
#3  0x0000003cf75c4163 in Exiv2::TiffImage::printStructure (this=<optimized out>, out=..., 
    option=<optimized out>, depth=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/tiffimage.cpp:348
#4  0x0000003cf75c5843 in Exiv2::TiffImage::readMetadata (this=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/tiffimage.cpp:191
#5  0x00007ffff660f583 in Digikam::MetaEngine::load (this=this@entry=0x7ffe9e7fb860, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/metaengine.cpp:283
#6  0x00007ffff6658136 in Digikam::DMetadata::load (this=this@entry=0x7ffe9e7fb860, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:97
#7  0x00007ffff66581b2 in Digikam::DMetadata::DMetadata (this=0x7ffe9e7fb860, filePath=...)
    at /b/dktemp/digikam-master/core/libs/dmetadata/dmetadata.cpp:64
#8  0x00007ffff66a9e01 in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x1b05ac0, info=..., 
    detailRect=...) at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:469
#9  0x00007ffff66ace17 in Digikam::ThumbnailCreator::load (this=0x1b05ac0, identifier=..., rect=..., 
    pregenerate=pregenerate@entry=true)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:264
#10 0x00007ffff66ad820 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, identifier=...)
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailcreator.cpp:197
#11 0x00007ffff66b8070 in Digikam::ThumbnailLoadingTask::execute (this=0x4a15030)
---Type <return> to continue, or q <return> to quit---
    at /b/dktemp/digikam-master/core/libs/threadimageio/thumbnailtask.cpp:76
#12 0x00007ffff6690aa2 in Digikam::LoadSaveThread::run (this=0x1c64080)
    at /b/dktemp/digikam-master/core/libs/threadimageio/loadsavethread.cpp:133
#13 0x00007ffff66cea8e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1c0f920)
    at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:183
#14 0x000000372a0abf4f in ?? () from /tmp/.mount_digikaNlPw5v/usr/lib/libQt5Core.so.5
#15 0x000000372a0aecda in ?? () from /tmp/.mount_digikaNlPw5v/usr/lib/libQt5Core.so.5
#16 0x00007ffff5d91637 in start_thread () from /lib64/libpthread.so.0
#17 0x00007fffedc4fe8f in clone () from /lib64/libc.so.6
(gdb)
Comment 1 Gabriel Diaz 2018-08-03 16:06:34 UTC
Seems there was a file there that was causing the crash. either a tiff file or a rawtherapy file (.pp3). As soon as I deleted those files, the program didn't crash.
Comment 2 Maik Qualmann 2018-08-03 17:08:04 UTC
It's a crash of Exiv2 with one of a TIFF file.

Maik

*** This bug has been marked as a duplicate of bug 393635 ***
Comment 3 caulier.gilles 2019-07-24 05:43:30 UTC
Gabriel,

This crash still reproducible using last Linux AppImage bundle 6.2.0 pre release available here : https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2019-08-15 15:28:42 UTC
Fixed with bug #393635