Bug 389313

Summary: Entering specific values into blur filter causes crash
Product: [Applications] krita Reporter: aolynsma
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: freebox64
Priority: NOR    
Version First Reported In: 3.1.4   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: (GDB Report)

Description aolynsma 2018-01-22 13:39:26 UTC
If you unlink the vertical and horizontal radius and set the horizontal one to zero while the vertical one is higher than zero, applying the filter or having the preview mode on causes Krita to shut down.
Strangely enough, setting the vertical radius to zero and the horizontal radius to a value above zero does not create the same effect. I have not tested this on gaussian blur or any other filters that also might have adjustable radius values.
Comment 1 mvowada 2018-01-22 14:06:34 UTC
Created attachment 110050 [details]
(GDB Report)

I can reproduce the crash on Ubuntu 14.04 - Krita 4.0.0-beta1.1.appimage. Steps:

    1) "Filter > Blur > Blur..."
    2) unlink Horizontal and Vertical radius
    2) set the Horizontal radius = 0 (Vertical radius has to be > 0)
Comment 2 mvowada 2018-01-22 14:06:56 UTC
(Confirming)
Comment 3 Halla Rempt 2018-01-22 14:30:01 UTC
Git commit eea93b7af358c0c73d1ff291f23099c1a745bd00 by Boudewijn Rempt.
Committed on 22/01/2018 at 14:29.
Pushed by rempt into branch 'master'.

Set the minimum blur radius to 1

M  +12   -6    plugins/filters/blur/wdgblur.ui

https://commits.kde.org/krita/eea93b7af358c0c73d1ff291f23099c1a745bd00