Bug 163166 - Tool cannot be used on large photographs
Summary: Tool cannot be used on large photographs
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Sharpen (show other bugs)
Version: 0.9.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 22:04 UTC by Dik Takken
Modified: 2017-07-09 18:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2008-06-03 22:04:01 UTC
Version:           0.9.4-beta4 (using KDE 3.5.8)
OS:                Linux

Using the refocus plugin on large photographs consistently crashes DigiKam (SIGABRT), while some other plugins work just fine. Perhaps this plugin is trying to allocate a single, large chunk of memory, causing the program to fail...

It would be great if this plugin can be made to work well when used on very large files.
Comment 1 caulier.gilles 2008-06-03 22:32:18 UTC
Dik,

Whitch size exactly ? 

Are you a backtrace of the scratch ?

Gilles Caulier
Comment 2 Andi Clemens 2008-07-23 18:29:56 UTC
This could be a CImg issue? Like Gilles said, can you provide a backtrace?
Comment 3 Andi Clemens 2008-07-23 18:32:24 UTC
Oops refocus is not used with CImg... I thought of restoration plugin.. sorry!
Comment 4 caulier.gilles 2008-07-23 23:14:03 UTC
Yes, it's not CImg. The memory consuming in refocusing is duing of a copy of image block around the whole image (i think). Look refocusing dialog implementation for details.

Gilles Caulier
Comment 5 Dik Takken 2008-08-16 22:04:05 UTC
I can't get a sane backtrace unfortunately. I use DigiKam to work on 50 megapixel 16-bit photographs, scanned from 6x6 cm slides.
Comment 6 Andi Clemens 2009-10-01 20:16:18 UTC
Is this report still valid? If so, can you upload an example image somewhere?

Andi
Comment 7 caulier.gilles 2011-11-16 14:16:26 UTC
Dik,

Do you see comment #6 from Andi ?

Gilles Caulier
Comment 8 Dik Takken 2011-11-17 07:51:49 UTC
I cannot reproduce this problem, I guess it's been fixed.