Bug 334782 - Crash while doing nothing
Summary: Crash while doing nothing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Video (show other bugs)
Version: 4.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-14 20:26 UTC by Jim Shipman
Modified: 2018-02-28 17:44 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 Jim Shipman 2014-05-14 20:26:25 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.3-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
7fded2507000-7fded2508000 r--p 00004000 fd:00 1193642                    /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fded2508000-7fded2509000 rw-p 00005000 fd:00 1193642                    /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fded2509000-7fded2512000 r-xp 00000000 fd:00 1193641                    /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fded2512000-7fded2711000 ---p 00009000 fd:00 1193641                    /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fded2711000-7fded2712000 r--p 00008000 fd:00 1193641                    /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fded2712000-7fded2713000 rw-p 00009000 fd:00 1193641                    /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fded2713000-7fded2718000 r-xp 00000000 fd:00 1193640                    /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fded2718000-7fded2918000 ---p 00005000 fd:00 1193640                    /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fded2918000-7fded2919000 r--p 00005000 fd:00 1193640                    /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fded2919000-7fded291a000 rw-p 00006000 fd:00 1193640                    /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fded291a000-7fded291f000 r-xp 00000000 fd:00 1193639                    /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
7fded291f000-7fded2b1e000 ---p 00005000 fd:00 1193639                    /usr/lib64/kde4/plugins/imageformats/kimg_psd.soKCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/shipman/.kde/socket-laurie.family.net/kdeinit4__0
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...
QSocketNotifier: Invalid socket 76 and type 'Read', disabling...
digikam: Fatal IO error 9 (Bad file descriptor) on X server :0.

[1]+  Stopped                 digikam
[shipman@laurie ~]$ QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
QSocketNotifier: Invalid socket 32 and type 'Read', disabling...

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

Thread 6 (Thread 0x7fded759e700 (LWP 17628)):
#0  0x00000035e8c0eccd in recvmsg () from /usr/lib64/libpthread.so.0
#1  0x00000037aae08ed9 in udev_monitor_receive_device () from /usr/lib64/libudev.so.1
#2  0x00000037b780ee0b in linux_udev_event_thread_main () from /usr/lib64/libusb-1.0.so.0
#3  0x00000035e8c07f33 in start_thread () from /usr/lib64/libpthread.so.0
#4  0x00000035e80f4ded in clone () from /usr/lib64/libc.so.6

