Bug 452153 - A Transparency or Filter Mask being present causes a crash on next opening.
Summary: A Transparency or Filter Mask being present causes a crash on next opening.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-01 16:10 UTC by Ahab Greybeard
Modified: 2022-04-06 16:14 UTC (History)
1 user (show)

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


Attachments
Test file for crash bug (609.46 KB, application/x-krita)
2022-04-01 16:10 UTC, Ahab Greybeard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ahab Greybeard 2022-04-01 16:10:38 UTC
Created attachment 147881 [details]
Test file for crash bug

SUMMARY
This bug was introduced in the Mar 29th 5.1.0-prealpha (git 6da8c772d3) appimage and is not present in the Mar 28th or earlier appimages.
It is reported for the Mar 31 5.1.0 prealpha (git 625152f808) appimage on Debian 10.

There are two greyscale related Commits in the Mar 28 version but the bug doesn't happen until the Mar 29 version.

A test file, Test-Trans-Filter-Masks.kra, is attached that can be used to induce the crash.

This crash bug may be related to the area of concern for this crash bug:
https://bugs.kde.org/show_bug.cgi?id=452145

STEPS TO REPRODUCE
1. Open the attached Test-Trans-Filter-Masks.kra file.
2. Close it then Open it again.

OBSERVED RESULT
1. Note that the transparency and filter mask are not visible.
2. A crash with the terminal saying "Segmentation fault".

EXPECTED RESULT
Not crashing.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.1.0-prealpha (git 625152f)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: false

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-20-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10
  Desktop: MATE
Comment 2 Ahab Greybeard 2022-04-06 16:14:46 UTC
This was fixed in the Apr 03 5.1.0-prealpha (git bcff23b8f0) appimage.