[Digikam-devel] [Bug 274555] Digikam crashes while histogram computation

Rudolf Leitgeb Rudolf.Leitgeb at gmx.at
Tue Nov 22 13:53:01 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=274555





--- Comment #23 from Rudolf Leitgeb <Rudolf Leitgeb gmx at>  2011-11-22 13:53:00 ---
Your patch does the same as my instrumentation and I indeed had no crash
anymore with this change. I did spend some effort looking a little bit deeper
into the problem last night and think it has something to do with image crop
selection returning bad values, which leads to an illegal clip rectangle.

If the DImg::copy in imagepropertiescolorstab.cpp:541 is fed a bad rectangle,
an empty image is returned which ultimately produces exactly the numbers my
dump showed in Comment 21. And I strongly suspect that there is something
rotten in the state of ImagePropertiesSideBar::slotImageSelectionChanged or
rather the function triggering it, because for some reason I can never select
the whole image, there is always something cropped off the right and bottom
side. Press Ctrl+A and Ctrl+X often enough and the whole image disappears. I
know, I know, this should be a separate bug report ....

I will report my findings, for the time the patch is a quick fix for the
obvious symptom.

-- 
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