Bug 443059 - Crash in KProcessList::getProcessInfo
Summary: Crash in KProcessList::getProcessInfo
Status: RESOLVED DUPLICATE of bug 431334
Alias: None
Product: plasmashell
Classification: Unclassified
Component: generic-crash (show other bugs)
Version: 5.18.7
Platform: openSUSE RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-28 08:13 UTC by Marius
Modified: 2021-10-04 08:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash report generated after the event (11.96 KB, text/plain)
2021-09-28 08:13 UTC, Marius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius 2021-09-28 08:13:24 UTC
Created attachment 141981 [details]
Crash report generated after the event

SUMMARY
I was shutting down a VM machine in VMware and Plasma5 just crashed. It recovered after 10 seconds but I got the KDE crash icon in the taskbar.

STEPS TO REPRODUCE
I have not reproduced it yet.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.3.18-59.24-default x86_64 / OpenSUSE Leap 15.3
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-28 20:14:22 UTC
[KCrash Handler]
#4  std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x660066006f0053) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load() const (this=0x660066006f0053) at /usr/include/qt5/QtCore/qbasicatomic.h:103
#7  QtPrivate::RefCount::ref() (this=0x660066006f0053) at /usr/include/qt5/QtCore/qrefcount.h:55
#8  QString::QString(QString const&) (other=..., this=0x7fff9f40b9d0) at /usr/include/qt5/QtCore/qstring.h:958
#9  (anonymous namespace)::getProcessInfo(QString const&, KProcessList::KProcessInfo&) (procId=..., processInfo=...) at /usr/src/debug/kcoreaddons-5.76.0-bp153.2.2.1.x86_64/src/lib/util/kprocesslist_unix.cpp:91
#10 0x00007f5121ab5a81 in KProcessList::processInfo(long long) (pid=pid@entry=6058) at /usr/src/debug/kcoreaddons-5.76.0-bp153.2.2.1.x86_64/src/lib/util/kprocesslist_unix.cpp:150
#11 0x00007f51065721e8 in TaskManager::servicesFromPid(unsigned int, QExplicitlySharedDataPointer<KSharedConfig>) (pid=pid@entry=6058, rulesConfig=...) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/tasktools.cpp:531
#12 0x00007f5106572db4 in TaskManager::windowUrlFromMetadata(QString const&, unsigned int, QExplicitlySharedDataPointer<KSharedConfig>, QString const&) (appId=..., pid=pid@entry=6058, rulesConfig=..., xWindowsWMClassName=...) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/tasktools.cpp:433
#13 0x00007f51065815b0 in TaskManager::XWindowTasksModel::Private::windowUrl(unsigned long long) (this=this@entry=0x559ff971f210, window=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowtasksmodel.cpp:531
#14 0x00007f5106581b2b in TaskManager::XWindowTasksModel::Private::appData(unsigned long long) (this=0x559ff971f210, window=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowtasksmodel.cpp:447
#15 0x00007f5106586005 in TaskManager::XWindowTasksModel::data(QModelIndex const&, int) const (this=0x559ff9713460, index=<optimized out>, role=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowtasksmodel.cpp:682
#16 0x00007f5120013028 in QAbstractProxyModel::data(QModelIndex const&, int) const (this=<optimized out>, proxyIndex=<optimized out>, role=293) at itemmodels/qabstractproxymodel.cpp:245
#17 0x00007f5106558544 in QModelIndex::data(int) const (arole=293, this=0x7fff9f40c0c0) at /usr/include/qt5/QtCore/qabstractitemmodel.h:458
#18 TaskManager::TaskFilterProxyModel::acceptsRow(int) const (this=0x559ffb240e30, sourceRow=0) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/taskfilterproxymodel.cpp:251
#19 0x00007f5120021612 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1403
#20 0x00007f5120023d38 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:224
#21 0x00007f512007ceb5 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x559ff97132b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9f40c410) at kernel/qobject.cpp:3804
#22 0x00007f512007d5c7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x559ff97132b0, m=m@entry=0x7f51204fa520 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9f40c410) at kernel/qobject.cpp:3657
#23 0x00007f511fff44ec in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x559ff97132b0, _t1=..., _t2=..., _t3=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:556
#24 0x00007f5120016351 in QIdentityProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, topLeft=..., bottomRight=<optimized out>, roles=<optimized out>) at itemmodels/qidentityproxymodel.cpp:483
#25 0x00007f5120018028 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qidentityproxymodel.cpp:163
#26 0x00007f512007ceb5 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x559ff9713460, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9f40c630) at kernel/qobject.cpp:3804
#27 0x00007f512007d5c7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f51204fa520 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9f40c630) at kernel/qobject.cpp:3657
#28 0x00007f511fff44ec in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:556
#29 0x00007f5106580db6 in TaskManager::XWindowTasksModel::Private::dataChanged(unsigned long long, QVector<int> const&) (this=this@entry=0x559ff971f210, window=<optimized out>, roles=...) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowtasksmodel.cpp:422
#30 0x00007f5106583602 in TaskManager::XWindowTasksModel::Private::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) (this=0x559ff971f210, window=<optimized out>, properties=..., properties2=...) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowtasksmodel.cpp:409
#31 0x00007f512007cfcf in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff9f40c890, r=0x559ff9713460, this=0x559ffb23cf20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate(QObject*, int, int, void**) (sender=0x559ffb240610, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff9f40c890) at kernel/qobject.cpp:3784
#33 0x00007f512007d5c7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f510679cd60 <XWindowSystemEventBatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff9f40c890) at kernel/qobject.cpp:3657
#34 0x00007f510654646b in XWindowSystemEventBatcher::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) (this=<optimized out>, _t1=<optimized out>, _t2=..., _t3=...) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/build/libtaskmanager/taskmanager_autogen/EWIEGA46WW/moc_xwindowsystemeventbatcher.cpp:175
#35 0x00007f510657fbf1 in XWindowSystemEventBatcher::<lambda(WId, NET::Properties, NET::Properties2)>::operator() (properties2=..., properties=..., window=<optimized out>, __closure=0x559ffb23ce40) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/libtaskmanager/xwindowsystemeventbatcher.cpp:63
#36 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<long long unsigned int, QFlags<NET::Property>, QFlags<NET::Property2> >, void, XWindowSystemEventBatcher::XWindowSystemEventBatcher(QObject*)::<lambda(WId, NET::Properties, NET::Properties2)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#37 QtPrivate::Functor<XWindowSystemEventBatcher::XWindowSystemEventBatcher(QObject*)::<lambda(WId, NET::Properties, NET::Properties2)>, 3>::call<QtPrivate::List<unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2> >, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#38 QtPrivate::QFunctorSlotObject<XWindowSystemEventBatcher::XWindowSystemEventBatcher(QObject*)::<lambda(WId, NET::Properties, NET::Properties2)>, 3, QtPrivate::List<long long unsigned int, QFlags<NET::Property>, QFlags<NET::Property2> >, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x559ffb23ce30, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#39 0x00007f512007cfcf in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff9f40ca60, r=0x559ffb240610, this=0x559ffb23ce30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#40 QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x7f5122644c40 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff9f40ca60) at kernel/qobject.cpp:3784
#41 0x00007f512007d5c7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7f5122644c40 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7f5122643060 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff9f40ca60) at kernel/qobject.cpp:3657
#42 0x00007f512240aeeb in KWindowSystem::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) (this=this@entry=0x7f5122644c40 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, _t1=<optimized out>, _t1@entry=75497479, _t2=..., _t3=...) at /usr/src/debug/kwindowsystem-5.76.0-bp153.2.2.1.x86_64/build/src/KF5WindowSystem_autogen/EWIEGA46WW/moc_kwindowsystem.cpp:361
#43 0x00007f510cb40f26 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x559ff92b9870, ev=0x559ffce80460) at /usr/src/debug/kwindowsystem-5.76.0-bp153.2.2.1.x86_64/src/platforms/xcb/kwindowsystem.cpp:289
#44 0x00007f5120049caf in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x559ffce80460, result=result@entry=0x7fff9f40cb78) at kernel/qabstracteventdispatcher.cpp:484
#45 0x00007f5112d04f0c in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x559ff8ab7e80, event=event@entry=0x559ffce80460) at qxcbconnection.cpp:534
#46 0x00007f5112d05c85 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559ff8ab7e80, flags=flags@entry=...) at qxcbconnection.cpp:1027
#47 0x00007f5112d2c253 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:103
#48 0x00007f51198d6694 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f51198d6a30 in  () at /usr/lib64/libglib-2.0.so.0
#50 0x00007f51198d6abc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#51 0x00007f51200aa42f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559ff8b74230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007f512004b5fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff9f40ce50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#53 0x00007f5120054800 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1389
#54 0x0000559ff7756ad4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/shell/main.cpp:228
[Inferior 1 (process 2522) detached]
Comment 2 Harald Sitter 2021-10-04 08:49:16 UTC
Pretty sure that's fixed

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