Bug 441234 - [Wayland] Moving panel objects causes Plasma to crash in QGuiApplicationPrivate::createPlatformIntegration()
Summary: [Wayland] Moving panel objects causes Plasma to crash in QGuiApplicationPriva...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.22.4
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-08-20 12:58 UTC by Germano Massullo
Modified: 2022-02-15 21:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2021-08-20 12:58:18 UTC
It happens very often that when (in edit mode) I move objects that are inside the Plasma panel, Plasma will crash

Plasma 5.22.4 - Wayland session
KDE Frameworks 5.83.0
Qt 5.15.2
Fedora 34
Comment 1 Germano Massullo 2021-08-20 13:52:15 UTC
I have forgotten to say that the screen is a multiscreen configuration


$ qdbus org.kde.KWin /KWin supportInformation

==========================

Version
=======
KWin version: 5.22.4
Qt Version: 5.15.2
Qt compile version: 5.15.2
XCB compile version: 1.13.1

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_EGL_STREAMS: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101002
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: DRM
Active: true
Atomic Mode Setting on GPU 0: true
Using EGL Streams: false

Cursor
======
themeName: Breeze_Snow
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  yes
Number of Screens: 2

Screen 0:
---------
Name: DP-2
Geometry: 0,0,1440x2560
Scale: 1
Refresh Rate: 59.951
Adaptive Sync: incapable
Screen 1:
---------
Name: HDMI-A-3
Geometry: 1440,1120,2560x1440
Scale: 1
Refresh Rate: 59.951
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.7
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Coffee Lake
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 21.1.7
Linux kernel version: 5.13.10
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
kwin4_effect_sessionquit
screenshot
desktopgrid
kwin4_effect_translucency
colorpicker
kwin4_effect_frozenapp
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
startupfeedback
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

screenshot:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_translucency:
pluginId: kwin4_effect_translucency
isActiveFullScreenEffect: false

colorpicker:

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: true
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

kscreen:


Loaded Plugins:
---------------
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast

Available Plugins:
------------------
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast
Comment 2 Nate Graham 2021-08-20 14:53:24 UTC
We need a backtrace of the crash to debug. Can you attach one? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
Comment 3 Germano Massullo 2021-08-20 15:32:32 UTC
# coredumpctl list
TIME                           PID  UID  GID SIG     COREFILE EXE                                    SIZE
Mon 2021-08-09 15:47:40 CEST  3065    0    0 SIGABRT missing  /usr/libexec/drkonqi                    n/a
Mon 2021-08-09 16:09:11 CEST  3288 1000 1000 SIGSEGV missing  /usr/bin/kwin_wayland                   n/a
Mon 2021-08-09 16:09:23 CEST 35999 1000 1000 SIGABRT missing  /usr/libexec/org_kde_powerdevil         n/a
Mon 2021-08-09 16:09:23 CEST 35997 1000 1000 SIGABRT missing  /usr/bin/plasmashell                    n/a
Mon 2021-08-09 16:09:23 CEST 36054 1000 1000 SIGABRT missing  /usr/libexec/org_kde_powerdevil         n/a
Mon 2021-08-09 16:09:23 CEST 36051 1000 1000 SIGABRT missing  /usr/bin/plasmashell                    n/a
Mon 2021-08-09 16:09:23 CEST 36114 1000 1000 SIGABRT missing  /usr/libexec/org_kde_powerdevil         n/a
Mon 2021-08-09 16:09:23 CEST 36131 1000 1000 SIGABRT missing  /usr/bin/plasmashell                    n/a
Mon 2021-08-09 16:09:23 CEST 36182 1000 1000 SIGABRT missing  /usr/libexec/org_kde_powerdevil         n/a
Mon 2021-08-09 16:09:24 CEST 36213 1000 1000 SIGABRT missing  /usr/bin/plasmashell                    n/a
Mon 2021-08-09 16:09:24 CEST 36230 1000 1000 SIGABRT missing  /usr/libexec/org_kde_powerdevil         n/a
Mon 2021-08-09 16:09:24 CEST 36252 1000 1000 SIGABRT missing  /usr/bin/plasmashell                    n/a
Mon 2021-08-09 16:09:30 CEST 36637 1000 1000 SIGABRT missing  /usr/libexec/xdg-desktop-portal-kde     n/a
Fri 2021-08-20 12:47:18 CEST 71678 1000 1000 SIGABRT present  /usr/libexec/xdg-desktop-portal-kde 1013.0K
Fri 2021-08-20 12:47:48 CEST 71688 1000 1000 SIGABRT present  /usr/libexec/xdg-desktop-portal-kde 1013.1K
Fri 2021-08-20 12:48:18 CEST 71700 1000 1000 SIGABRT present  /usr/libexec/xdg-desktop-portal-kde 1012.3K
Fri 2021-08-20 12:48:48 CEST 71711 1000 1000 SIGABRT present  /usr/libexec/xdg-desktop-portal-kde 1013.0K



