https://bugs.kde.org/show_bug.cgi?id=408793
Bug ID: 408793
Summary: Memory leak when .psd file in album folder
Product: digikam
Version: 6.1.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: digikam-bugs-n...@kde.org
Reporter: michael.b...@aei.mpg.de
Target Milestone: ---
SUMMARY
Digikam takes (over about 5 minutes) all my 16GB memory. Then, the computer
freezes.
Removing the album folder with the .psd files (from a CD of the book [1]) lets
digikam work normally (no memory leak).
Having some .psd files in my album path triggers digicam to:
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.database: Finishing took 4 ms
digikam.dimg:
"/home/michael/Bilder/Photoshop_LAB/chapter_01/artists_palette.psd" : QIMAGE
file identified
digikam.dimg.qimage: Can not load "
"/home/michael/Bilder/Photoshop_LAB/chapter_01/artists_palette.psd" " using
DImg::QImageLoader!
digikam.dimg.qimage: Error message from loader: "Die Bilddaten konnten nicht
gelesen werden"
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.geoiface:
digikam.database: Scanning took 277 ms
digikam.database: Finishing took 17 ms
...
copying back just one .psd file gets digikam to leak memory:
...
digikam.database: Finishing took 5 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.dimg: "/home/michael/Bilder/yellowstone_canyon.psd" : QIMAGE file
identified
digikam.dimg.qimage: Can not load "
"/home/michael/Bilder/yellowstone_canyon.psd" " using DImg::QImageLoader!
digikam.dimg.qimage: Error message from loader: "Die Bilddaten konnten nicht
gelesen werden"
digikam.database: Starting scan!
digikam.database: Scanning took 350 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.database: Finishing took 5 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.dimg: "/home/michael/Bilder/yellowstone_canyon.psd" : QIMAGE file
identified
digikam.dimg.qimage: Can not load "
"/home/michael/Bilder/yellowstone_canyon.psd" " using DImg::QImageLoader!
digikam.dimg.qimage: Error message from loader: "Die Bilddaten konnten nicht
gelesen werden"
digikam.database: Starting scan!
digikam.database: Scanning took 349 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.database: Finishing took 6 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.dimg: "/home/michael/Bilder/yellowstone_canyon.psd" : QIMAGE file
identified
digikam.dimg.qimage: Can not load "
"/home/michael/Bilder/yellowstone_canyon.psd" " using DImg::QImageLoader!
digikam.dimg.qimage: Error message from loader: "Die Bilddaten konnten nicht
gelesen werden"
digikam.database: Starting scan!
digikam.database: Scanning took 349 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
digikam.database: Finishing took 7 ms
digikam.general: Detected change, triggering rescan of "/home/michael/Bilder/"
...
removing the file again lets digikam calm down.
STEPS TO REPRODUCE
1. have .psd files in the album folder
2. just start digikam
3. wait for the computer to freeze (about 5 minutes in my case)
OBSERVED RESULT
Running top in another konsole shows digikam using about 100% cpu and steadily
increasing amount of memory. At about 88% memory the system freezes and has to
be rebooted.
EXPECTED RESULT
Don't eat my cpu/memory.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: 5.16.0 Opensuse Tumbleweed current version
(available in About System)
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
ADDITIONAL INFORMATION
[1] Photoshop Lab Color: The Canyon Conundrum and Other Adventures in the Most
Powerful Colorspace
by Dan Margulis
Additional note:
The .psd files live there for many years. Only the digikam update that came
from Tumbleweed (some?) week ago started this behavior.
--
You are receiving this mail because:
You are watching all bug changes.