[Digikam-devel] [Bug 207710] Crash while loading large file (Digikam::DImgScale::dimgScaleAARGB, Digikam::DImg::smoothScaleSection, Digikam::DImgInterface::paintOnDevice)
Marcel Wiesweg
marcel.wiesweg at gmx.de
Fri Oct 23 15:47:26 BST 2009
https://bugs.kde.org/show_bug.cgi?id=207710
Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcel.wiesweg at gmx.de
--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de> 2009-10-23 16:47:26 ---
This is a nasty bug, I am a bit at a loss here.
We may hit a rounding error or corner case of some sort, trying to scale a
9078x1980px section to 128x27px.
Valgrind shows that for y=0 only, dimgscale.cpp:1222-24, 1229-31, 1216-18 give
"invalid read" errors. No further errors for y>1.
The bug could as well be in DImgScale::dimgCalcApoints, the result of which is
read by the XAP macro and then used to control the loops which access invalid
adresses.
Does anyone in some way understand this scaling algorithm?
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list