Bug 341504

Summary: crash while using application
Product: [Applications] digikam Reporter: daniel köbsch <danielkoebsch>
Component: Metadata-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description daniel köbsch 2014-12-02 20:36:22 UTC
Application: digikam (4.5.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.4-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
constantly crashes, no further information.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f67217e4a00 (LWP 10562))]

Thread 4 (Thread 0x7f66fafef700 (LWP 10563)):
#0  0x00007f671aab97bd in poll () from /usr/lib/libc.so.6
#1  0x00007f67007b170c in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007f6718ce7314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f671aac25bd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f66f153d700 (LWP 10564)):
[KCrash Handler]
#5  0x00007f671aa0da97 in raise () from /usr/lib/libc.so.6
#6  0x00007f671aa0ee6a in abort () from /usr/lib/libc.so.6
#7  0x00007f671aa4d623 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007f671aa52a9e in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007f671aa5325b in _int_free () from /usr/lib/libc.so.6
#10 0x00007f6718958b1d in Exiv2::RiffVideo::infoTagsHandler() () from /usr/lib/libexiv2.so.13
#11 0x00007f6718960f2f in Exiv2::RiffVideo::decodeBlock() () from /usr/lib/libexiv2.so.13
#12 0x00007f6718960b78 in Exiv2::RiffVideo::tagDecoder(Exiv2::DataBuf&, unsigned long) () from /usr/lib/libexiv2.so.13
#13 0x00007f6718960f2f in Exiv2::RiffVideo::decodeBlock() () from /usr/lib/libexiv2.so.13
#14 0x00007f6718961320 in Exiv2::RiffVideo::readMetadata() () from /usr/lib/libexiv2.so.13
#15 0x00007f671fb8b59d in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib/libkexiv2.so.11
#16 0x00007f671f474366 in Digikam::DMetadata::load(QString const&) const () from /usr/lib/libdigikamcore.so.4.5.0
#17 0x00007f671ee958a7 in Digikam::ImageScanner::loadFromDisk() () from /usr/lib/libdigikamdatabase.so.4.5.0
#18 0x00007f671ee95a90 in Digikam::ImageScanner::newFile(int) () from /usr/lib/libdigikamdatabase.so.4.5.0
#19 0x00007f671ee27006 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () from /usr/lib/libdigikamdatabase.so.4.5.0
#20 0x00007f671ee2a6e2 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.4.5.0
#21 0x00007f671ee2a59f in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.4.5.0
#22 0x00007f671ee2af33 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib/libdigikamdatabase.so.4.5.0
#23 0x00007f671ee2c785 in Digikam::CollectionScanner::completeScan() () from /usr/lib/libdigikamdatabase.so.4.5.0
#24 0x00000000005e6b80 in ?? ()
#25 0x00007f671b8a005f in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007f6718ce7314 in start_thread () from /usr/lib/libpthread.so.0
#27 0x00007f671aac25bd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f66f0d3c700 (LWP 10565)):
#0  0x00007f671aab97bd in poll () from /usr/lib/libc.so.6
#1  0x00007f6714194c94 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6714194dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f671b9d9397 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f671b9a8de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f671b9a9145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f671b89d7f9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f671b9896c3 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f671b8a005f in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f6718ce7314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f671aac25bd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f67217e4a00 (LWP 10562)):
#0  0x00007f6718cec8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f671b8a05b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f671b89fbee in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00000000005e513b in ?? ()
#4  0x00000000005e5407 in ?? ()
#5  0x00007f671aa10392 in __run_exit_handlers () from /usr/lib/libc.so.6
#6  0x00007f671aa103e5 in exit () from /usr/lib/libc.so.6
#7  0x00007f67090101d4 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#8  0x00007f671d37ac40 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#9  0x00007f671928a99e in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f67192882fd in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f6719279ba0 in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f671c6acf8c in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f6714194671 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x00007f6714194c33 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f6714194dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f671b9d937d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007f671c6ad526 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f671b9a8de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f671b9a9145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00000000005e2561 in ?? ()
#21 0x00000000005272f7 in ?? ()
#22 0x00007f671b9c3491 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f671c609b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f671c610588 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f671d37c1ea in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f671b9aa28d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f671b9ad651 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#28 0x00007f671b9d9233 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f6714194a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f6714194cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f6714194dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f671b9d937d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007f671c6ad526 in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f671b9a8de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f671b9a9145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f671b9ae6e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0x0000000000493fe6 in ?? ()
#38 0x00007f671a9fa040 in __libc_start_main () from /usr/lib/libc.so.6
#39 0x000000000049688f in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 331679.

Possible duplicates by query: bug 341274, bug 340373, bug 335816, bug 331679.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-12-02 21:27:44 UTC

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