Created attachment 146063 [details] kcrash file Application: plasmashell (5.22.5) Qt Version: 5.15.2 Frameworks Version: 5.86.0 Operating System: Linux 5.13.0-28-generic x86_64 Windowing System: X11 Drkonqi Version: 5.22.5 Distribution: Ubuntu 21.10 -- Information about the crash: - What I was doing when the application crashed: I was chatting with a friend on Signal, nothing else in particular was happening. Plasmashell just crashed for seemingly no reason. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Plasma (plasmashell), signal: Segmentation fault [KCrash Handler] #4 QScopedValueRollback<QQmlObjectCreator*>::QScopedValueRollback (value=0x55b262f4da20, var=<error reading variable>, this=<synthetic pointer>) at /usr/include/c++/11/bits/move.h:104 #5 QQmlObjectCreator::finalize (this=0x55b262f4da20, interrupt=...) at qml/qqmlobjectcreator.cpp:1383 #6 0x00007f592195d1ec in QQmlComponentPrivate::complete (state=0x55b255a233d0, enginePriv=0x55b24a4e16d0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116 #7 QQmlComponentPrivate::complete (enginePriv=0x55b24a4e16d0, state=0x55b255a233d0) at qml/qqmlcomponent.cpp:983 #8 0x00007f592195d2af in QQmlComponentPrivate::completeDeferred (enginePriv=0x55b24a4e16d0, deferredState=deferredState@entry=0x55b24c58dd80) at qml/qqmlcomponent.cpp:980 #9 0x00007f591aa28fae in QtQuickPrivate::completeDeferred (object=0x55b253a50050, property=...) at ./src/quicktemplates2/qquickdeferredexecute.cpp:152 #10 0x00007f591aa39f2f in quickCompleteDeferred<QQuickItem> (delegate=..., property=..., object=0x55b253a50050) at ./src/quicktemplates2/qquickdeferredexecute_p_p.h:84 #11 QQuickLabelPrivate::executeBackground (this=this@entry=0x55b26abce4f0, complete=complete@entry=true) at ./src/quicktemplates2/qquicklabel.cpp:304 #12 0x00007f591aa3b1df in QQuickLabel::componentComplete (this=0x55b253a50050) at ./src/quicktemplates2/qquicklabel.cpp:618 #13 0x00007f59219ce122 in QQmlObjectCreator::finalize (this=0x55b26b82c4f0, interrupt=...) at qml/qqmlobjectcreator.cpp:1414 #14 0x00007f5921963765 in QQmlIncubatorPrivate::incubate (this=0x55b26ba38280, i=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116 #15 0x00007f5921963d5d in QQmlEnginePrivate::incubate (this=0x55b24a4e16d0, i=..., forContext=<optimized out>) at qml/qqmlincubator.cpp:89 #16 0x00007f591f327b8c in QQmlDelegateModelPrivate::object (this=0x55b24c432450, group=QQmlListCompositor::Default, index=5, incubationMode=<optimized out>) at ./src/qmlmodels/qqmldelegatemodel.cpp:1299 #17 0x00007f5921f20846 in QQuickItemViewPrivate::createItem (this=this@entry=0x55b24e5cb400, modelIndex=modelIndex@entry=5, incubationMode=incubationMode@entry=QQmlIncubator::Synchronous) at items/qquickitemview.cpp:2349 #18 0x00007f5921f31f60 in QQuickListViewPrivate::applyInsertionChange (this=0x55b24e5cb400, change=..., insertResult=0x7ffc8e5759b0, addedItems=<optimized out>, movingIntoView=<optimized out>) at items/qquicklistview.cpp:3630 #19 0x00007f5921f2236d in QQuickItemViewPrivate::applyModelChanges (this=this@entry=0x55b24e5cb400, totalInsertionResult=totalInsertionResult@entry=0x7ffc8e575a90, totalRemovalResult=totalRemovalResult@entry=0x7ffc8e575ac0) at items/qquickitemview.cpp:2061 #20 0x00007f5921f22c6a in QQuickItemViewPrivate::layout (this=0x55b24e5cb400) at items/qquickitemview.cpp:1895 #21 0x00007f5921e717ad in QQuickWindowPrivate::polishItems (this=0x55b24afb1730) at items/qquickwindow.cpp:393 #22 0x00007f5921e10ea5 in QSGThreadedRenderLoop::polishAndSync (this=0x7f591400e7e0, w=0x55b24cbc0160, inExpose=<optimized out>) at scenegraph/qsgthreadedrenderloop.cpp:1577 #23 0x00007f5921e7eeef in QQuickWindow::event (this=0x55b24a8ceea0, e=0x7ffc8e575e30) at items/qquickwindow.cpp:1858 #24 0x00007f59211096b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b24a8ceea0, e=0x7ffc8e575e30) at kernel/qapplication.cpp:3632 #25 0x00007f592042116a in QCoreApplication::notifyInternal2 (receiver=0x55b24a8ceea0, event=0x7ffc8e575e30) at kernel/qcoreapplication.cpp:1063 #26 0x00007f59207f50d4 in QPlatformWindow::deliverUpdateRequest (this=<optimized out>) at kernel/qplatformwindow.cpp:789 #27 QPlatformWindow::windowEvent (this=<optimized out>, event=<optimized out>) at kernel/qplatformwindow.cpp:476 #28 0x00007f59211108ca in QApplication::notify (this=0x7ffc8e576450, receiver=0x55b24a8ceea0, e=0x7ffc8e5760c0) at kernel/qapplication.cpp:2874 #29 0x00007f592042116a in QCoreApplication::notifyInternal2 (receiver=0x55b24a8ceea0, event=0x7ffc8e5760c0) at kernel/qcoreapplication.cpp:1063 #30 0x00007f592047986b in QTimerInfoList::activateTimers (this=0x55b24a00ae80) at kernel/qtimerinfo_unix.cpp:643 #31 0x00007f592047a17c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183 #32 0x00007f591e85c8bb in g_main_dispatch (context=0x7f5914005000) at ../../../glib/gmain.c:3337 #33 g_main_context_dispatch (context=0x7f5914005000) at ../../../glib/gmain.c:4055 #34 0x00007f591e8aff08 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f5914005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4131 #35 0x00007f591e85a003 in g_main_context_iteration (context=0x7f5914005000, may_block=1) at ../../../glib/gmain.c:4196 #36 0x00007f592047a548 in QEventDispatcherGlib::processEvents (this=0x55b24a00aed0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #37 0x00007f592041fa9b in QEventLoop::exec (this=this@entry=0x7ffc8e576300, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #38 0x00007f5920428024 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #39 0x00007f59207f9d10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #40 0x00007f5921109629 in QApplication::exec () at kernel/qapplication.cpp:2824 #41 0x000055b248e8be0c in main (argc=<optimized out>, argv=0x7ffc8e576470) at ./shell/main.cpp:254 [Inferior 1 (process 2120) detached] Possible duplicates by query: bug 445493, bug 445479, bug 444196, bug 444053, bug 443923. Report to https://bugs.kde.org/
I also just observed a sudden random crash of plasmashell for no apparent reason (well, no crash can happen for a legitimate reason, so any crash is always "for no apparent reason", but I mean nothing special was going on that would suggest you could expect such a thing to happen). I was just typing in PHPStorm and I moved the mouse down to reach for the task manager at the bottom. I'm not sure if that was what triggered it or if was a coincidence, but the task manager disappeared (it actually slided down gracefully as if it was "hiding" for a reason, although it never does that under normal circumstances). Then I manually minimized all windows (as the shourtcut wouldn't work) to reveal the desktop, which was black as I suspected. Another thing that I think is outrageous is that plasmashell is not automatically relaunched when it ever dies. How do I get a backtrace like the one in the original report?
Please file a new bug report as it's not likely that this one is about the exact same thing as what you're experiencing. To get a backtrace for a crash in the past, you can use `coredumpctl`; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
> Please file a new bug report as it's not likely that this one is about the exact same thing The one time that I do search for similar bugs and find one that actually seems to describe the same issue 🤦
> To get a backtrace for a crash in the past, you can use `coredumpctl`; see There's nothing there from plasmashell unfortunately.
Yeah, the thing about crashes is that the only way to know that two are the same thing is by looking at their backtraces; you can't know this just but looking at the symptoms of the crash. Thanks anyway though!
(In reply to php4fan from comment #4) > > To get a backtrace for a crash in the past, you can use `coredumpctl`; see > > There's nothing there from plasmashell unfortunately. Then plasmashell didn't crash, and your issue is *definitely* not the same thing. :)
*** This bug has been marked as a duplicate of bug 447717 ***