Bug 307013 - digiKam crashes after long time doing nothing
Summary: digiKam crashes after long time doing nothing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-Plugins (show other bugs)
Version: 2.8.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 04:21 UTC by Axel Krebs
Modified: 2022-02-05 22:47 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 Axel Krebs 2012-09-19 04:21:41 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.9.1 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

- PC running through all night long.
- Doing something like checking emails
- digiKam crashes withou noticeable context

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7f38a4374a00 (LWP 11399))]

Thread 5 (Thread 0x7f38800b1700 (LWP 11401)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f389e7e058b in wait (time=18446744073709551615, this=0x136beb0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x136bda8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d6a30 in Digikam::ScanController::run (this=0x1277ee0) at /build/buildd/digikam-2.8.0/core/digikam/database/scancontroller.cpp:698
#4  0x00007f389e7e007b in QThreadPrivate::start (arg=0x1277ee0) at thread/qthread_unix.cpp:307
#5  0x00007f3899325e9a in start_thread (arg=0x7f38800b1700) at pthread_create.c:308
#6  0x00007f389da0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f387f8b0700 (LWP 11402)):
#0  0x00007f389da00b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3896f75036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3896f75164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f389e90e906 in QEventDispatcherGlib::processEvents (this=0x7f38700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f389e8dde42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f389e8de097 in QEventLoop::exec (this=0x7f387f8afb50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f389e7dd057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f389e8bdb4f in QInotifyFileSystemWatcherEngine::run (this=0x136f240) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f389e7e007b in QThreadPrivate::start (arg=0x136f240) at thread/qthread_unix.cpp:307
#9  0x00007f3899325e9a in start_thread (arg=0x7f387f8b0700) at pthread_create.c:308
#10 0x00007f389da0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f386d309700 (LWP 11405)):
#0  0x00007f389da00b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3896f75036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3896f75164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f389e90e906 in QEventDispatcherGlib::processEvents (this=0x7f38680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f389e8dde42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f389e8de097 in QEventLoop::exec (this=0x7f386d308b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f389e7dd057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f389e8bdb4f in QInotifyFileSystemWatcherEngine::run (this=0x1c809e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f389e7e007b in QThreadPrivate::start (arg=0x1c809e0) at thread/qthread_unix.cpp:307
#9  0x00007f3899325e9a in start_thread (arg=0x7f386d309700) at pthread_create.c:308
#10 0x00007f389da0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3858ec1700 (LWP 11691)):
[KCrash Handler]
#6  0x00007f38a1a1f933 in Digikam::TIFFLoader::load (this=0x7f3858ebfb30, filePath=..., observer=0x69f82c00) at /build/buildd/digikam-2.8.0/core/libs/dimg/loaders/tiffloader.cpp:638
#7  0x00007f38a19faacd in Digikam::DImg::load (this=0x7f3858ec02a0, filePath=..., loadFlagsInt=13, observer=0x69f82c00, rawDecodingSettings=...) at /build/buildd/digikam-2.8.0/core/libs/dimg/dimg.cpp:451
#8  0x00007f38a19fc18e in Digikam::DImg::load (this=0x7f3858ec02a0, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>, observer=0x69f82c00, rawDecodingSettings=...) at /build/buildd/digikam-2.8.0/core/libs/dimg/dimg.cpp:406
#9  0x00007f38a1be0488 in Digikam::ThumbnailCreator::loadWithDImg (this=0x1b45880, path=..., profile=0x7f3858ec0460) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:561
#10 0x00007f38a1be0fcb in Digikam::ThumbnailCreator::createThumbnail (this=0x1b45880, info=..., detailRect=..., isFace=false) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:490
#11 0x00007f38a1be1630 in Digikam::ThumbnailCreator::load (this=0x1b45880, path=..., rect=..., pregenerate=true) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:260
#12 0x00007f38a1be2a2d in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#13 0x00007f38a1bf1120 in Digikam::ThumbnailLoadingTask::execute (this=0x69f82bf0) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailtask.cpp:80
#14 0x00007f38a1bc0b5e in Digikam::LoadSaveThread::run (this=0x1c733e0) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/loadsavethread.cpp:136
#15 0x00007f38a1c0332e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1b45b10) at /build/buildd/digikam-2.8.0/core/libs/threads/dynamicthread.cpp:186
#16 0x00007f389e7d35a2 in QThreadPoolThread::run (this=0x695b61a0) at concurrent/qthreadpool.cpp:107
#17 0x00007f389e7e007b in QThreadPrivate::start (arg=0x695b61a0) at thread/qthread_unix.cpp:307
#18 0x00007f3899325e9a in start_thread (arg=0x7f3858ec1700) at pthread_create.c:308
#19 0x00007f389da0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f38a4374a00 (LWP 11399)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f389e7e058b in wait (time=18446744073709551615, this=0x129a560) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1265b08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f389e7d2d2e in QThreadPoolPrivate::waitForDone (this=0x1265a80, msecs=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007f389e7d4754 in QThreadPool::~QThreadPool (this=0x17202c0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007f389e7d4799 in QThreadPool::~QThreadPool (this=0x17202c0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007f389e8f1e15 in QObjectPrivate::deleteChildren (this=0x125dae0) at kernel/qobject.cpp:1908
#7  0x00007f389e8f807c in QObject::~QObject (this=0x13feea0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#8  0x00007f38a1c008c7 in ~ThreadManagerCreator (this=0x13feea0, __in_chrg=<optimized out>) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007f389d955921 in __run_exit_handlers (status=1, listp=0x7f389dcd0688, run_list_atexit=true) at exit.c:78
#11 0x00007f389d9559a5 in __GI_exit (status=<optimized out>) at exit.c:100
#12 0x00007f389f345508 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:780
#13 0x00007f38a0012768 in KApplication::xioErrhandler (this=0x7ffff5567cc0, dpy=0x11d1e70) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x00007f389bf1b41e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f389bf18e1d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f389bf0a42f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007f389f381b1c in x11EventSourceCheck (s=0x11c3ca0) at kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007f3896f74b43 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f3896f74fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f3896f75164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f389e90e89f in QEventDispatcherGlib::processEvents (this=0x1160af0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007f389f381cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f389e8dde42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f389e8de097 in QEventLoop::exec (this=0x7ffff5567b40, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f389e8e33e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#26 0x000000000048f63b in main (argc=1, argv=<optimized out>) at /build/buildd/digikam-2.8.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 306492, bug 301122, bug 301045, bug 298547, bug 295020.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-09-19 05:59:12 UTC
It's always the same. It crash in libtiff...

Gilles Caulier
Comment 2 caulier.gilles 2012-09-19 06:00:15 UTC

*** This bug has been marked as a duplicate of bug 306492 ***
Comment 3 caulier.gilles 2012-09-20 20:31:36 UTC
*** Bug 307119 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2019-07-28 01:43:44 UTC
Fixed with bug #306492