https://bugs.kde.org/show_bug.cgi?id=487843
Bug ID: 487843 Summary: Always saving text in clipboard history causes crash Classification: Plasma Product: plasmashell Version: git-stable-Plasma/6.1 Platform: Arch Linux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Clipboard Assignee: plasma-b...@kde.org Reporter: trunksm....@gmail.com Target Milestone: 1.0 Created attachment 170019 --> https://bugs.kde.org/attachment.cgi?id=170019&action=edit Crash dump without debug symbols regarding plasmashell clipboard SUMMARY Using KDE Plasma 6.1 Beta on Wayland, plasmashell would 'occasionally' crash on me. Took me a while to investigate to find out it's the clipboard component that's crashing and is remedied by undoing tweaks. X11 not affected. STEPS TO REPRODUCE 1. Use KDE Plasma Wayland. 2. Open Clipboard Configuration. 3. Enable [Keep the selection and clipboard the same] from "Selection and Clipboard"; & select [Always save in history] for "Text selection". 4. Run `plasmawindowed org.kde.plasma.clipboard` as this weirdly guarantees the crash for me if plasmashell doesn't. 5. Rapidly select text from any source. Repeat until crash either immediately or a few seconds after. OBSERVED RESULT Plasmashell with Wayland freezes and creates a crash dump which clues to clipboard involvement. Plasmawindowed also prints out a line of code that reportedly failed. EXPECTED RESULT No crashes and oddities. SOFTWARE/OS VERSIONS Operating System: EndeavourOS / Arch Linux KDE Gear Version: 24.05.0-1 KDE Plasma Version: 6.0.90-1 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1 Kernel Version: 6.9.2-arch1-1 Graphics Platform: Wayland ADDITIONAL INFORMATION Currently using both 'kde-unstable' and 'extra-testing' Arch repo for Plasma 6.1 Beta. Reproducing the crash on X11 does not work which may mean only Wayland is affected. Attached DrKonqi report, but without debug symbols as it stresses my low-end system and fails. Unsure if this is related to bug 469663, but this does not involve URLs and pop-up menus. Lastly, the printed line upon interacting with the clipboard launched with `plasmawindowed`: ``` kf.plasma.quick: Applet preload policy set to 1 qml: 0 DataControlOffer: timeout reading from pipe DataControlOffer: timeout reading from pipe /usr/include/c++/14.1.1/bits/shared_ptr_base.h:1350: std::__shared_ptr_access<_Tp, _Lp, <anonymous>, <anonymous> >::element_type& std::__shared_ptr_access<_Tp, _Lp, <anonymous>, <anonymous> >::operator*() const [with _Tp = HistoryItem; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic; bool <anonymous> = false; bool <anonymous> = false; element_type = HistoryItem]: Assertion '_M_get() != nullptr' failed. Aborted (core dumped) ``` -- You are receiving this mail because: You are watching all bug changes.