GNOME Bugzilla – Bug 695418
Unsharp mask crashes for large radii
Last modified: 2013-08-11 15:00:56 UTC
if you adjust the 'amount' slider on the unsharpen mask option in Gimp more than halfway to the right with the radius all the way to the right Gimp ALWAYS crashes!!!
Works fine here, I can go all the way to 500 without any ill effects, except a slightly longer wait.
Please avoid exclamation marks and capital letters.
tried it on 6 pictures around 700x700px, still ALWAYS crashing
Maybe you could describe the steps you do (so anyone can follow them without knowing what you do, or looking at your screen), or attach a screenshot of the unsharp mask dialog before you increase the radius?
all I do is adjust the sliders about half way and it crashes before even hitting the button to perform the task! it doesn't mater what I do before, adjusting sliders at least half way = crash! it could be the first thing I do and it crashes!!
Created attachment 238428 [details] Stack trace of bug I can reproduce this by changing only the radius. Here is a stack trace. It only happens with large radius values - a radius of 426 does not crash for me; 427 does crash (I left all other values at the defaults). This is on a 640x400 image. I'm running arch linux 64 bit.
Moltres, you're using a 64 bit system as well?
32 bit... Windows 7 call me 'Moltres Rider'
As per comment #6
Created attachment 240905 [details] [review] Simple bound check On small images + large radii, the plugin did not care if it worked on the image or not... With this patch it does. Submitted against gimp-2-8
Comment on attachment 240905 [details] [review] Simple bound check If that fixes it, please push to 2-8 and master.
Pushed to master and gimp-2-8. This plugin is no longer used in master though... And I don't see how to close the bug, help! commit 35cc644765c553b6feb24bd56133b6f9f74ed5e4 Author: Téo Mazars <teo.mazars@ensimag.fr> Date: Sun Apr 7 22:29:56 2013 +0200 Bug 695418 - Unsharp mask crashes for large radii Make sure we are working on the image range plug-ins/common/unsharp-mask.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
*** Bug 705554 has been marked as a duplicate of this bug. ***