<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>307013</bug_id>
          
          <creation_ts>2012-09-19 04:21:41 +0000</creation_ts>
          <short_desc>digiKam crashes after long time doing nothing</short_desc>
          <delta_ts>2022-02-05 22:47:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>DImg-Plugins</component>
          <version>2.8.0</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Axel Krebs">axel.krebs</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>6.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1298465</commentid>
    <comment_count>0</comment_count>
    <who name="Axel Krebs">axel.krebs</who>
    <bug_when>2012-09-19 04:21:41 +0000</bug_when>
    <thetext>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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, loadICCData=&lt;optimized out&gt;, loadUniqueHash=&lt;optimized out&gt;, loadImageHistory=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) at concurrent/qthreadpool.cpp:440
#5  0x00007f389e7d4799 in QThreadPool::~QThreadPool (this=0x17202c0, __in_chrg=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qobject.cpp:927
#8  0x00007f38a1c008c7 in ~ThreadManagerCreator (this=0x13feea0, __in_chrg=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f389e8dde42 in QEventLoop::processEvents (this=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298476</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2012-09-19 05:59:12 +0000</bug_when>
    <thetext>It&apos;s always the same. It crash in libtiff...

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298477</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2012-09-19 06:00:15 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 306492 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1299016</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2012-09-20 20:31:36 +0000</bug_when>
    <thetext>*** Bug 307119 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871423</commentid>
    <comment_count>4</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-07-28 01:43:44 +0000</bug_when>
    <thetext>Fixed with bug #306492</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>