<?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>338249</bug_id>
          
          <creation_ts>2014-08-13 21:05:30 +0000</creation_ts>
          <short_desc>Digikam uses all free memory and gets terminated</short_desc>
          <delta_ts>2019-12-24 08:51:33 +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>Database-Sqlite</component>
          <version>4.2.0</version>
          <rep_platform>Kubuntu</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="Micha">micha.magen</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1465646</commentid>
    <comment_count>0</comment_count>
    <who name="Micha">micha.magen</who>
    <bug_when>2014-08-13 21:05:30 +0000</bug_when>
    <thetext>After a long time in which I&apos;ve been unable to use Digikam due to an unrelated crash in phonon library, I finally managed to get it to install and run today.  I get the splash screen, then the main window.  The main window shows a progress bar (apparently for scanning my albums) which completes in about 26 seconds and I get a &quot;no active process&quot; message.  However, at the same time (i.e. right afer the main window is shown) Digikam starts using all available CPU resources (400%) and locking memory at a very high rate, until it gets to 70-80% of system memory, then I have a few minutes of swapping in which the system is unusable, and finally memory is fully exhausted and the system terminates Digikam.  It does not matter if I close the main window after it starts to use CPU and memory, the digikam process would not disappear and continues to use resources until it gets terminated.  I don&apos;t know what is being done behind the scenes (as far as I can tell Digikam doesn&apos;t generate a log file) but in the past I&apos;ve been able to use Digikam (up to 3.4.0 I believe) with the same image collection.  The issue exists in 4.2.0 and I&apos;ve also tried 4.1.0 and 3.5.0 with the same result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465652</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2014-08-13 21:56:20 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 323888 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717327</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2017-12-17 19:49:38 +0000</bug_when>
    <thetext>Git commit 6a9fd9891a3ff341dc42fe36158cbf0101d513b6 by Maik Qualmann.
Committed on 17/12/2017 at 19:20.
Pushed by mqualmann into branch &apos;master&apos;.

delete threads from memory when they are finished
Related: bug 375317, bug 375035, bug 321784, bug 325712, bug 328732, bug 330227, bug 331912, bug 344661, bug 345395, bug 350549, bug 381877, bug 329651, bug 329091, bug 387821, bug 381222

M  +2    -1    NEWS
M  +25   -0    libs/database/dbjobs/dbjobsmanager.cpp
M  +35   -0    libs/iojobs/iojobsmanager.cpp

https://commits.kde.org/digikam/6a9fd9891a3ff341dc42fe36158cbf0101d513b6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717344</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2017-12-17 20:03:43 +0000</bug_when>
    <thetext>Following this commit:

https://commits.kde.org/digikam/6a9fd9891a3ff341dc42fe36158cbf0101d513b6

... the approach to fix this problem is under way and new digiKam 5.8.0 pre-release bundles will be compiled tonight to lets a chance to end-users to give a feedback about this fix before the 5.8.0 official release planed before Christmas 2017.

The bundles will be available in 2 hours at this url:

https://files.kde.org/digikam/

Please do not waste time to test if this file is always valid for next 5.8.0.

Thanks in advance

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1898269</commentid>
    <comment_count>4</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-12-24 08:51:33 +0000</bug_when>
    <thetext>Not reproducible with 7.0.0-beta1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>