Thread 5 (Thread 0x7fded1ce4700 (LWP 17629)):
#0  0x00000035e8c0bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0
#1  0x00000035e4c7cbf6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000000000612d77 in Digikam::ScanController::run (this=0x155e220) at /home/shipman/Downloads/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#3  0x00000035e4c7c6bf in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#4  0x00000035e8c07f33 in start_thread () from /usr/lib64/libpthread.so.0
#5  0x00000035e80f4ded in clone () from /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fded14e3700 (LWP 17630)):
#0  0x00000035e80ea9dd in poll () from /usr/lib64/libc.so.6
#1  0x00000035eac495b4 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#2  0x00000035eac496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000035e4db5af6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00000035e4d8595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00000035e4d85cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000035e4c79e8f in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00000035e4d662e3 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/libQtCore.so.4
#8  0x00000035e4c7c6bf in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#9  0x00000035e8c07f33 in start_thread () from /usr/lib64/libpthread.so.0
#10 0x00000035e80f4ded in clone () from /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fdec0d29700 (LWP 17633)):
#0  0x00000035eac8a2e6 in g_mutex_get_impl () from /usr/lib64/libglib-2.0.so.0
#1  0x00000035eac8a599 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00000035eac48ab7 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00000035eac494bb in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#4  0x00000035eac496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00000035e4db5af6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000035e4d8595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00000035e4d85cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00000035e4c79e8f in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00000035e4d662e3 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/libQtCore.so.4
#10 0x00000035e4c7c6bf in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#11 0x00000035e8c07f33 in start_thread () from /usr/lib64/libpthread.so.0
#12 0x00000035e80f4ded in clone () from /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fde35ffb700 (LWP 17728)):
[KCrash Handler]
#5  0x00000035e8035c39 in raise () from /usr/lib64/libc.so.6
#6  0x00000035e8037348 in abort () from /usr/lib64/libc.so.6
#7  0x00000035e8075d04 in __libc_message () from /usr/lib64/libc.so.6
#8  0x00000035e807cff8 in _int_free () from /usr/lib64/libc.so.6
#9  0x00007fdede0b490b in Exiv2::RiffVideo::nikonTagsHandler() () from /lib64/libexiv2.so.13
#10 0x00007fdede0b8695 in Exiv2::RiffVideo::decodeBlock() () from /lib64/libexiv2.so.13
#11 0x00007fdede0b82e8 in Exiv2::RiffVideo::tagDecoder(Exiv2::DataBuf&, unsigned long) () from /lib64/libexiv2.so.13
#12 0x00007fdede0b8695 in Exiv2::RiffVideo::decodeBlock() () from /lib64/libexiv2.so.13
#13 0x00007fdede0b8a08 in Exiv2::RiffVideo::readMetadata() () from /lib64/libexiv2.so.13
#14 0x00007fdedf3235e8 in KExiv2Iface::KExiv2::load (this=0x7fde35ffa4f0, filePath=...) at /home/shipman/Downloads/digikam-4.0.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:300
#15 0x00007fdedeb8fc69 in Digikam::DMetadata::load (this=0x7fde35ffa4f0, filePath=...) at /home/shipman/Downloads/digikam-4.0.0/core/libs/dmetadata/dmetadata.cpp:110
#16 0x00007fdedeb8fa66 in Digikam::DMetadata::DMetadata (this=0x7fde35ffa4f0, filePath=...) at /home/shipman/Downloads/digikam-4.0.0/core/libs/dmetadata/dmetadata.cpp:72
#17 0x00007fdedebeb854 in Digikam::ThumbnailCreator::createThumbnail (this=0x1aa0e70, info=..., detailRect=...) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threadimageio/thumbnailcreator.cpp:440
#18 0x00007fdedebea88d in Digikam::ThumbnailCreator::load (this=0x1aa0e70, path=..., rect=..., pregenerate=true) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threadimageio/thumbnailcreator.cpp:260
#19 0x00007fdedebea31c in Digikam::ThumbnailCreator::pregenerate (this=0x1aa0e70, path=...) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#20 0x00007fdedebf8db3 in Digikam::ThumbnailLoadingTask::execute (this=0x17586540) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threadimageio/thumbnailtask.cpp:82
#21 0x00007fdedebd483c in Digikam::LoadSaveThread::run (this=0x1a6a420) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threadimageio/loadsavethread.cpp:136
#22 0x00007fdedec00746 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1a71910) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threads/dynamicthread.cpp:186
#23 0x00000035e4c7004e in QThreadPoolThread::run() () from /usr/lib64/libQtCore.so.4
#24 0x00000035e4c7c6bf in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#25 0x00000035e8c07f33 in start_thread () from /usr/lib64/libpthread.so.0
#26 0x00000035e80f4ded in clone () from /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fdeddaccac0 (LWP 17627)):
#0  0x00000035e8c0bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0
#1  0x00000035e4c7cbf6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000035e4c6f26a in QThreadPoolPrivate::waitForDone(int) () from /usr/lib64/libQtCore.so.4
#3  0x00000035e4c70725 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#4  0x00000035e4c70759 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#5  0x00000035e4d9e2f8 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#6  0x00000035e4da09af in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#7  0x00007fdedebfdea0 in Digikam::ThreadManager::~ThreadManager (this=0x19d3b20, __in_chrg=<optimized out>) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threads/threadmanager.cpp:257
#8  0x00007fdedebfe718 in Digikam::ThreadManagerCreator::~ThreadManagerCreator (this=0x19d3b20, __in_chrg=<optimized out>) at /home/shipman/Downloads/digikam-4.0.0/core/libs/threads/threadmanager.cpp:236
#9  0x00007fdedebfdd49 in destroy () at /home/shipman/Downloads/digikam-4.0.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007fdede9f567b in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x7fdedf0ac028 <_ZZN7Digikam5._152ptEvE13cleanUpObject>, __in_chrg=<optimized out>) at /usr/include/kde4/kglobal.h:62
#11 0x00000035e80394c9 in __run_exit_handlers () from /usr/lib64/libc.so.6
#12 0x00000035e8039515 in exit () from /usr/lib64/libc.so.6
#13 0x0000003b5d86854e in gdk_x_io_error () from /usr/lib64/libgdk-x11-2.0.so.0
#14 0x00000033e7649510 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#15 0x00000035eb04515e in _XIOError () from /usr/lib64/libX11.so.6
#16 0x00000035eb042b4d in _XEventsQueued () from /usr/lib64/libX11.so.6
#17 0x00000035eb03456b in XEventsQueued () from /usr/lib64/libX11.so.6
#18 0x00000035e606c7fc in x11EventSourceCheck(_GSource*) () from /usr/lib64/libQtGui.so.4
#19 0x00000035eac48ff9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#20 0x00000035eac49533 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#21 0x00000035eac496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00000035e4db5ad5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x00000035e606cda6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtGui.so.4
#24 0x00000035e4d8595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00000035e4d85cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00000035e4d8b399 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#27 0x000000000073f630 in main (argc=1, argv=0x7fffeb71f238) at /home/shipman/Downloads/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 334604.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-14 20:39:05 UTC
It crash in Exiv2 shared library when video file is parsed. Please report this problem to Exiv2 bugzilla...

Gilles Caulier
Comment 2 caulier.gilles 2018-02-28 12:37:40 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
Comment 3 Jim Shipman 2018-02-28 17:44:58 UTC
Thank you.  I think ffmpeg will do a much more stable job.
Problem closed
Jim Shipman