Bug 339150 - Digikam crashes when trying to display videofile
Summary: Digikam crashes when trying to display videofile
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-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-17 16:14 UTC by Alexey Kouznetsov
Modified: 2021-04-24 02:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Kouznetsov 2014-09-17 16:14:02 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:
When i start Digikam it crashes if currently displayed album contains any video file. If there isn't any video, Digikam crashes if i put movie into corresponding catalogue (eg with mc/dolphin). Text message in terminal is (PID is from other instance, no matter):

	 
aleksejj@ak-laptop-1:~$ digikam 
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(15146)/KEXIV2: Cannot load metadata from file   (Error # 11 :  /home/aleksejj/ÐзобÑажениÑ/ФоÑогÑаÑии/Ðо даÑам/2005-2012/2011/07 ÐÑлÑ/ÐазанÑ/Ðидео/tv1.avi: The file contains data of an unknown image type 
digikam(15146)/KEXIV2: Cannot load metadata using Exiv2   (Error # 11 :  /home/aleksejj/ÐзобÑажениÑ/ФоÑогÑаÑии/Ðо даÑам/2005-2012/2011/07 ÐÑлÑ/ÐазанÑ/Ðидео/tv1.avi: The file contains data of an unknown image type 
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 26 and type 'Read', disabling...
digikam: Fatal IO error: client killed
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/aleksejj/.kde4/socket-ak-laptop-1/kdeinit4__0

[1]+  Stopped                 digikam

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 0x7fa981173900 (LWP 16091))]

Thread 34 (Thread 0x7fa95c05f700 (LWP 16092)):
#0  0x00007fa977bf40af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005fe69e in Digikam::ScanController::run (this=0x1b1f790) at /usr/src/debug/digikam-4.3.0/core/digikam/database/scancontroller.cpp:725
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 33 (Thread 0x7fa95b85e700 (LWP 16093)):
#0  0x00007fa977bf23e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa971de3291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa971da308c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa971da359b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa971da370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa97abedd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa97abbfd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa97abc0005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fa97aabefef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007fa97aba1513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#12 0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 32 (Thread 0x7fa95982f700 (LWP 16103)):
#0  0x00007fa977bf23cb in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa971de3291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa971da31e6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa971da3668 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa971da370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa97abedd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa97abbfd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa97abc0005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fa97aabefef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007fa97aba1513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#12 0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 31 (Thread 0x7fa948b17700 (LWP 16108)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 30 (Thread 0x7fa93fff7700 (LWP 16109)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 29 (Thread 0x7fa93f7f6700 (LWP 16110)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 28 (Thread 0x7fa93eff5700 (LWP 16111)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 27 (Thread 0x7fa93e7f4700 (LWP 16112)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 26 (Thread 0x7fa93dff3700 (LWP 16113)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 25 (Thread 0x7fa93d7f2700 (LWP 16114)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7fa93cff1700 (LWP 16115)):
[KCrash Handler]
#5  0x00007fa976965072 in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib64/libexiv2.so.12
#6  0x00007fa97ef84e72 in KExiv2Iface::KExiv2Previews::data(int) () from /usr/lib64/libkexiv2.so.11
#7  0x00007fa97ef84fdb in KExiv2Iface::KExiv2Previews::image(int) () from /usr/lib64/libkexiv2.so.11
#8  0x00007fa97e8bb5fd in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x1ca10b0, info=..., detailRect=...) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:528
#9  0x00007fa97e8be296 in Digikam::ThumbnailCreator::load (this=0x1ca10b0, path=..., rect=..., pregenerate=pregenerate@entry=true) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:261
#10 0x00007fa97e8bebe0 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:184
#11 0x00007fa97e8cd590 in Digikam::ThumbnailLoadingTask::execute (this=0x765d570) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#12 0x00007fa97e8a57b6 in Digikam::LoadSaveThread::run (this=0x1dd9a00) at /usr/src/debug/digikam-4.3.0/core/libs/threadimageio/loadsavethread.cpp:136
#13 0x00007fa97e8d37ae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x20f7330) at /usr/src/debug/digikam-4.3.0/core/libs/threads/dynamicthread.cpp:186
#14 0x00007fa97aab513e in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#17 0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7fa937fff700 (LWP 16116)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7fa9377fe700 (LWP 16117)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7fa936ffd700 (LWP 16118)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7fa9367fc700 (LWP 16119)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7fa935ffb700 (LWP 16120)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7fa9357fa700 (LWP 16121)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7fa934ff9700 (LWP 16122)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7fa8fffff700 (LWP 16123)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fa8f7fff700 (LWP 16124)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7fa8ff7fe700 (LWP 16125)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fa8feffd700 (LWP 16126)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fa8fe7fc700 (LWP 16127)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fa8fdffb700 (LWP 16128)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fa8fd7fa700 (LWP 16129)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fa8fcff9700 (LWP 16130)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fa8f77fe700 (LWP 16131)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fa8f6ffd700 (LWP 16132)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa8f67fc700 (LWP 16133)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa8f5ffb700 (LWP 16134)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa8f57fa700 (LWP 16135)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa8f4ff9700 (LWP 16136)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa8c3fff700 (LWP 16137)):
#0  0x00007fa977bf4458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab5235 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aac168f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa977bf00db in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa979ccf58d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa981173900 (LWP 16091)):
#0  0x00007fa977bf40af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa97aac1b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa97aab4b52 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa97aab5ef5 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#4  0x00007fa97aab5f29 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#5  0x00007fa97abd7658 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#6  0x00007fa97abd9bff in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#7  0x00007fa97e8d0937 in ~ThreadManagerCreator (this=0x1c45430, __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  0x00007fa979c20059 in __run_exit_handlers () from /lib64/libc.so.6
#10 0x00007fa979c200a5 in exit () from /lib64/libc.so.6
#11 0x00007fa97b63c298 in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007fa97c2ec1a0 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#13 0x00007fa9781963fe in _XIOError () from /usr/lib64/libX11.so.6
#14 0x00007fa978193ded in _XEventsQueued () from /usr/lib64/libX11.so.6
#15 0x00007fa978185ddb in XEventsQueued () from /usr/lib64/libX11.so.6
#16 0x00007fa97b6723ac in ?? () from /usr/lib64/libQtGui.so.4
#17 0x00007fa971da3081 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fa971da359b in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fa971da370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fa97abedd55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007fa97b672936 in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007fa97abbfd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x00007fa97abc0005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#24 0x00007fa97abc513b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#25 0x000000000049f860 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-4.3.0/core/digikam/main/main.cpp:236


Reproducible: Always

Steps to Reproduce:
1. Start Digikam
2. Browse any album with video file
3. Oops.

Actual Results:  
Digikam crashes. Text message in terminal is
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(15146)/KEXIV2: Cannot load metadata from file   (Error # 11 :  /home/aleksejj/ÐзобÑажениÑ/ФоÑогÑаÑии/Ðо даÑам/2005-2012/2011/07 ÐÑлÑ/ÐазанÑ/Ðидео/tv1.avi: The file contains data of an unknown image type 

Expected Results:  
I think Digikam shouldn't use kexiv for getting of metadata from videos.
Comment 1 Christoph Feck 2014-09-17 22:45:35 UTC

*** This bug has been marked as a duplicate of bug 339144 ***
Comment 2 caulier.gilles 2018-03-03 08:49:18 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