Bug 346807 - Crashes on startup
Summary: Crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Video (show other bugs)
Version: 4.9.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-27 18:07 UTC by Paulo
Modified: 2018-02-28 12:39 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 Paulo 2015-04-27 18:07:02 UTC
Application: digikam (4.9.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
on starting the application, when  pictures are loading, it suddenly crashes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7ff2fd363700 (LWP 8375)):
[KCrash Handler]
#5  0x00007ff31b9c6187 in raise () at /lib64/libc.so.6
#6  0x00007ff31b9c7538 in abort () at /lib64/libc.so.6
#7  0x00007ff31ba03844 in  () at /lib64/libc.so.6
#8  0x00007ff31ba090ae in malloc_printerr () at /lib64/libc.so.6
#9  0x00007ff31ba09db6 in _int_free () at /lib64/libc.so.6
#10 0x00007ff319649e03 in Exiv2::QuickTimeVideo::userDataDecoder(unsigned long) () at /usr/lib64/libexiv2.so.13
#11 0x00007ff319648ffb in Exiv2::QuickTimeVideo::tagDecoder(Exiv2::DataBuf&, unsigned long) () at /usr/lib64/libexiv2.so.13
#12 0x00007ff319649360 in Exiv2::QuickTimeVideo::decodeBlock() () at /usr/lib64/libexiv2.so.13
#13 0x00007ff3196495ad in Exiv2::QuickTimeVideo::readMetadata() () at /usr/lib64/libexiv2.so.13
#14 0x00007ff3213cc1a5 in KExiv2Iface::KExiv2::load(QString const&) const () at /usr/lib64/libkexiv2.so.11
#15 0x00007ff320ce75e6 in Digikam::DMetadata::load(QString const&) const () at /usr/lib64/libdigikamcore.so.4.9.0
#16 0x00007ff32073935f in Digikam::ImageScanner::loadFromDisk() () at /usr/lib64/libdigikamdatabase.so.4.9.0
#17 0x00007ff320739550 in Digikam::ImageScanner::newFile(int) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#18 0x00007ff3206d2056 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#19 0x00007ff3206d51df in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#20 0x00007ff3206d5097 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#21 0x00007ff3206d5097 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#22 0x00007ff3206d5aa3 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () at /usr/lib64/libdigikamdatabase.so.4.9.0
#23 0x00007ff3206d667d in Digikam::CollectionScanner::completeScan() () at /usr/lib64/libdigikamdatabase.so.4.9.0
#24 0x00000000005e3ecf in  ()
#25 0x00007ff31c55579f in QThreadPrivate::start(void*) (arg=0x1c3fdf0) at thread/qthread_unix.cpp:349
#26 0x00007ff3199c40a4 in start_thread () at /lib64/libpthread.so.0
#27 0x00007ff31ba7606d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff2fcb62700 (LWP 8376)):
#0  0x00007ff31ba6dc3d in poll () at /lib64/libc.so.6
#1  0x00007ff313bbfbe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff313bbfcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff31c6840de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff2f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007ff31c655e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2fcb61d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff31c656165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2fcb61d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff31c5530bf in QThread::exec() (this=this@entry=0x1c42550) at thread/qthread.cpp:538
#7  0x00007ff31c637783 in QInotifyFileSystemWatcherEngine::run() (this=0x1c42550) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ff31c55579f in QThreadPrivate::start(void*) (arg=0x1c42550) at thread/qthread_unix.cpp:349
#9  0x00007ff3199c40a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007ff31ba7606d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff322f9e880 (LWP 8373)):
#0  0x00007ff3199c805f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff31c555c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x1c3ff20) at thread/qwaitcondition_unix.cpp:86
#2  0x00007ff31c555c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x1c3fed0, mutex=mutex@entry=0x1c3fea8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff31c55536e in QThread::wait(unsigned long) (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:720
#4  0x00000000005e25cb in  ()
#5  0x00000000005e2747 in  ()
#6  0x00007ff31b9c8bf9 in __run_exit_handlers () at /lib64/libc.so.6
#7  0x00007ff31b9c8c45 in  () at /lib64/libc.so.6
#8  0x00007ff31d0cbfc8 in  () at /usr/lib64/libQtGui.so.4
#9  0x00007ff31dd7c8a0 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#10 0x00007ff319f633be in _XIOError () at /usr/lib64/libX11.so.6
#11 0x00007ff319f60dbd in _XEventsQueued () at /usr/lib64/libX11.so.6
#12 0x00007ff319f52deb in XEventsQueued () at /usr/lib64/libX11.so.6
#13 0x00007ff31d1020ec in  () at /usr/lib64/libQtGui.so.4
#14 0x00007ff313bbf661 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#15 0x00007ff313bbfb7b in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007ff313bbfcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#17 0x00007ff31c6840be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x19dedc0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#18 0x00007ff31d102676 in  () at /usr/lib64/libQtGui.so.4
#19 0x00007ff31c655e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffddf418080, flags=...) at kernel/qeventloop.cpp:149
#20 0x00007ff31c656165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffddf418080, flags=...) at kernel/qeventloop.cpp:204
#21 0x00007ff31d490c97 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib64/libQtGui.so.4
#22 0x00007ff31d4c95d5 in  () at /usr/lib64/libQtGui.so.4
#23 0x00007ff31d4c9c89 in  () at /usr/lib64/libQtGui.so.4
#24 0x00007ff31c66b1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x5f58590, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#25 0x00007ff31d412076 in  () at /usr/lib64/libQtGui.so.4
#26 0x00007ff31d41261c in QAbstractButton::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#27 0x00007ff31d4c9fe8 in QToolButton::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#28 0x00007ff31d0b4a7b in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#29 0x00007ff31d06576c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#30 0x00007ff31d06bdea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007ff31dd7dcea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#32 0x00007ff31c6572ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffddf419ad0, receiver=0x5f58590, event=0x7ffddf4187f0) at kernel/qcoreapplication.cpp:953
#33 0x00007ff31d06b5e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#34 0x00007ff31d0dcc9b in  () at /usr/lib64/libQtGui.so.4
#35 0x00007ff31d0db70c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#36 0x00007ff31d1025c2 in  () at /usr/lib64/libQtGui.so.4
#37 0x00007ff313bbfa04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#38 0x00007ff313bbfc48 in  () at /usr/lib64/libglib-2.0.so.0
#39 0x00007ff313bbfcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#40 0x00007ff31c6840de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x19dedc0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#41 0x00007ff31d102676 in  () at /usr/lib64/libQtGui.so.4
#42 0x00007ff31c655e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x1c50700, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007ff31c656165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1c50700, flags=...) at kernel/qeventloop.cpp:204
#44 0x00000000005dfc59 in  ()
#45 0x000000000052fab7 in  ()
#46 0x00007ff31c66f59e in QObject::event(QEvent*) (this=0x298d860, e=<optimized out>) at kernel/qobject.cpp:1231
#47 0x00007ff31d06576c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007ff31d06bcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#49 0x00007ff31dd7dcea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#50 0x00007ff31c6572ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffddf419ad0, receiver=receiver@entry=0x298d860, event=event@entry=0x1c05ec0) at kernel/qcoreapplication.cpp:953
#51 0x00007ff31c65a57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1c05ec0, receiver=0x298d860) at kernel/qcoreapplication.h:231
#52 0x00007ff31c65a57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x19d9940) at kernel/qcoreapplication.cpp:1577
#53 0x00007ff31c65aa23 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#54 0x00007ff31c6848fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#55 0x00007ff31c6848fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1a82b70) at kernel/qeventdispatcher_glib.cpp:300
#56 0x00007ff313bbfa04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#57 0x00007ff313bbfc48 in  () at /usr/lib64/libglib-2.0.so.0
#58 0x00007ff313bbfcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#59 0x00007ff31c6840be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x19dedc0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#60 0x00007ff31d102676 in  () at /usr/lib64/libQtGui.so.4
#61 0x00007ff31c655e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffddf4195b0, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007ff31c656165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffddf4195b0, flags=...) at kernel/qeventloop.cpp:204
#63 0x00007ff31c65b5b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#64 0x00000000004a0f70 in  ()
#65 0x00007ff31b9b2b05 in __libc_start_main () at /lib64/libc.so.6
#66 0x00000000004a386f in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2015-04-27 19:01:17 UTC
crash appears in Exiv2 library about video files
Comment 2 caulier.gilles 2018-02-28 12:39:30 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