Bug 490152 - After clearing clipboard, meta+v (klipper) crashes the plasmashell
Summary: After clearing clipboard, meta+v (klipper) crashes the plasmashell
Status: RESOLVED DUPLICATE of bug 489259
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: 6.1.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-12 06:57 UTC by Ikel Atomig
Modified: 2024-07-12 15:28 UTC (History)
1 user (show)

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


Attachments
Stacktrace (I guess) (337.05 KB, application/x-executable)
2024-07-12 14:14 UTC, Ikel Atomig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ikel Atomig 2024-07-12 06:57:36 UTC
Open any window and try opening Clipboard with the Keyboard shortcut (default). The shell crashes instantly. But it's in the foreground, need to use Alt + Tab to find the clipboard popup.
Comment 1 Akseli Lahtinen 2024-07-12 12:27:44 UTC
Hi, can you include more of your system information, and the backtrace?

System information can be found from: settings -> about this system -> and then click "copy details" button and paste them here.

For backtrace you can check: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Backtraces
Comment 2 Ikel Atomig 2024-07-12 13:38:52 UTC
System Info

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 3 Ikel Atomig 2024-07-12 13:42:19 UTC
This happens when I copy something in Firefox and open the clipboard using the keyboard shortcut. I tried to look in the Crashed Process viewer after the shell restarts. But I can't seem to find it. I have no idea of finding a backtrace. I will submit it as soon as I can.
Comment 4 Ikel Atomig 2024-07-12 13:45:16 UTC
Severity is major. I can reproduce it whenever I want.
Comment 5 Akseli Lahtinen 2024-07-12 13:52:59 UTC
I unfortunately can't reproduce this bug. Do you mean the meta+v shortcut? Or shortcut for the panel clipboard popup?

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 6 Akseli Lahtinen 2024-07-12 13:54:53 UTC
I managed to repro this in one way, but im not sure if its the same issue you're facing:

1. Copy something from firefox
2. Meta+v shows things ok
3. Clear clipboard from system tray notification
4. Press meta+v
5. Crash!!
Comment 7 Ikel Atomig 2024-07-12 13:57:24 UTC
You are absolutely right and I tried my best and made this crash report - https://pb.envs.net/?2fddaa6fd12ac22f#EYjRPCmAnAT2JTi4PZLj7HeQbjvFUfEsaYuGMb5hJHbs
Comment 8 Akseli Lahtinen 2024-07-12 14:00:12 UTC
Thanks, you're on the right track! It's missing debug symbols but I can attach the backtrace at some point since I can make the crash happen.
Comment 9 Akseli Lahtinen 2024-07-12 14:09:10 UTC
Might actually be related to Wayland. Goes way deeper than I expected.

Jul 12 17:08:04 fedora-desktop plasmashell[72714]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Jul 12 17:08:04 fedora-desktop plasma_waitforname[72549]: org.kde.plasma.waitforname: WaitForName: Service was not registered within timeout
Jul 12 17:08:04 fedora-desktop systemd[1770]: dbus-:1.2-org.kde.KSplash@6.service: Main process exited, code=exited, status=1/FAILURE
Jul 12 17:08:04 fedora-desktop systemd[1770]: dbus-:1.2-org.kde.KSplash@6.service: Failed with result 'exit-code'.
Jul 12 17:08:04 fedora-desktop kwin_wayland_wrapper[2088]: error in client communication (pid 72714)
Jul 12 17:08:04 fedora-desktop kwin_wayland[2088]: qt.core.qobject.connect: QObject::disconnect: Unexpected nullptr parameter
Comment 10 Ikel Atomig 2024-07-12 14:14:36 UTC
Created attachment 171606 [details]
Stacktrace (I guess)

I have attached file. I think it's debug symbols you have been looking for.  I guess.
Comment 11 Akseli Lahtinen 2024-07-12 15:28:16 UTC

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