Bug 341654

Summary: Digikam crashes on startup
Product: [Applications] digikam Reporter: Blink <wmii392>
Component: Metadata-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Blink 2014-12-08 12:37:04 UTC
It crashes everytime on startup. I can see a splash window and that's it.

Reproducible: Always


Actual Results:  
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd46e81ea00 (LWP 23025))]

Thread 4 (Thread 0x7fd4477aa700 (LWP 23029)):
#0  0x00007fd4676667bd in poll () from /usr/lib/libc.so.6
#1  0x00007fd44cf0f70c in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007fd465894314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007fd46766f5bd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd440f17700 (LWP 23033)):
[KCrash Handler]
#5  0x00007fd4675baa97 in raise () from /usr/lib/libc.so.6
#6  0x00007fd4675bbe6a in abort () from /usr/lib/libc.so.6
#7  0x00007fd4675fa623 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007fd4675ffa9e in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007fd46760025b in _int_free () from /usr/lib/libc.so.6
#10 0x00007fd465505b1d in Exiv2::RiffVideo::infoTagsHandler() () from /usr/lib/libexiv2.so.13
#11 0x00007fd46550df2f in Exiv2::RiffVideo::decodeBlock() () from /usr/lib/libexiv2.so.13
#12 0x00007fd46550db78 in Exiv2::RiffVideo::tagDecoder(Exiv2::DataBuf&, unsigned long) () from /usr/lib/libexiv2.so.13
#13 0x00007fd46550df2f in Exiv2::RiffVideo::decodeBlock() () from /usr/lib/libexiv2.so.13
#14 0x00007fd46550e320 in Exiv2::RiffVideo::readMetadata() () from /usr/lib/libexiv2.so.13
#15 0x00007fd46cbc959d in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib/libkexiv2.so.11
#16 0x00007fd46c4b2366 in Digikam::DMetadata::load(QString const&) const () from /usr/lib/libdigikamcore.so.4.5.0
#17 0x00007fd46bed38a7 in Digikam::ImageScanner::loadFromDisk() () from /usr/lib/libdigikamdatabase.so.4.5.0
#18 0x00007fd46bed3a90 in Digikam::ImageScanner::newFile(int) () from /usr/lib/libdigikamdatabase.so.4.5.0
#19 0x00007fd46be65006 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () from /usr/lib/libdigikamdatabase.so.4.5.0
#20 0x00007fd46be686e2 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.4.5.0
#21 0x00007fd46be68f33 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib/libdigikamdatabase.so.4.5.0
#22 0x00007fd46be6a785 in Digikam::CollectionScanner::completeScan() () from /usr/lib/libdigikamdatabase.so.4.5.0
#23 0x00000000005e8180 in ?? ()
#24 0x00007fd46814805f in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fd465894314 in start_thread () from /usr/lib/libpthread.so.0
#26 0x00007fd46766f5bd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd43bfff700 (LWP 23034)):
#0  0x00007fd4676667bd in poll () from /usr/lib/libc.so.6
#1  0x00007fd4608f2c94 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd4608f2dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd468281397 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fd468250de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fd468251145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fd4681457f9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fd4682316c3 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd46814805f in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fd465894314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fd46766f5bd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd46e81ea00 (LWP 23025)):
#0  0x00007fd4658998cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fd4681485b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd468147bee in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00000000005e673b in ?? ()
#4  0x00000000005e6a07 in ?? ()
#5  0x00007fd4675bd392 in __run_exit_handlers () from /usr/lib/libc.so.6
#6  0x00007fd4675bd3e5 in exit () from /usr/lib/libc.so.6
#7  0x00007fd468f1d2b8 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007fd469c22c40 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#9  0x00007fd465e3799e in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fd465e35aa2 in _XReply () from /usr/lib/libX11.so.6
#11 0x00007fd465e17d88 in XListFontsWithInfo () from /usr/lib/libX11.so.6
#12 0x00007fd465e6e605 in ?? () from /usr/lib/libX11.so.6
#13 0x00007fd465e2468c in XCreateOC () from /usr/lib/libX11.so.6
#14 0x00007fd465e18b0c in XCreateFontSet () from /usr/lib/libX11.so.6
#15 0x00007fd4694827d4 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007fd469484d0d in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007fd469485206 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fd468eb65af in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/libQtGui.so.4
#19 0x00007fd468f0018b in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/libQtGui.so.4
#20 0x00007fd468eb6b08 in QApplication::setActiveWindow(QWidget*) () from /usr/lib/libQtGui.so.4
#21 0x00007fd468f2dc2c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007fd468f55462 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007fd4608f2a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007fd4608f2cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007fd4608f2dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007fd46828137d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007fd468f55526 in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007fd468250de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007fd468251145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00000000005e3b61 in ?? ()
#31 0x0000000000528a87 in ?? ()
#32 0x00007fd46826b491 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00007fd468eb1b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fd468eb8588 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fd469c241ea in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007fd46825228d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007fd468255651 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#38 0x00007fd468281233 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007fd4608f2a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007fd4608f2cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007fd4608f2dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007fd46828137d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007fd468f55526 in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007fd468250de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007fd468251145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007fd4682566e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x0000000000495816 in ?? ()
#48 0x00007fd4675a7040 in __libc_start_main () from /usr/lib/libc.so.6
#49 0x00000000004980bf in _start ()
Comment 1 caulier.gilles 2014-12-08 12:40:18 UTC

*** This bug has been marked as a duplicate of bug 341274 ***
Comment 2 caulier.gilles 2018-02-28 12:38:45 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