Bug 465090 - Pasting without anything in clipboard will result in crash
Summary: Pasting without anything in clipboard will result in crash
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.1.5
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-31 20:31 UTC by haleeangel2
Modified: 2023-04-18 08:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description haleeangel2 2023-01-31 20:31:02 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Have a clear clipboard
2.  press ctrl + v to paste

OBSERVED RESULT
Program crashing

EXPECTED RESULT
Nothing to paste

SOFTWARE/OS VERSIONS
Windows: Windows 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I had to restart my computer for some memory issues and i wanted to see if maybe my laptop remembered what was on my clipboard for funsies, and when I did the action to paste the program crashed. I repeated this 3 times and even updated the program to see if it was just a me thing, but sure enough on 5.05 it crashed
Comment 1 Nagy Tibor 2023-03-25 06:14:28 UTC
It's also reproducible on Linux.

ASSERT (krita): "!qimage.isNull()" in file ./libs/ui/kis_clipboard.cc, line 460
Comment 2 Dmitry Kazakov 2023-04-18 08:30:03 UTC
Hi, haleeangel2!

Thank you for the repost! It seems like the bug is now fixed in the upcoming Krita 5.2.x branch!