Bug 437302

Summary: Plasma crashses after adding "Application Menu" as titlebar button to titlebar
Product: [Applications] systemsettings Reporter: Kiril Vladimirov <kiril>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.21.90   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kiril Vladimirov 2021-05-18 12:32:10 UTC
Application: systemsettings5 (5.21.90)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.11.12-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.90
Distribution: "Fedora release 35 (Rawhide)"

-- Information about the crash:
- What I was doing when the application crashed:

1. Open System Settings -> Appearance -> Window decorations -> Titlebar Buttons
2. Drag "Application menu" to the titlebar
3. Click "Apply"

Plasma crashes, even though the button is added and functional afterwards.

The crash can be reproduced every time.

-- Backtrace:
Application: Системни настройки (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f58f9939940 (LWP 12229))]
[KCrash Handler]
#6  0x00007f58fc365ec4 in QWaylandClientExtensionPrivate::handleRegistryGlobal (data=0x5598ae860c70, registry=0x5598ac671430, id=47, interface=..., version=1) at global/qwaylandclientextension.cpp:67
#7  0x00007f58fc3523d9 in QtWaylandClient::QWaylandDisplay::registry_global (this=<optimized out>, id=<optimized out>, interface=..., version=<optimized out>) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwaylanddisplay.cpp:397
#8  0x00007f58fc36e753 in QtWayland::wl_registry::handle_global (data=0x5598ac66d120, object=<optimized out>, name=47, interface=0x5598aed0b4d0 "org_kde_kwin_blur_manager", version=1) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwayland-wayland.cpp:94
#9  0x00007f58f9cffc04 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#10 0x00007f58f9cff107 in ffi_call (cif=cif@entry=0x7ffe26329790, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x0, avalue=avalue@entry=0x7ffe26329860) at ../src/x86/ffi64.c:525
#11 0x00007f58fc2bfd10 in wl_closure_invoke (closure=closure@entry=0x5598aed0b3f0, target=<optimized out>, target@entry=0x5598ac671430, opcode=opcode@entry=0, data=<optimized out>, flags=<optimized out>) at ../src/connection.c:1018
#12 0x00007f58fc2c042b in dispatch_event (display=display@entry=0x5598ac6712e0, queue=<optimized out>, queue=<optimized out>) at ../src/wayland-client.c:1452
#13 0x00007f58fc2c061c in dispatch_queue (queue=0x5598ac6713b0, display=0x5598ac6712e0) at ../src/wayland-client.c:1598
#14 wl_display_dispatch_queue_pending (display=0x5598ac6712e0, queue=0x5598ac6713b0) at ../src/wayland-client.c:1840
#15 0x00007f58fc34a7a3 in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x5598ac66d110) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwaylanddisplay.cpp:222
#16 0x00007f58fe941ce0 in doActivate<false> (sender=0x5598ac66fa50, signal_index=3, argv=0x7ffe26329b30) at kernel/qobject.cpp:3898
#17 0x00007f58fe93cc27 in QMetaObject::activate (sender=sender@entry=0x5598ac66fa50, m=m@entry=0x7f58febe1440 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe26329b30) at kernel/qobject.cpp:3946
#18 0x00007f58fe94443a in QSocketNotifier::activated (this=this@entry=0x5598ac66fa50, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#19 0x00007f58fe944c53 in QSocketNotifier::event (this=0x5598ac66fa50, e=0x7ffe26329c30) at kernel/qsocketnotifier.cpp:302
#20 0x00007f58ff4d9423 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5598ac66fa50, e=0x7ffe26329c30) at kernel/qapplication.cpp:3632
#21 0x00007f58fe90e098 in QCoreApplication::notifyInternal2 (receiver=0x5598ac66fa50, event=0x7ffe26329c30) at kernel/qcoreapplication.cpp:1063
#22 0x00007f58fe96011f in socketNotifierSourceDispatch (source=0x5598ac6a11b0) at kernel/qeventdispatcher_glib.cpp:107
#23 0x00007f58fc5f84cf in g_main_dispatch (context=0x5598ac6daf20) at ../glib/gmain.c:3337
#24 g_main_context_dispatch (context=0x5598ac6daf20) at ../glib/gmain.c:4055
#25 0x00007f58fc64c4e8 in g_main_context_iterate.constprop.0 (context=context@entry=0x5598ac6daf20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#26 0x00007f58fc5f5c03 in g_main_context_iteration (context=0x5598ac6daf20, may_block=1) at ../glib/gmain.c:4196
#27 0x00007f58fe95f698 in QEventDispatcherGlib::processEvents (this=0x5598ac6f0810, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f58fe90cab2 in QEventLoop::exec (this=this@entry=0x7ffe26329ea0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f58fe914fe4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00005598ac60c58c in main (argc=<optimized out>, argv=0x7ffe26329fc0) at /usr/src/debug/plasma-systemsettings-5.21.90-1.fc35.x86_64/app/main.cpp:208
[Inferior 1 (process 12229) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2021-05-19 02:29:35 UTC

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