Bug 438381 - plasma is terminated because "invalid arguments for zwp_linux_buffer_params_v1.add"
Summary: plasma is terminated because "invalid arguments for zwp_linux_buffer_params_v...
Status: RESOLVED DUPLICATE of bug 438097
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.22.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-06-10 02:30 UTC by Lewis Lakerink
Modified: 2021-09-27 20:16 UTC (History)
3 users (show)

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


Attachments
WAYLAND_DEBUG=1 Plasma shell crash with same error (157.60 KB, text/plain)
2021-06-16 00:57 UTC, Lewis Lakerink
Details
WAYLAND_DEBUG=1 plasmashell - same error without screenshare troubles (582.44 KB, text/plain)
2021-06-16 05:29 UTC, Lewis Lakerink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Lakerink 2021-06-10 02:30:55 UTC
SUMMARY
Sometimes plasmashell will crash after a while when either trying to hide or show the dock.

I have my plasmashell dock (Not latte, just the standard dock shipped with plasma) on the right side of my monitor. It often works perfectly for a few hours, but then after some time plasmashell terminates (not a segfault). Usually I don't notice it's crashed until after I try to show the dock with my cursor, and it no longer opens.

The crash can happen after 10 minutes, other times it happens after several hours.

STEPS TO REPRODUCE
1. Run plasmashell (Or use plasmashell that's launched at login)
2. After some time of using the desktop, plasmashell will terminate.
3. If I'm lucky enough to have a terminal open (Usually I do), I can relaunch plasmashell, but it too will crash after some time. Plasmashell works fine initially after launching it again. Task thumbnails are fine, everything is functional until it's next random crash.

OBSERVED RESULT

❯ plasmashell
kf.plasma.quick: Applet preload policy set to 1
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Error: cannot change the containment to AppletsLayout
Plasma Shell startup completed
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumHeight"
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:208: Error: Invalid write to global property "prefix"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
libkcups: 3 "Brother_MFC-9335CDW"
libkcups: 3
libkcups: 3
Error: cannot change the containment to AppletsLayout
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:66:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumHeight"
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
qml: SystemTray ItemLoader: Invalid state, cannot determine source!
qml: SystemTray ItemLoader: Invalid state, cannot determine source!
qml: SystemTray ItemLoader: Invalid state, cannot determine source!
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
trying to show an empty dialog
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/LeaveButtons.qml:69:5: QML ToolButton: Binding loop detected for property "display"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:26:1: QML Panel: Binding loop detected for property "state"
kscreen.kwayland: Loading Wayland backend.
kf5idletime_kwayland: This plugin does not support polling idle time
file:///usr/lib/qt/qml/org/kde/plasma/components/ModelContextMenu.qml:38:1: QML ModelContextMenu: Accessible must be attached to an Item
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:120: TypeError: Cannot call method 'destroy' of null
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PrinterItem.qml:35:5: Unable to assign [undefined] to bool
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:93:17: Unable to assign [undefined] to QString
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_05_00.6.analog-stereo.monitor"
ktp-models: Built with kpeople support, using kpeople model
ktp-people: Account manager ready
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:146: ReferenceError: jobProgressItem is not defined
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:145:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:233: TypeError: Cannot read property 'visible' of null
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:233: TypeError: Cannot read property 'visible' of null
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:233: TypeError: Cannot read property 'visible' of null
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)

###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

kf.i18n: "1 instead of 2 arguments to message {by %1 (paused, %2)} supplied before conversion."
kf.i18n: "0 instead of 1 arguments to message {Paused (%1)} supplied before conversion."
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:233: TypeError: Cannot read property 'visible' of null
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:233: TypeError: Cannot read property 'visible' of null
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5588df0e7110)
error creating screencast "Failed to create PipeWire stream"
error creating screencast "Failed to create PipeWire stream"
error creating screencast "Failed to create PipeWire stream"
wl_display@1: error 1: invalid arguments for zwp_linux_buffer_params_v1@558.add
The Wayland connection experienced a fatal error: Invalid argument


EXPECTED RESULT
Plasmashell should never crash, and moving my cursor over to the edge of the screen should correctly show the dock.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
I never had this issue with 5.21
Comment 1 David Redondo 2021-06-10 08:33:15 UTC
We need a backtrace so we can act effectively on crashes
Comment 2 Lewis Lakerink 2021-06-10 09:29:15 UTC
Is there a stack trace that's usable if the process doesn't actually segfault, but terminates itself? Do you need a wayland debug trace?
Comment 3 David Redondo 2021-06-10 09:41:08 UTC
Oh sorry, I just read crash, yeah I think a wayland trace would be useful
Comment 4 Lewis Lakerink 2021-06-16 00:57:07 UTC
Created attachment 139357 [details]
WAYLAND_DEBUG=1 Plasma shell crash with same error

It looks like both crashes have been caused by pipewire streams failing perhaps? Which is unusual, since plasmashell works fine, often for hours - including the thumbnails of applications in the launcher.
Comment 5 Lewis Lakerink 2021-06-16 05:29:55 UTC
Created attachment 139362 [details]
WAYLAND_DEBUG=1 plasmashell - same error without screenshare troubles

I had a crash with the same wayland error - but this time without any problem referencing screensharing.
Comment 6 David Redondo 2021-06-16 06:57:47 UTC
I do not immidately have an idea, from the log before the crash

[1046822.980]  -> zwp_linux_dmabuf_v1@25.create_params(new id zwp_linux_buffer_params_v1@56)
[1046823.082]  -> zwp_linux_buffer_params_v1@56.add(fd 55, 0, 0, 512, 33554436, 1079097857)
[1046823.174]  -> zwp_linux_buffer_params_v1@56.add(fd 56, 1, 917504, 512, 33554436, 1079097857)
[1046823.247]  -> zwp_linux_buffer_params_v1@56.create_immed(new id wl_buffer@253, 120, 1728, 875713089, 0)


and then later

[1050257.152]  -> zwp_linux_dmabuf_v1@25.create_params(new id zwp_linux_buffer_params_v1@251)
[1050257.302]  -> zwp_linux_buffer_params_v1@251.add(fd 73, 0, 0, 512, 33554436, 1079097857)
[1050257.466]  -> zwp_linux_buffer_params_v1@251.add(fd 74, 1, 917504, 512, 33554436, 1079097857)
[1050257.634]  -> zwp_linux_buffer_params_v1@251.create_immed(new id wl_buffer@267, 120, 1728, 875713089, 0)

looks to be using the same arguments but is wrong
Comment 7 Lewis Lakerink 2021-09-24 00:53:31 UTC
Likely related to https://bugs.kde.org/show_bug.cgi?id=438097
Comment 8 Lewis Lakerink 2021-09-27 20:16:50 UTC
I believe this is now fixed as a duplicate of 438097

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