Bug 295020 - Digikam crashed while I was doing absolutely nothing...
Summary: Digikam crashed while I was doing absolutely nothing...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-Plugins (show other bugs)
Version: 2.6.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 20:19 UTC by Frederic Grelot
Modified: 2022-02-05 22:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Grelot 2012-02-28 20:19:16 UTC
Application: digikam (2.6.0-beta2)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.7-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Absolutely nothing. The digikam window was not on the active virtual desktop (Gnome 3), I hadn't touched it for more than 24 hours (maybe just viewed it in the gnome shell desktop preview, but I don't even remember activating the window), and suddenly, the "bug report window" appeared on my desktop...
The tool suggests a similar bug : the stack trace of one of the "locked thread" seems actually identical, but not the other one.

I'm running Gnome 3 under Fedora 16, with digikam built from source.

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

Thread 5 (Thread 0x7f8204998700 (LWP 22799)):
#0  0x000000389b80bae5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038ac07c07b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005d1d10 in Digikam::ScanController::run (this=0x2939b80) at /home/goulou/digikam/digikam-sc/core/digikam/database/scancontroller.cpp:647
#3  0x00000038ac07bb6b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x000000389b807d90 in start_thread () from /lib64/libpthread.so.0
#5  0x000000389b4f0f5d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f81fffff700 (LWP 22800)):
#0  0x000000389b4e85c3 in poll () from /lib64/libc.so.6
#1  0x000000389d444fd8 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000389d44549c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038ac1a7dc6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00000038ac178182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00000038ac1783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000038ac078b27 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00000038ac157e7f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00000038ac07bb6b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x000000389b807d90 in start_thread () from /lib64/libpthread.so.0
#10 0x000000389b4f0f5d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f81ff7fe700 (LWP 22836)):
#0  0x000000389b80bae5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038ac07c07b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f8214a97499 in Digikam::ParkingThread::run (this=0x2b62df0) at /home/goulou/digikam/digikam-sc/core/libs/threads/threadmanager.cpp:119
#3  0x00000038ac07bb6b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x000000389b807d90 in start_thread () from /lib64/libpthread.so.0
#5  0x000000389b4f0f5d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f81df8e6700 (LWP 19104)):
[KCrash Handler]
#6  0x000000389b491488 in _wordcopy_fwd_aligned () from /lib64/libc.so.6
#7  0x000000389b48b355 in __memmove_sse2 () from /lib64/libc.so.6
#8  0x00000038b5613489 in ?? () from /usr/lib64/libtiff.so.3
#9  0x00000038b5636509 in TIFFReadEncodedStrip () from /usr/lib64/libtiff.so.3
#10 0x00000038b561e906 in ?? () from /usr/lib64/libtiff.so.3
#11 0x00007f82148cdbcc in Digikam::TIFFLoader::load (this=0x7f81df8e4b10, filePath=<optimized out>, observer=0x75bcb10) at /home/goulou/digikam/digikam-sc/core/libs/dimg/loaders/tiffloader.cpp:608
#12 0x00007f82148a942d in Digikam::DImg::load (this=0x7f81df8e5280, filePath=..., loadFlagsInt=13, observer=0x75bcb10, rawDecodingSettings=...) at /home/goulou/digikam/digikam-sc/core/libs/dimg/dimg.cpp:451
#13 0x00007f82148aa72e in Digikam::DImg::load (this=0x7f81df8e5280, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>, observer=0x75bcb10, rawDecodingSettings=...) at /home/goulou/digikam/digikam-sc/core/libs/dimg/dimg.cpp:406
#14 0x00007f8214a79168 in Digikam::ThumbnailCreator::loadWithDImg (this=0x3556be0, path=..., profile=0x7f81df8e5440) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailcreator.cpp:559
#15 0x00007f8214a79cab in Digikam::ThumbnailCreator::createThumbnail (this=0x3556be0, info=..., detailRect=<optimized out>, isFace=false) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailcreator.cpp:488
#16 0x00007f8214a7a310 in Digikam::ThumbnailCreator::load (this=0x3556be0, path=..., rect=..., pregenerate=false) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailcreator.cpp:258
#17 0x00007f8214a7b1e2 in Digikam::ThumbnailCreator::load (this=<optimized out>, path=<optimized out>) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailcreator.cpp:197
#18 0x00007f8214a89cc7 in Digikam::ThumbnailLoadingTask::execute (this=0x75bcb00) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailtask.cpp:170
#19 0x00007f8214a59e5e in Digikam::LoadSaveThread::run (this=0x3556890) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/loadsavethread.cpp:136
#20 0x00007f8214a9936e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x3556990) at /home/goulou/digikam/digikam-sc/core/libs/threads/dynamicthread.cpp:328
#21 0x00000038ac06f4e2 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00000038ac07bb6b in ?? () from /usr/lib64/libQtCore.so.4
#23 0x000000389b807d90 in start_thread () from /lib64/libpthread.so.0
#24 0x000000389b4f0f5d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f82142f1a40 (LWP 22797)):
#0  0x000000389b80bae5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038ac07c07b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f8214a993e8 in Digikam::DynamicThread::wait (this=0x3556890, locker=...) at /home/goulou/digikam/digikam-sc/core/libs/threads/dynamicthread.cpp:348
#3  0x00007f8214a99604 in Digikam::DynamicThread::shutDown (this=0x3556890) at /home/goulou/digikam/digikam-sc/core/libs/threads/dynamicthread.cpp:103
#4  0x00007f8214a60ac8 in Digikam::ManagedLoadSaveThread::shutDown (this=0x3556890) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/managedloadsavethread.cpp:94
#5  0x00007f8214a7d94f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x3556890, __in_chrg=<optimized out>) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailloadthread.cpp:174
#6  0x00007f8214a7da79 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x3556890, __in_chrg=<optimized out>) at /home/goulou/digikam/digikam-sc/core/libs/threadimageio/thumbnailloadthread.cpp:177
#7  0x000000389b439931 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x000000389b4399b5 in exit () from /lib64/libc.so.6
#9  0x00000038b3e6aa14 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#10 0x00000038b304f4a8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#11 0x000000389f4481be in _XIOError () from /usr/lib64/libX11.so.6
#12 0x000000389f445a5d in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x000000389f4364ff in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00000038aec6c50c in ?? () from /usr/lib64/libQtGui.so.4
#15 0x000000389d4447a4 in g_main_context_check () from /lib64/libglib-2.0.so.0
#16 0x000000389d444ff2 in ?? () from /lib64/libglib-2.0.so.0
#17 0x000000389d44549c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00000038ac1a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#19 0x00000038aec6c66e in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00000038ac178182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00000038ac1783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00000038ac17cdd5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#23 0x000000000048d7ab in main (argc=5, argv=<optimized out>) at /home/goulou/digikam/digikam-sc/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 280142.

Possible duplicates by query: bug 280142.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-02-29 04:33:53 UTC
It crash in libtiff...

Gilles Caulier

*** This bug has been marked as a duplicate of bug 280142 ***
Comment 2 Frederic Grelot 2012-02-29 09:08:50 UTC
Right, I get it : I created a panorama using Hugin (not with the new tool inside digikam), and the TIFF was just finished when digikam crashed. So I wasn't doing anything in digikam for a while, but it has detected the new TIFF, and tried to analyze it...

PS : the TIFF was quite big...
Comment 3 caulier.gilles 2019-07-28 01:52:05 UTC
Fixed with bug #280142