Bug 341554

Summary: Digikam crashed bei Data-Import from NFS
Product: [Applications] digikam Reporter: Josef Staub <staub.josef>
Component: Metadata-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Josef Staub 2014-12-04 17:54:45 UTC
Application: digikam (4.4.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Import Fotos from Datafolder (allways at 8%)

- Custom settings of the application: Datafolder connected with NFS

try  migration from the Databench backup (Digikam 3.5): allways crashed

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 0x7fb8c414a880 (LWP 10641))]

Thread 4 (Thread 0x7fb8a4b45700 (LWP 10642)):
#0  0x00007fb8bcc1976d in recvmsg () at /lib64/libc.so.6
#1  0x00007fb8c41c1eb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007fb8a54c42eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007fb8bab660a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fb8bcc187fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb89df15700 (LWP 10643)):
[KCrash Handler]
#5  0x00007fb8bcb68187 in raise () at /lib64/libc.so.6
#6  0x00007fb8bcb69538 in abort () at /lib64/libc.so.6
#7  0x00007fb8bcba60c4 in  () at /lib64/libc.so.6
#8  0x00007fb8bcbab92e in malloc_printerr () at /lib64/libc.so.6
#9  0x00007fb8bcbac636 in _int_free () at /lib64/libc.so.6
#10 0x00007fb8b9af8197 in Exiv2::RiffVideo::infoTagsHandler() () at /usr/lib64/libexiv2.so.13
#11 0x00007fb8b9afd025 in Exiv2::RiffVideo::decodeBlock() () at /usr/lib64/libexiv2.so.13
#12 0x00007fb8b9afcc78 in Exiv2::RiffVideo::tagDecoder(Exiv2::DataBuf&, unsigned long) () at /usr/lib64/libexiv2.so.13
#13 0x00007fb8b9afd025 in Exiv2::RiffVideo::decodeBlock() () at /usr/lib64/libexiv2.so.13
#14 0x00007fb8b9afd398 in Exiv2::RiffVideo::readMetadata() () at /usr/lib64/libexiv2.so.13
#15 0x00007fb8c1e610a5 in KExiv2Iface::KExiv2::load(QString const&) const () at /usr/lib64/libkexiv2.so.11
#16 0x00007fb8c177d626 in Digikam::DMetadata::load(QString const&) const () at /usr/lib64/libdigikamcore.so.4.4.0
#17 0x00007fb8c11d15ff in Digikam::ImageScanner::loadFromDisk() () at /usr/lib64/libdigikamdatabase.so.4.4.0
#18 0x00007fb8c11d17f0 in Digikam::ImageScanner::newFile(int) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#19 0x00007fb8c1169936 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#20 0x00007fb8c116ca9f in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#21 0x00007fb8c116c957 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#22 0x00007fb8c116c957 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#23 0x00007fb8c116d363 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#24 0x00007fb8c116df3d in Digikam::CollectionScanner::completeScan() () at /usr/lib64/libdigikamdatabase.so.4.4.0
#25 0x0000000000602c6f in  ()
#26 0x00007fb8bd9f979f in  () at /usr/lib64/libQtCore.so.4
#27 0x00007fb8bab660a4 in start_thread () at /lib64/libpthread.so.0
#28 0x00007fb8bcc187fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb89d714700 (LWP 10644)):
#0  0x00007fb8bcc103cd in poll () at /lib64/libc.so.6
#1  0x00007fb8b4c70be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fb8b4c70cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb8bdb280de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007fb8bdaf9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007fb8bdafa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fb8bd9f70bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007fb8bdadb783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007fb8bd9f979f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007fb8bab660a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb8bcc187fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb8c414a880 (LWP 10641)):
#0  0x00007fb8bab6a05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb8bd9f9c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fb8bd9f936e in QThread::wait(unsigned long) () at /usr/lib64/libQtCore.so.4
#3  0x000000000060132b in  ()
#4  0x00000000006014a7 in  ()
#5  0x00007fb8bcb6abf9 in __run_exit_handlers () at /lib64/libc.so.6
#6  0x00007fb8bcb6ac45 in  () at /lib64/libc.so.6
#7  0x00007fb8be56ffc8 in  () at /usr/lib64/libQtGui.so.4
#8  0x00007fb8bf220760 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#9  0x00007fb8bb1053be in _XIOError () at /usr/lib64/libX11.so.6
#10 0x00007fb8bb102dbd in _XEventsQueued () at /usr/lib64/libX11.so.6
#11 0x00007fb8bb0f4deb in XEventsQueued () at /usr/lib64/libX11.so.6
#12 0x00007fb8be5a60ec in  () at /usr/lib64/libQtGui.so.4
#13 0x00007fb8b4c70661 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#14 0x00007fb8b4c70b7b in  () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fb8b4c70cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fb8bdb280be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#17 0x00007fb8be5a6676 in  () at /usr/lib64/libQtGui.so.4
#18 0x00007fb8bdaf9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#19 0x00007fb8bdafa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#20 0x00000000005fe9b9 in  ()
#21 0x000000000052faa7 in  ()
#22 0x00007fb8bdb1359e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#23 0x00007fb8be50976c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#24 0x00007fb8be50fcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#25 0x00007fb8bf221baa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#26 0x00007fb8bdafb2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#27 0x00007fb8bdafe57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#28 0x00007fb8bdb288fe in  () at /usr/lib64/libQtCore.so.4
#29 0x00007fb8b4c70a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007fb8b4c70c48 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007fb8b4c70cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007fb8bdb280be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#33 0x00007fb8be5a6676 in  () at /usr/lib64/libQtGui.so.4
#34 0x00007fb8bdaf9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#35 0x00007fb8bdafa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#36 0x00007fb8bdaff5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#37 0x00000000004a0710 in  ()
#38 0x00007fb8bcb54b05 in __libc_start_main () at /lib64/libc.so.6
#39 0x00000000004a2d5f in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2014-12-04 19:47:34 UTC

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