Bug 339269

Summary: segfault when opening a folder that contains unknown file types (mov, avi, xcf)
Product: [Applications] digikam Reporter: Christian Pfannschmidt <bugtracking>
Component: Metadata-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, robinherink
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Christian Pfannschmidt 2014-09-21 14:00:38 UTC
Application: digikam (4.3.0)
KDE Platform Version: 4.14.1
Qt Version: 4.8.5
Operating System: Linux 3.11.10-21-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Changing to a folger that contains an unknown filetype like "*.MOV" of "*.xcf".
Error message:
digikam(14999)/KEXIV2: Cannot load metadata from file   (Error # 11 :  XXXXX.AVI: The file contains data of an unknown image type

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5e2fa24900 (LWP 14999))]

Thread 32 (Thread 0x7f5e0a14c700 (LWP 15000)):
#0  0x00007f5e260dc0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005fe6ae in Digikam::ScanController::run (this=0x263e010) at /usr/src/debug/digikam-4.3.0/core/digikam/database/scancontroller.cpp:725
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 31 (Thread 0x7f5e0994b700 (LWP 15001)):
#0  0x00007f5e2817d61d in read () from /lib64/libc.so.6
#1  0x00007f5e200745c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5e2003512c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5e2003559b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5e2003570c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f5e2909dd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5e2906fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f5e29070005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f5e28f6efef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007f5e29051513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 30 (Thread 0x7f5df5a23700 (LWP 15017)):
#0  0x00007f5e260da2a3 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f5e20075291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5e200355ea in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5e2003570c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5e2909dd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f5e2906fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5e29070005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f5e28f6efef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f5e29051513 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 29 (Thread 0x7f5dea0f2700 (LWP 15022)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 28 (Thread 0x7f5debddd700 (LWP 15023)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 27 (Thread 0x7f5de2545700 (LWP 15024)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 26 (Thread 0x7f5de1d44700 (LWP 15025)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 25 (Thread 0x7f5de1543700 (LWP 15026)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7f5de0d42700 (LWP 15027)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f5ddbfff700 (LWP 15028)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f5ddb7fe700 (LWP 15029)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f5ddaffd700 (LWP 15030)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f5dda7fc700 (LWP 15031)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f5dd9ffb700 (LWP 15032)):
[KCrash Handler]
#5  0x00007f5e24eee072 in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12
#6  0x00007f5e2d746e72 in KExiv2Iface::KExiv2Previews::data(int) () from /usr/lib64/libkexiv2.so.11
#7  0x00007f5e2d746fdb in KExiv2Iface::KExiv2Previews::image(int) () from /usr/lib64/libkexiv2.so.11
#8  0x00007f5e2cd3c50d in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x29582e0, info=..., detailRect=...) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:528
#9  0x00007f5e2cd3f1a6 in Digikam::ThumbnailCreator::load (this=0x29582e0, path=..., rect=..., pregenerate=pregenerate@entry=true) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:261
#10 0x00007f5e2cd3faf0 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:184
#11 0x00007f5e2cd4e4a0 in Digikam::ThumbnailLoadingTask::execute (this=0x96e7050) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#12 0x00007f5e2cd266c6 in Digikam::LoadSaveThread::run (this=0x2cd8530) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/loadsavethread.cpp:136
#13 0x00007f5e2cd546be in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2943420) at /usr/src/debug/digikam-4.3.0/core/libs/threads/dynamicthread.cpp:186
#14 0x00007f5e28f6513e in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#17 0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f5dd97fa700 (LWP 15033)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f5dd8ff9700 (LWP 15034)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f5dc3fff700 (LWP 15035)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f5dc37fe700 (LWP 15036)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f5dc2ffd700 (LWP 15037)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f5dc27fc700 (LWP 15038)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f5dc1ffb700 (LWP 15039)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f5dc17fa700 (LWP 15040)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f5dc0ff9700 (LWP 15041)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f5d8ffff700 (LWP 15042)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f5d87fff700 (LWP 15043)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5d8f7fe700 (LWP 15044)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5d8effd700 (LWP 15045)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5d8e7fc700 (LWP 15046)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5d8dffb700 (LWP 15047)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5d8d7fa700 (LWP 15048)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5d8cff9700 (LWP 15049)):
#0  0x00007f5e260dc458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f65235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f7168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e260d80db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5e2818a58d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5e2fa24900 (LWP 14999)):
#0  0x00007f5e260dc0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5e28f71b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f5e28f64b52 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f5e28f65ef5 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#4  0x00007f5e28f65f29 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#5  0x00007f5e29087658 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#6  0x00007f5e29089bff in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5e2cd51847 in ~ThreadManagerCreator (this=0x29c1540, __in_chrg=<optimized out>) at /usr/src/debug/digikam-4.3.0/core/libs/threads/threadmanager.cpp:236
#8  destroy () at /usr/src/debug/digikam-4.3.0/core/libs/threads/threadmanager.cpp:241
#9  0x00007f5e280db059 in __run_exit_handlers () from /lib64/libc.so.6
#10 0x00007f5e280db0a5 in exit () from /lib64/libc.so.6
#11 0x00007f5e29ae6298 in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007f5e2a7951a0 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#13 0x00007f5e266793fe in _XIOError () from /usr/lib64/libX11.so.6
#14 0x00007f5e26677575 in _XReply () from /usr/lib64/libX11.so.6
#15 0x00007f5e2666d895 in XQueryPointer () from /usr/lib64/libX11.so.6
#16 0x00007f5e29afe968 in QCursor::pos() () from /usr/lib64/libQtGui.so.4
#17 0x00007f5e29fb261b in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib64/libQtGui.so.4
#18 0x00007f5e29fb603c in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f5e29acebe4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f5e29e6bb6e in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f5e29f7adf3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f5e29fb9d10 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00000000005e5aa5 in Digikam::AbstractAlbumTreeView::viewportEvent (this=<optimized out>, event=<optimized out>) at /usr/src/debug/digikam-4.3.0/core/digikam/album/albumtreeview.cpp:738
#24 0x00000000005dd160 in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x4359b00, event=<optimized out>) at /usr/src/debug/digikam-4.3.0/core/digikam/album/albumselectiontreeview.cpp:243
#25 0x00007f5e29071216 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00007f5e29a7f88c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f5e29a85e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f5e2a7965ea in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#29 0x00007f5e290710ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f5e29ac92f1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#37 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#38 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#40 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#41 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#42 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f5e29ac9b8f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#46 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#47 0x00007f5e29ac9d20 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#48 0x00007f5e29ac8eac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#49 0x00007f5e29c8776e in ?? () from /usr/lib64/libQtGui.so.4
#50 0x00007f5e29abe790 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#51 0x00007f5e29ace762 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#52 0x00007f5e29e84643 in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#53 0x00007f5e2a882699 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#54 0x00007f5e29a7f8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#55 0x00007f5e29a85e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00007f5e2a7965ea in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#57 0x00007f5e290710ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#58 0x00007f5e290740ff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#59 0x00007f5e2909e493 in ?? () from /usr/lib64/libQtCore.so.4
#60 0x00007f5e20035316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f5e20035668 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00007f5e2003570c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#63 0x00007f5e2909dd55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#64 0x00007f5e29b1c936 in ?? () from /usr/lib64/libQtGui.so.4
#65 0x00007f5e2906fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#66 0x00007f5e29070005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#67 0x00007f5e2907513b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#68 0x000000000049f870 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-4.3.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 339217, bug 339088.

An https://bugs.kde.org/ berichten

Reproducible: Always

Steps to Reproduce:
1. Start digikam
2. open a folder that contains files of unknown type

Actual Results:  
segfault, console message:
digikam(14999)/KEXIV2: Cannot load metadata from file   (Error # 11 :  /home/XXX.AVI: The file contains data of an unknown image type


Expected Results:  
Folder is openes and content shown

error does not occur if "suspicious" files are removed from folder.
Comment 1 robinherink 2014-09-21 15:19:10 UTC
I am getting a crash with *.AVI files from an old Canon point-and-shoot. Newer .mov files are fine.

Could it be related to this?
https://bugs.kde.org/show_bug.cgi?id=321531
Comment 2 caulier.gilles 2014-09-21 16:10:40 UTC

*** This bug has been marked as a duplicate of bug 339144 ***
Comment 3 caulier.gilles 2018-02-28 12:38:40 UTC
With 6.0.0, we have now a FFMpeg low level metadata parser based on libav C API
for video files database registration.

The Exiv2 video support is not used anymore as this code is buggous and nobody
sound motivated in Exiv2 to finalize the code.

The original post for this file must be fixed now and video metadata support
with ffmpeg must be enough to populate database entries.

Gilles Caulier