Bug 509181 - Krita Crash when Pasting anything from Selection tools
Summary: Krita Crash when Pasting anything from Selection tools
Status: RESOLVED DUPLICATE of bug 502266
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 5.2.12
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-06 06:24 UTC by mallock
Modified: 2025-09-06 06:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mallock 2025-09-06 06:24:55 UTC
SUMMARY

Krita crashes when pasting anything from selection tools (lasso, rectangular, etc). Pasting images like jpg file does no crash.

STEPS TO REPRODUCE
1. Select any area from existing layers 
2. Paste
3. Krita crashes

OBSERVED RESULT

Krita crash with the followings in the log:

SAFE ASSERT (krita): "mimedata" in file ./libs/ui/kis_clipboard.cc, line 320
Segmentation fault

EXPECTED RESULT

Krita not crash

SOFTWARE/OS VERSIONS
Linux: Debian 13 stable
Krita Version: krita-5.2.11-prealpha-68c0a76b41-x86_64.AppImage, krita-5.2.13-prealpha-4f376aba8d-x86_64.AppImage, krita-5.2.9 from debian repo

ADDITIONAL INFORMATION
GPU Driver: Nvidia proprietary 550.163.01/CUDA Version: 12.4
Comment 1 mallock 2025-09-06 06:31:00 UTC
FYI, this happen with fresh krita config. 
The crash does not happen in my another machine with Debian 12 (same Krita version), which also uses Nvidia driver (so it could be KDE components or Nvidia driver causing the problem?)
Comment 2 mallock 2025-09-06 06:38:23 UTC
Sorry, I think this bug is already filed in https://bugs.kde.org/show_bug.cgi?id=502266. I will close the bug now.

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