# coredumpctl gdb 71711
           PID: 71711 (xdg-desktop-por)
           UID: 1000 (germano)
           GID: 1000 (germano)
        Signal: 6 (ABRT)
     Timestamp: Fri 2021-08-20 12:48:48 CEST (4h 40min ago)
  Command Line: /usr/libexec/xdg-desktop-portal-kde
    Executable: /usr/libexec/xdg-desktop-portal-kde
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-dbus\x2d:1.2\x2dorg.freedesktop.impl.portal.desktop.kde.slice/dbus-:1.2-org.freedesktop.impl.portal.desktop.kde@4.service
          Unit: user@1000.service
     User Unit: dbus-:1.2-org.freedesktop.impl.portal.desktop.kde@4.service
         Slice: user-1000.slice
     Owner UID: 1000 (germano)
      Hostname: gm-desktop
       Storage: /var/lib/systemd/coredump/core.xdg-desktop-por.1000.79716ee773eb464bb9410aabec4e03dd.71711.1629456528000000.zst (present)
     Disk Size: 1013.0K
       Message: Process 71711 (xdg-desktop-por) of user 1000 dumped core.
                
                Stack trace of thread 71711:
                #0  0x00007fda176802a2 raise (libc.so.6 + 0x3d2a2)
                #1  0x00007fda176698a4 abort (libc.so.6 + 0x268a4)
                #2  0x00007fda17ae246b _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xb146b)
                #3  0x00007fda188ff43c _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x16343c)
                #4  0x00007fda188ff8c8 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1638c8)
                #5  0x00007fda17cddd53 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2acd53)
                #6  0x00007fda18901ca0 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x165ca0)
                #7  0x00007fda194f59dd _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x1b39dd)
                #8  0x000055bff2da6851 main (xdg-desktop-portal-kde + 0x26851)
                #9  0x00007fda1766ab75 __libc_start_main (libc.so.6 + 0x27b75)
                #10 0x000055bff2da796e _start (xdg-desktop-portal-kde + 0x2796e)

GNU gdb (GDB) Fedora 10.2-3.fc34
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/libexec/xdg-desktop-portal-kde...
Reading symbols from /usr/lib/debug/usr/libexec/xdg-desktop-portal-kde-5.22.4-1.fc34.x86_64.debug...
[New LWP 71711]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/xdg-desktop-portal-kde'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49        return ret;
(gdb) bt all
No symbol "all" in current context.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007fda176698a4 in __GI_abort () at abort.c:79
#2  0x00007fda17ae246b in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#3  QMessageLogger::fatal (this=this@entry=0x7fff27b95910, msg=msg@entry=0x7fda18cf7d25 "%s") at global/qlogging.cpp:893
#4  0x00007fda188ff43c in init_platform (argv=<optimized out>, argc=@0x7fff27b95b4c: 1, platformThemeName=..., platformPluginPath=..., 
    pluginNamesWithArguments=...) at kernel/qguiapplication.cpp:1254
#5  QGuiApplicationPrivate::createPlatformIntegration (this=0x55bff318dad0) at kernel/qguiapplication.cpp:1474
#6  0x00007fda188ff8c8 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at kernel/qguiapplication.cpp:1491
#7  0x00007fda17cddd53 in QCoreApplicationPrivate::init (this=this@entry=0x55bff318dad0) at kernel/qcoreapplication.cpp:834
#8  0x00007fda18901ca0 in QGuiApplicationPrivate::init (this=this@entry=0x55bff318dad0) at kernel/qguiapplication.cpp:1520
#9  0x00007fda194f59dd in QApplicationPrivate::init (this=0x55bff318dad0) at kernel/qapplication.cpp:513
#10 0x000055bff2da6851 in main (argc=<optimized out>, argv=0x7fff27b95ce8)
    at /usr/src/debug/xdg-desktop-portal-kde-5.22.4-1.fc34.x86_64/src/xdg-desktop-portal-kde.cpp:21
quit)
Comment 4 Nate Graham 2021-08-20 15:59:18 UTC
Thanks. Cannot reproduce with current git master.
Comment 5 Nate Graham 2022-01-12 16:12:16 UTC
Oops, looks like that backtrace is from xdg-desktop-portal which would be unrelated Can you get one from plasma?
Comment 6 Bug Janitor Service 2022-01-27 04:37:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2022-02-11 04:37:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!