Bug 370316 - Krita crashes when applying a transform mask on image
Summary: Krita crashes when applying a transform mask on image
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 3.0.2 Alpha
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-08 21:44 UTC by silva
Modified: 2016-11-03 11:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-30684-0.html (534 bytes, text/html)
2016-10-29 22:03 UTC, silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description silva 2016-10-08 21:44:25 UTC
Everytime I need to do a transform mask on an image, it crashes. That doesn't happen if I apply a transform mask on a stroke, only happens with images.

Reproducible: Always

Steps to Reproduce:
1. Open Image
2. Apply a Transform Mask
3. Enter 

Actual Results:  
It crashes.

Expected Results:  
It should have done the transform mask without crashing.

On OSX El Capitan.
Comment 1 Halla Rempt 2016-10-10 07:18:10 UTC
What do you mean with applying a transform mask? Do you mean creating a transform mask from a transformation? Or applying a transformation directly? In neither case can I reproduce a crash.
Comment 2 silva 2016-10-10 09:35:54 UTC
Hi Boudewijn. It happens when I do a selection on an image (using the lasso tool, for example), copy the selection to another layer and try to apply a transform mask on that selection. The bigger the files, the more frequently it happens.
Comment 3 silva 2016-10-10 21:55:48 UTC
This is what the Terminal says after opening an image:

cHRM: 1.51777e-320 6.95326e-310 6.95322e-310 2.15672e-314 6.95322e-310 6.95325e-310 6.95322e-310 6.94698e-310
gAMA 6.95327e-310
sRGB 1
libpng warning: iCCP: too many profiles
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QFile::copy: Empty or null file name
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
Segmentation fault: 11
Comment 4 Halla Rempt 2016-10-29 14:17:28 UTC
Can you check whether this stil happens with the latest beta build: http://download.kde.org/unstable/krita/3.0.91/krita-3.0.91.dmg -- I did fix an issue with the transform mask in the past month. And when you say "apply a transform mask", do you mean, use the transform tool, then create a transform mask, or use the transform tool, then apply the transformation.
Comment 5 silva 2016-10-29 22:03:54 UTC
Created attachment 101892 [details]
attachment-30684-0.html

Hi Boudewijn,

When I said 'apply a transform mask', I meant make a selection (on a
portion of an image), copy that selection to a new layer and them apply a
transform mask on that layer. I have checked and it doesn't crash anymore!
However, it behaves a bit strange: If, after applying a transform mask, I
try to move the transformed layer, it moves randomly (not exactly following
the cursor/mouse). Hope that description helps! Thanks!
Comment 6 Halla Rempt 2016-11-03 11:05:04 UTC
I'm sorry, but I cannot reproduce that last issue either. But since it's different from this bug, please make a new issue for it if you can still reproduce it. It would be best to add some screen recordong of what you're doing so I can be entirely sure that I'm trying to reproduce it correctly.