Bug 348712 - Crash when erasing with an airbrush
Summary: Crash when erasing with an airbrush
Status: RESOLVED DUPLICATE of bug 348652
Alias: None
Product: krita
Classification: Applications
Component: Tile manager (show other bugs)
Version: 2.9
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 20:09 UTC by David REVOY
Modified: 2015-06-05 05:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
[^ kcrash output ] (11.28 KB, text/plain)
2015-06-04 20:09 UTC, David REVOY
Details
[^ kcrash file , another one ] (17.17 KB, text/plain)
2015-06-04 20:19 UTC, David REVOY
Details
[^ kcrash file , another this time with 2.9.5 5a9c6d9 ] (8.15 KB, text/plain)
2015-06-04 20:32 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2015-06-04 20:09:00 UTC
Created attachment 93001 [details]
[^ kcrash output ]

Hi,

This is a crash I had while erasing the canvas with an airbrush in eraser blending mode. It happened really fast , I wanted to add a texture-background to a new created canvas, and erase a bit the border of the background texture ( using the mouse ).

I can reproduce it easily, using any type of brush with the mouse. 
Brush has to be big ; in Eraser blending mode ( E key ) and erase existing pixels.
Comment 1 David REVOY 2015-06-04 20:19:21 UTC
Created attachment 93002 [details]
[^ kcrash file , another one ]

Well, the crashes happens as soon as I paint more than 3 strokes big and lags. Calligra 2.9 is too unstable/crashy here for my use. I go back in time to a safer commit.
Comment 2 David REVOY 2015-06-04 20:32:33 UTC
Created attachment 93003 [details]
[^ kcrash file , another this time with 2.9.5 5a9c6d9  ]

Ok, I rebuilt 2.9.5 , and still can't lay 3 stroke without getting Krita to crash. 
I'm affraid it's a lib change on 'buntu 14.04/Mint 17.1 ...

Watching at my package history of today's update : 
libqt4-dbus (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-dbus:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-declarative (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-declarative:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-designer (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-designer:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-dev-bin (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-help (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-network (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-network:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-opengl (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-opengl-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-opengl:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-qt3support (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-qt3support:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-script (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-script:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-scripttools (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-scripttools:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-sql (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-sql-sqlite (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-sql:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-svg (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-svg:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-test (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-test:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-xml (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-xml:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-xmlpatterns (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt4-xmlpatterns:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqt5core5a (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5dbus5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5gui5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5network5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5opengl5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5printsupport5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5sql5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5sql5-sqlite (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5test5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5widgets5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqt5xml5 (5.2.1+dfsg-1ubuntu14.2) to 5.2.1+dfsg-1ubuntu14.3
libqtcore4 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqtcore4:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqtdbus4 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqtdbus4:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqtgui4 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
libqtgui4:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
plank (0.9.1+bzr1296-0ubuntu1~14.04~ricotz1) to 0.9.1+bzr1298-0ubuntu1~14.04~ricotz1
qdbus (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
qt4-linguist-tools (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
qt4-qmake (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
qtcore4-l10n (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) to 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
t1utils (1.37-2ubuntu1) to 1.37-2ubuntu1.1

Doesn't sound good at all.
Comment 3 David REVOY 2015-06-04 20:53:22 UTC
Another information : A clean build ( removing content of build/inst directory +  git clean -dxf , reset --hard /calligra 2.9 ) doesn't change.
Comment 4 David REVOY 2015-06-04 21:56:19 UTC
Ok, After testing doing clean build with everything ( from 2.9.3 to 2.9.4 ) , and still getting the crash after 3 brush strokes, I decided to read the Git Log patiently.
And deduced the new panel about 'Performance' settings is probably at origin of my repetitive crashes.
First, I never went to Preferences > Krita > Performances before , it had the "default" slider value and those one were pretty low.
eg. something like :  
Memory Limit : 2% of 8GB
Internal Pool : 2%
Swap : 2%

I decided to change them to this :
Memory Limit : 80.00% (6.5GB ), 6355Mb
Internal Pool : Max; (20%), 1270Mb
Swap undo after 40%, 2033Mb

Filesize limit was also pretty low, like 2GB , I updgraded to 12GB. 

Now, I can't make Krita crash as easy as before. 

 Is it a problem of default too low value ? 
( ref:  http://quickgit.kde.org/?p=calligra.git&a=blobdiff&h=fd1e138e36e30714e0b01a300aacd5a9fa9b43b0&hp=fd00f6e1f1a6359019c3623eae214ea024990023&hb=8aed44bc8fca2f6ac98f8e202a9ec420af498d31&f=krita%2Fui%2Fdialogs%2Fkis_dlg_preferences.cc )
Comment 5 Halla Rempt 2015-06-05 05:47:56 UTC
Hm, this is the same thing as 348652 -- I've managed to reproduce that reliably now.

*** This bug has been marked as a duplicate of bug 348652 ***