https://bugs.kde.org/show_bug.cgi?id=461397

            Bug ID: 461397
           Summary: plasmashell crashed sometimes when using task manager
                    icons with the error The Wayland connection
                    experienced a fatal error: Invalid argument
    Classification: Plasma
           Product: plasmashell
           Version: 5.26.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: matt.fagn...@bell.net
  Target Milestone: 1.0

SUMMARY

plasmashell crashed sometimes when using task manager icons with the error The
Wayland connection experienced a fatal error: Invalid argument This type of
crash has occurred several times when using a Fedora Rawhide/38 KDE Plasma live
images after I started Firefox or Dolphin from the icons in the task manager,
sometimes by right-clicking from the context menus, or selecting Unpin from the
Task Manager, or closing them from the icons. plasmashell restarted
automatically after each crash. The journals from the times of the crashes
showed errors like kwin_wayland_wrapper: invalid object/method in some form and
always plasmashell: The Wayland connection experienced a fatal error: Invalid
argument. The following example was when I started Firefox from the task
manager icon by left-clicking on it.

Nov 04 01:06:24 plasmashell[1795]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x562e13820fe0)
Nov 04 01:06:24 plasmashell[1795]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x562e13820fe0)
Nov 04 01:06:24 plasmashell[1795]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x562e13820fe0)
Nov 04 01:06:24 kwin_wayland_wrapper[1652]: invalid object (256), type
(wl_buffer), message set_region(?o)
Nov 04 01:06:24 kwin_wayland_wrapper[1652]: error in client communication (pid
1795)
Nov 04 01:06:24 plasmashell[1795]: The Wayland connection experienced a fatal
error: Invalid argument
Nov 04 01:06:24 plasmashell[1795]: wl_display@1: error 1: invalid arguments for
org_kde_kwin_contrast@99.set_region
Nov 04 01:06:24 systemd[1589]: plasma-plasmashell.service: Main process exited,
code=exited, status=1/FAILURE
Nov 04 01:06:24 systemd[1589]: plasma-plasmashell.service: Failed with result
'exit-code'.
Nov 04 01:06:24 systemd[1589]: plasma-plasmashell.service: Consumed 36.328s CPU
time.
Nov 04 01:06:24 systemd[1589]: plasma-plasmashell.service: Scheduled restart
job, restart counter is at 1.
Nov 04 01:06:24 systemd[1589]: Stopped plasma-plasmashell.service - KDE Plasma
Workspace.
Nov 04 01:06:24 systemd[1589]: plasma-plasmashell.service: Consumed 36.328s CPU
time.

I noticed that lines like plasmashell[3304]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x563433e770b0) were frequently shown at the
time of the crash. The tooltips for the icons in the task manager didn't show
the window preview when the program was running at least some of the time. The
following was when I just moved the cursor over the Firefox icon in the task
manager and the tooltip was shown.

Nov 04 01:19:53 plasmashell[3304]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x563433e770b0)
Nov 04 01:19:53 plasmashell[3304]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x563433e770b0)
Nov 04 01:19:53 plasmashell[3304]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x563433e770b0)
Nov 04 01:19:53 plasmashell[3304]: kf.plasma.quick: Couldn't create
KWindowShadow for ToolTipDialog(0x563433e770b0)
Nov 04 01:19:53 kwin_wayland_wrapper[1652]: error in client communication (pid
3304)
Nov 04 01:19:53 plasmashell[3304]: wl_display@1: error 1: invalid method 1,
object wl_buffer@226
Nov 04 01:19:53 plasmashell[3304]: The Wayland connection experienced a fatal
error: Invalid argument
Nov 04 01:19:53 plasmashell[3304]: The Wayland connection experienced a fatal
error: Invalid argument
Nov 04 01:19:54 systemd[1589]: plasma-plasmashell.service: Main process exited,
code=exited, status=1/FAILURE
Nov 04 01:19:54 systemd[1589]: plasma-plasmashell.service: Failed with result
'exit-code'.
Nov 04 01:19:54 systemd[1589]: plasma-plasmashell.service: Consumed 21.251s CPU
time.
Nov 04 01:19:54 systemd[1589]: plasma-plasmashell.service: Scheduled restart
job, restart counter is at 2.
Nov 04 01:19:54 systemd[1589]: Stopped plasma-plasmashell.service - KDE Plasma
Workspace.
Nov 04 01:19:54 systemd[1589]: plasma-plasmashell.service: Consumed 21.251s CPU
time.
Nov 04 01:19:54 systemd[1589]: Starting plasma-plasmashell.service - KDE Plasma
Workspace...
Nov 04 01:19:55 systemd[1589]: Started plasma-plasmashell.service - KDE Plasma
Workspace.

The crashes weren't shown by coredumpctl or drkonqi. I tried using gdb -p
$(pidof plasmashell) then trying to reproduce the crashes, but they didn't
happen when I did that. If you have any suggestions of how to get traces for
these crashes, please let me know. I don't usually use the Icons-only task
manager, so I'm not sure when this problem started.

STEPS TO REPRODUCE
1. Boot Fedora-KDE-Live-x86_64-Rawhide-20221103.n.0.iso
https://koji.fedoraproject.org/koji/buildinfo?buildID=2083580
2. Use the Firefox icon in the task manager to start it, or right-click on it
and select start, or select Unpin from task manager or use the other icons in
the task manager in similar ways until the crash happens.

OBSERVED RESULT
plasmashell crashed sometimes when using task manager icons with the error The
Wayland connection experienced a fatal error: Invalid argument

EXPECTED RESULT
plasmashell wouldn't crash when using task manager icons.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide/38
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to