Summary: | Always saving text in clipboard history causes crash | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | trunksm.wrk |
Component: | Clipboard | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde.podagric, kyle.devir, nate, qydwhotmail |
Priority: | NOR | ||
Version: | git-stable-Plasma/6.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=466414 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/40961983eb485fefe390c8c084c23e263f6877f4 | Version Fixed In: | 6.1 |
Sentry Crash Report: | |||
Attachments: |
Crash dump without debug symbols regarding plasmashell clipboard
X11 Crash attempt with debug symbols with Lorem Ipsum test |
Description
trunksm.wrk
2024-05-31 16:47:00 UTC
I can reproduce it in xorg too. Operating System: Arch Linux KDE Plasma Version: 6.0.90 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1 it was happening to me after copying code generated by chatgpt from firefox. regular texts don't seem to generate this crash. And copying exactly the same code via chromium was no problem at all I don't know if this log is of any use, but here it is: https://pastebin.com/7t2N11u3 And the code I copied from firefox: https://pastebin.com/qdcPAPFs Created attachment 170062 [details]
X11 Crash attempt with debug symbols with Lorem Ipsum test
Tried to see if regular text causes a crash with the "Lorem ipsum" page on the Internet and on a text file opened with Kate. Also tried to give Xorg/X11 another shot along with my usual Wayland session. Tried to test with Firefox, Kate, and Konsole. So far, I have no definitive find on whether apps matter as I inconsistently crash with each of them with or without clearing history. Additionally, am unable to know what character or phrase breaks the clipboard. Spaces, alphabet, and newlines seems to crash it. I am unsure if copy length does anything, but was able to crash with seemingly empty entries and two newlines entries. However, I was able to do additional crashes. On Wayland, I could easily produce one frequently and had to clear history to prevent perpetual crashing (though, am unable to easily reproduce perpetual crashes). For X11, I have difficulty creating one, but I have done a crash and captured logs via gdb with debug symbols for `plasmashell` with `plasmawindowed` running org.kde.plasma.clipboard. The file has been attached just before this comment. I apologize if I'm posting too frequently in a short timespan. I forgot to include that when I cannot cause an immediate crash for some circumstances, this printed line frequently pops up upon interacting with the clipboard window: ``` file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/TextItemDelegate.qml:20: TypeError: Cannot read property 'slice' of undefined ``` That should be most of I can find at this time and am unsure if I can investigate this differently other than generating more logs. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4395 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4395 Git commit a9c4dc860b64c4cc7f7e60378f6ec6c5de889a24 by Fushan Wen. Committed on 03/06/2024 at 01:33. Pushed by fusionfuture into branch 'master'. klipper: guard against empty selection event FIXED-IN: 6.1 M +2 -2 klipper/klipper.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/a9c4dc860b64c4cc7f7e60378f6ec6c5de889a24 Git commit 40961983eb485fefe390c8c084c23e263f6877f4 by Fushan Wen. Committed on 03/06/2024 at 04:26. Pushed by fusionfuture into branch 'Plasma/6.1'. klipper: guard against empty selection event FIXED-IN: 6.1 (cherry picked from commit a9c4dc860b64c4cc7f7e60378f6ec6c5de889a24) Co-authored-by: Fushan Wen <qydwhotmail@gmail.com> M +2 -2 klipper/klipper.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/40961983eb485fefe390c8c084c23e263f6877f4 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4401 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4401 Git commit 2796e85d0e4e98ab0345890d3c58847ea26c22f6 by Fushan Wen. Committed on 04/06/2024 at 11:07. Pushed by fusionfuture into branch 'master'. appiumtests: test empty clip crashes klipper Related: bug 466414 M +1 -1 appiumtests/applets/CMakeLists.txt M +43 -2 appiumtests/applets/clipboardtest.py https://invent.kde.org/plasma/plasma-workspace/-/commit/2796e85d0e4e98ab0345890d3c58847ea26c22f6 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4407 Git commit eb016cf60c9aaf37b9faf65b52abe51b4dd85eb0 by Fushan Wen. Committed on 04/06/2024 at 11:41. Pushed by fusionfuture into branch 'Plasma/6.1'. appiumtests: test empty clip crashes klipper Related: bug 466414 (cherry picked from commit 2796e85d0e4e98ab0345890d3c58847ea26c22f6) Co-authored-by: Fushan Wen <qydwhotmail@gmail.com> M +1 -1 appiumtests/applets/CMakeLists.txt M +43 -2 appiumtests/applets/clipboardtest.py https://invent.kde.org/plasma/plasma-workspace/-/commit/eb016cf60c9aaf37b9faf65b52abe51b4dd85eb0 *** Bug 487575 has been marked as a duplicate of this bug. *** |