Bug 438699

Summary: plasmashell segfault
Product: [Plasma] plasmashell Reporter: Stijn Tintel <stijn+bugs>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.21.5   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stijn Tintel 2021-06-15 22:33:28 UTC
Application: plasmashell (5.21.5)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.10.39-gentoo-x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
Crash occured right after logging into Plasma Wayland session via SDDM.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (LWP 3536)]
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f0b08330084 in QtWaylandClient::QWaylandSurface::surface_leave(wl_output*) (this=0x7ffca6759558, output=<optimized out>) at /var/tmp/portage/dev-qt/qtwayland-5.15.2-r1/work/qtwayland-everywhere-src-5.15.2/src/client/qwaylandsurface.cpp:116
#8  0x00007f0b08770bdd in ffi_call_unix64 () at /var/tmp/portage/dev-libs/libffi-3.3-r2/work/libffi-3.3/src/x86/unix64.S:101
#9  0x00007f0b08770169 in ffi_call_int (cif=0x7ffca6759720, fn=0x7f0b08345440 <QtWayland::wl_surface::handle_leave(void*, wl_surface*, wl_output*)>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at /var/tmp/portage/dev-libs/libffi-3.3-r2/work/libffi-3.3/src/x86/ffi64.c:669
#10 0x00007f0b09be40f2 in wl_closure_invoke (closure=0x55d44c76a6b0, flags=1, target=<optimized out>, opcode=1, data=<optimized out>) at ../wayland-1.19.0/src/connection.c:1018
#11 0x00007f0b09be097a in dispatch_event (display=display@entry=0x55d44581a6c0, queue=0x55d44581a790, queue=<optimized out>) at ../wayland-1.19.0/src/wayland-client.c:1452
#12 0x00007f0b09be1ffc in dispatch_queue (queue=0x55d44581a790, display=0x55d44581a6c0) at ../wayland-1.19.0/src/wayland-client.c:1598
#13 wl_display_dispatch_queue_pending (display=0x55d44581a6c0, queue=0x55d44581a790) at ../wayland-1.19.0/src/wayland-client.c:1840
#14 0x00007f0b09be204c in wl_display_dispatch_pending (display=<optimized out>) at ../wayland-1.19.0/src/wayland-client.c:1903
#15 0x00007f0b08324b03 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x55d44581a560) at /var/tmp/portage/dev-qt/qtwayland-5.15.2-r1/work/qtwayland-everywhere-src-5.15.2/src/client/qwaylanddisplay.cpp:221
#16 0x00007f0b0a2d825c in doActivate<false>(QObject*, int, void**) (sender=0x55d4458466a0, signal_index=3, argv=0x7ffca6759a60, argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3898
#17 0x00007f0b0a2d29c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55d4458466a0, m=m@entry=0x7f0b0a56a1c0 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3946
#18 0x00007f0b0a2a69b0 in QAbstractEventDispatcher::aboutToBlock() (this=this@entry=0x55d4458466a0) at .moc/moc_qabstracteventdispatcher.cpp:143
#19 0x00007f0b0a2f4b04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d4458466a0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:410
#20 0x00007f0b0a2a86d3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d44c796120, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69
#21 0x00007f0ae04fe0e8 in KScreen::WaylandBackend::WaylandBackend() (this=0x55d44c79f7e0) at /var/tmp/portage/kde-plasma/libkscreen-5.21.5/work/libkscreen-5.21.5/backends/kwayland/waylandbackend.cpp:37
#22 0x00007f0ae04fd39d in qt_plugin_instance() () at backends/kwayland/KSC_KWayland_autogen/EWIEGA46WW/moc_waylandbackend.cpp:114
#23 0x00007f0b0a2a24f4 in QLibraryPrivate::pluginInstance() (this=0x55d4495a13d0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/plugin/qlibrary.cpp:557
#24 0x00007f0b0a29af83 in QPluginLoader::instance() (this=this@entry=0x55d445b03290) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/plugin/qpluginloader.cpp:199
#25 0x00007f0ae13428ef in KScreen::BackendManager::loadBackendPlugin(QPluginLoader*, QString const&, QMap<QString, QVariant> const&) (loader=0x55d445b03290, name=..., arguments=...) at /var/tmp/portage/kde-plasma/libkscreen-5.21.5/work/libkscreen-5.21.5/src/backendmanager.cpp:189
#26 0x00007f0ae1343771 in KScreen::BackendManager::loadBackendInProcess(QString const&) (this=0x55d4499ff250, name=...) at /var/tmp/portage/kde-plasma/libkscreen-5.21.5/work/libkscreen-5.21.5/src/backendmanager.cpp:235
#27 0x00007f0ae134a6de in KScreen::ConfigOperationPrivate::loadBackend() (this=this@entry=0x55d449af1920) at /var/tmp/portage/kde-plasma/libkscreen-5.21.5/work/libkscreen-5.21.5/src/configoperation.cpp:135
#28 0x00007f0ae134b59f in KScreen::GetConfigOperation::start() (this=0x55d449af1900) at /var/tmp/portage/kde-plasma/libkscreen-5.21.5/work/libkscreen-5.21.5/src/getconfigoperation.cpp:168
#29 0x00007f0b0a2d0dea in QObject::event(QEvent*) (this=0x55d449af1900, e=0x55d449af1a60) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:1314
#30 0x00007f0b0aecb15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55d449af1900, e=0x55d449af1a60) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3632
#31 0x00007f0b0a2a9c28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d449af1900, event=0x55d449af1a60) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1063
#32 0x00007f0b0a2ac8aa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55d445808d00) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1817
#33 0x00007f0b0a2f5073 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d445845e10) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f0b087d274b in g_main_dispatch (context=0x55d44583cc70) at ../glib-2.68.2/glib/gmain.c:3337
#35 g_main_context_dispatch (context=0x55d44583cc70) at ../glib-2.68.2/glib/gmain.c:4055
#36 0x00007f0b087d29f8 in g_main_context_iterate (context=context@entry=0x55d44583cc70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.2/glib/gmain.c:4131
#37 0x00007f0b087d2aaf in g_main_context_iteration (context=0x55d44583cc70, may_block=may_block@entry=1) at ../glib-2.68.2/glib/gmain.c:4196
#38 0x00007f0b0a2f4b30 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d4458466a0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f0b0a2a86d3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffca675a230, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f0b0a2b0070 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00007f0b0a77878c in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.2-r1/work/qtbase-everywhere-src-5.15.2/src/gui/kernel/qguiapplication.cpp:1867
#42 0x00007f0b0aecb0d5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:2824
#43 0x000055d443fa07f3 in main(int, char**) (argc=<optimized out>, argv=0x7ffca675a390) at /var/tmp/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5/shell/main.cpp:251
[Inferior 1 (process 3536) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2021-06-16 16:54:58 UTC

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