https://bugs.kde.org/show_bug.cgi?id=447126
Bug ID: 447126 Summary: [transparency mask] Crash after importing a picture as a "new layer" and then creating a "transparency mask" over it Product: krita Version: nightly build (please specify the git hash!) Platform: Appimage OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Tile manager Assignee: krita-bugs-n...@kde.org Reporter: i...@davidrevoy.com Target Milestone: --- Created attachment 144622 --> https://bugs.kde.org/attachment.cgi?id=144622&action=edit Backtrace of the bug Hi, it's a bug I discussed on IRC and where dmitryK built a appimage with ASAN for helping me to detect. To reproduce: =========== 1. Open Krita, create a new document 2. Drag'n'drop an external jpg (or a kra, png) picture from file browser into the canvas , and choose → insert as a new layer. 3. Then right click on the layer of the imported picture and select on the menu: Add → Add a Transparency Mask. Result: ====== A dialog appears: SAFE ASSERT (krita): "qAbs(row) < 0x7FFF && qAbs(col) < 0x7FFF" in file /home/appimage/persistent/krita/libs/image/tiles3/kis_tile_hash_table2.h, line 151 It looks like that: https://www.peppercarrot.com/extras/temp/2021-12-17_screenshot_114756_net.jpg Info: ==== A backtrace is attached to this report and it's 100% reproducable. The appimage is 2021-12-17_krita-5.1.0-prealpha-7793838-ASAN-x86_64.appimage , from Krita git~master. It was tested in a vanilla new environment, Kubtuntu Linux 20.04LTS. -- You are receiving this mail because: You are watching all bug changes.