Bug 343231 - Crash at scanning for new fotos
Summary: Crash at scanning for new fotos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Unclassified
Component: Metadata-Video (show other bugs)
Version: 4.4.0
Platform: openSUSE RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-24 07:55 UTC by reinhard.ingoland
Modified: 2018-03-04 09:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reinhard.ingoland 2015-01-24 07:55:43 UTC
Application: digikam (4.4.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
Aufgrund der Nichtanzeige bestimmter Fotos in der Vorschau habe ich bei den Einstellungen Albenansicht folgende Optionen geaendert
- Einstellungen fuer Vorschauansicht => alles AN bis "Knoepfe zum Drehen der Bilder anzeigen"
- Einstellungen zur Ordneransicht => Anzahl der Eintraege anzeigen

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 0x7f6daea30880 (LWP 3484))]

Thread 5 (Thread 0x7f6d8dbcb700 (LWP 3485)):
#0  0x00007f6da750576d in recvmsg () at /lib64/libc.so.6
#1  0x00007f6daeaa3eb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f6d8e54a2eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f6da54520a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f6da75047fd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f6d8377b700 (LWP 3486)):
[KCrash Handler]
#5  0x00007f6da43a31c8 in Exiv2::MatroskaVideo::decodeBlock() () at /usr/lib64/libexiv2.so.13
#6  0x00007f6da43a3bdd in Exiv2::MatroskaVideo::readMetadata() () at /usr/lib64/libexiv2.so.13
#7  0x00007f6dac74d0a5 in KExiv2Iface::KExiv2::load(QString const&) const () at /usr/lib64/libkexiv2.so.11
#8  0x00007f6dac069626 in Digikam::DMetadata::load(QString const&) const () at /usr/lib64/libdigikamcore.so.4.4.0
#9  0x00007f6dababd5ff in Digikam::ImageScanner::loadFromDisk() () at /usr/lib64/libdigikamdatabase.so.4.4.0
#10 0x00007f6dababd7f0 in Digikam::ImageScanner::newFile(int) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#11 0x00007f6daba55936 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#12 0x00007f6daba58a9f in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#13 0x00007f6daba58957 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#14 0x00007f6daba58957 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#15 0x00007f6daba59363 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () at /usr/lib64/libdigikamdatabase.so.4.4.0
#16 0x00007f6daba59f3d in Digikam::CollectionScanner::completeScan() () at /usr/lib64/libdigikamdatabase.so.4.4.0
#17 0x0000000000602c6f in  ()
#18 0x00007f6da82e579f in  () at /usr/lib64/libQtCore.so.4
#19 0x00007f6da54520a4 in start_thread () at /lib64/libpthread.so.0
#20 0x00007f6da75047fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6d82f7a700 (LWP 3487)):
#0  0x00007f6da74fc3cd in poll () at /lib64/libc.so.6
#1  0x00007f6d9f4a0be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6d9f4a0cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6da84140de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f6da83e5e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f6da83e6165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f6da82e30bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f6da83c7783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f6da82e579f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f6da54520a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f6da75047fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6d8128c700 (LWP 3491)):
#0  0x00007f6da74fc3cd in poll () at /lib64/libc.so.6
#1  0x00007f6d9f4a0be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6d9f4a0cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6da84140de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f6da83e5e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f6da83e6165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f6da82e30bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f6da83c7783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f6da82e579f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f6da54520a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f6da75047fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6daea30880 (LWP 3484)):
#0  0x00007f6da545605f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f6da82e5c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f6da82e536e in QThread::wait(unsigned long) () at /usr/lib64/libQtCore.so.4
#3  0x000000000060132b in  ()
#4  0x00000000006014a7 in  ()
#5  0x00007f6da7456bf9 in __run_exit_handlers () at /lib64/libc.so.6
#6  0x00007f6da7456c45 in  () at /lib64/libc.so.6
#7  0x00007f6da8e5bfc8 in  () at /usr/lib64/libQtGui.so.4
#8  0x00007f6da9b0c760 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#9  0x00007f6da59f13be in _XIOError () at /usr/lib64/libX11.so.6
#10 0x00007f6da59eedbd in _XEventsQueued () at /usr/lib64/libX11.so.6
#11 0x00007f6da59e0deb in XEventsQueued () at /usr/lib64/libX11.so.6
#12 0x00007f6da8e920ec in  () at /usr/lib64/libQtGui.so.4
#13 0x00007f6d9f4a0661 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#14 0x00007f6d9f4a0b7b in  () at /usr/lib64/libglib-2.0.so.0
#15 0x00007f6d9f4a0cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#16 0x00007f6da84140de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#17 0x00007f6da8e92676 in  () at /usr/lib64/libQtGui.so.4
#18 0x00007f6da83e5e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#19 0x00007f6da83e6165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#20 0x00000000005fe9b9 in  ()
#21 0x000000000052faa7 in  ()
#22 0x00007f6da83ff59e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#23 0x00007f6da8df576c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#24 0x00007f6da8dfbcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#25 0x00007f6da9b0dbaa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#26 0x00007f6da83e72ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#27 0x00007f6da83ea57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#28 0x00007f6da84148fe in  () at /usr/lib64/libQtCore.so.4
#29 0x00007f6d9f4a0a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f6d9f4a0c48 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f6d9f4a0cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f6da84140be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#33 0x00007f6da8e92676 in  () at /usr/lib64/libQtGui.so.4
#34 0x00007f6da83e5e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#35 0x00007f6da83e6165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#36 0x00007f6da83eb5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#37 0x00000000004a0710 in  ()
#38 0x00007f6da7440b05 in __libc_start_main () at /lib64/libc.so.6
#39 0x00000000004a2d5f in _start ()

Reported using DrKonqi
Comment 1 reinhard.ingoland 2015-01-24 07:59:03 UTC
In the collection are some Matroska MP4 Files. Until now i cant locate the crash for a special video. I try to locate the special file.
Comment 2 caulier.gilles 2015-01-24 09:33:22 UTC

*** This bug has been marked as a duplicate of bug 339909 ***
Comment 3 caulier.gilles 2018-03-04 09:18:16 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