Bug 330479

Summary: Krita 2.8 beta-2 (32 bit): crash while trying the filter > adjust > brightness - contrast curve
Product: [Applications] krita Reporter: Silvio Grosso <grossosilvio>
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: halla
Priority: NOR    
Version: 2.8 Beta   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Silvio Grosso 2014-01-27 19:09:38 UTC
WINDOWS 7 PROFESSIONAL - 32 BIT (6.1 BUILD 7601 - SERVICE PACK 1)
CPU: INTEL CORE(TM)2 DUO CPU E7500 @2.93GHZ (2CPUs) - 64 BIT
GPU: ATI RADEON HD 3450 (DELL OPTIPLEX)
RAM: 4 GB

Krita 2.7.9.6 - 32 bit (installed today with the latest installer by Boud)

Reproducible: Always

Steps to Reproduce:
1. Fire up Krita 2.8 beta 2 (*32 bit*)
2. Open a jpg image (9 Mb around)
3. Filter > Adjust > Brightness - Contrast
4. Move the curve *quickly* until Krita always crashes.
Usually, it takes around 30-40 second to crash Krita

I have also tried this same workflow with the latest Krita 64 bit installer
It has been installed on Windows 7 - 64 bit (Intel I7 - Nvidia graphic card - 8 gb ram)
With these same steps (and the same jpg image) it is impossible for me to reproduce this crash
I have tried over and over but Krita on this 64 bit - Windows version never crashes.

Btw, I have tested all the previous 32 bit installers on Windows 7 (32 bit) and they always crashed with this filter (hence this crash is not a regression).
Actual Results:  
Krita 2.8 beta 2 always crashes on Windows 7 - 32 bit (with around 4 Gb Ram available) while trying the filter Brightness - contrast curve
On the contrary, Krita 2.8 beta 2 never crashes on Windows 7 - 64 bit (8 Gb Ram) with the same steps.

Expected Results:  
Krita 2.8 - 32 bit should not crash on Windows  7 (32 bit) with the filter brightness - contrast curve
It works fine on Windows 7 - 64 bit instead (8 gb ram) :-)

Here you can download the video with all my steps to crash Krita on Windows 7 - 32 bit:
https://dl.dropboxusercontent.com/u/3095134/BUGS_REPORT/KRITA_2.8_BETA-2_CRASH_FILTER_BRIGHTNESS.avi

Here you can download the jpg image I always use to test Krita 2.8 beta on Windows 7:
https://dl.dropboxusercontent.com/u/3095134/BUGS_REPORT/KRITA_TESTING_IMAGE.jpg
Comment 1 Halla Rempt 2014-02-20 11:17:08 UTC
Right... I've finally managed to reproduce :-)
Comment 2 Halla Rempt 2014-02-20 11:32:30 UTC
Git commit 078539652a81377cd7200d9b4183b6bdb16e64f5 by Boudewijn Rempt.
Committed on 20/02/2014 at 11:30.
Pushed by rempt into branch 'calligra/2.8'.

M  +6    -3    plugins/colorengines/lcms2/LcmsColorSpace.h

http://commits.kde.org/calligra/078539652a81377cd7200d9b4183b6bdb16e64f5
Comment 3 Halla Rempt 2014-06-19 08:27:15 UTC
Git commit c57f936221cb1b031e21cf96c19753a1fad880c1 by Boudewijn Rempt.
Committed on 20/02/2014 at 11:30.
Pushed by rempt into branch 'master'.

M  +6    -3    plugins/colorengines/lcms2/LcmsColorSpace.h

http://commits.kde.org/calligra/c57f936221cb1b031e21cf96c19753a1fad880c1