Bug 433582 - Crash when searching process list
Summary: Crash when searching process list
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-02-25 12:17 UTC by Daniel Tang
Modified: 2023-12-21 12:27 UTC (History)
2 users (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 Daniel Tang 2021-02-25 12:17:17 UTC
Application: plasma-systemmonitor (5.21.1)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.10.13-surface x86_64
Windowing System: X11
Drkonqi Version: 5.21.1
Distribution: Ubuntu Hirsute Hippo (development branch)

-- Information about the crash:
- What I was doing when the application crashed: I was searching the process list for a process. System monitor crashed before I could fully enter the name

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f02ebf06831 in KDescendantsProxyModel::mapFromSource (this=0x55f0200733a0, sourceIndex=...) at ./src/core/kdescendantsproxymodel.cpp:607
#5  0x00007f02ebf07be7 in KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x55f0200735c0, parent=..., start=27, end=28) at ./src/core/kdescendantsproxymodel.cpp:910
#6  0x00007f02fe0a5b14 in doActivate<false> (sender=0x55f01fb76200, signal_index=14, argv=argv@entry=0x7fff786ab6b0) at kernel/qobject.cpp:3898
#7  0x00007f02fe09ec88 in QMetaObject::activate (sender=sender@entry=0x55f01fb76200, m=m@entry=0x7f02fe306640 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7fff786ab6b0) at kernel/qobject.cpp:3946
#8  0x00007f02fe007722 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x55f01fb76200, _t1=..., _t2=<optimized out>, _t2@entry=27, _t3=<optimized out>, _t3@entry=28, _t4=...) at .moc/moc_qabstractitemmodel.cpp:599
#9  0x00007f02fe00f7b6 in QAbstractItemModel::beginRemoveRows (this=0x55f01fb76200, parent=..., first=27, last=28) at itemmodels/qabstractitemmodel.cpp:2818
#10 0x00007f02fe041335 in QSortFilterProxyModelPrivate::remove_proxy_interval (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=28, proxy_start=27, proxy_to_source=..., source_to_proxy=..., this=0x55f020073830) at itemmodels/qsortfilterproxymodel.cpp:784
#11 QSortFilterProxyModelPrivate::remove_source_items (this=0x55f020073830, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:765
#12 0x00007f02fe04189c in QSortFilterProxyModelPrivate::handle_filter_changed (this=0x55f020073830, source_to_proxy=..., proxy_to_source=..., source_parent=..., orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1344
#13 0x00007f02fe041c8d in QSortFilterProxyModelPrivate::filter_changed (this=0x55f020073830, source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:1277
#14 0x00007f02fe041d3a in QSortFilterProxyModelPrivate::filter_changed (this=0x55f020073830, source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:1292
#15 0x00007f02fe04287a in QSortFilterProxyModel::setFilterWildcard (this=<optimized out>, pattern=...) at itemmodels/qsortfilterproxymodel.cpp:2817
#16 0x00007f02dc361966 in ProcessSortFilterModel::setFilterString (this=0x55f01fb76200, newFilterString=...) at ./src/table/ProcessSortFilterModel.cpp:114
#17 0x00007f02dc35847b in ProcessSortFilterModel::qt_metacall (this=0x55f01fb76200, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fff786abc10) at ./obj-x86_64-linux-gnu/src/table/TablePlugin_autogen/EWIEGA46WW/moc_ProcessSortFilterModel.cpp:233
#18 0x00007f02ff5c15c2 in QQmlVMEMetaObject::metaCall (this=0x55f0200732f0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=<optimized out>, a=0x7fff786abc10) at qml/qqmlvmemetaobject.cpp:954
#19 0x00007f02ff4fd5a2 in QV4::QObjectWrapper::setProperty (engine=0x55f01dedfa10, object=0x55f020046220, property=0x7f02e4634cf8, value=...) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:285
#20 0x00007f02ff4fdbf7 in QV4::QObjectWrapper::setQmlProperty (value=..., revisionMode=QV4::QObjectWrapper::IgnoreRevision, name=<optimized out>, object=0x55f020046220, qmlContext=<optimized out>, engine=0x55f01dedfa10) at jsruntime/qv4qobjectwrapper.cpp:435
#21 QV4::QObjectWrapper::setQmlProperty (engine=0x55f01dedfa10, qmlContext=<optimized out>, object=0x55f020046220, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:418
#22 0x00007f02ff4fdd95 in QV4::QObjectWrapper::virtualPut (m=0x7f02f11a4570, id=..., value=..., receiver=0x7f02f11a4570) at jsruntime/qv4qobjectwrapper.cpp:722
#23 0x00007f02ff48e307 in QV4::Object::put (receiver=0x7f02f11a4570, v=..., name=0x7f02f11a4578, this=0x7f02f11a4570) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:167
#24 QV4::Lookup::setterFallback (l=<optimized out>, engine=0x55f01dedfa10, object=..., value=...) at jsruntime/qv4lookup.cpp:497
#25 0x00007f02ff516cd8 in QV4::Moth::VME::interpret (frame=0x7fff786abf30, engine=0x55f01dedfa10, code=0x7f02cc152751 "\016\002") at jsruntime/qv4vme_moth.cpp:653
#26 0x00007f02ff51ac17 in QV4::Moth::VME::exec (frame=frame@entry=0x7fff786abf30, engine=engine@entry=0x55f01dedfa10) at jsruntime/qv4vme_moth.cpp:463
#27 0x00007f02ff4b524d in QV4::Function::call (this=this@entry=0x55f02001b540, thisObject=<optimized out>, argv=argv@entry=0x7f02f11a4500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#28 0x00007f02ff6300c5 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55f02048c9b0, callData=callData@entry=0x7f02f11a44d0, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:212
#29 0x00007f02ff5e35eb in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#30 0x00007f02ff5e3ad0 in QQmlBoundSignal_callback (e=0x55f02048b720, a=0x0) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#31 0x00007f02ff613b8d in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at qml/qqmlnotifier.cpp:104
#32 0x00007f02fe0a5675 in doActivate<false> (sender=0x55f02047e7a0, signal_index=39, argv=argv@entry=0x0) at kernel/qobject.cpp:3778
#33 0x00007f02fe09ec88 in QMetaObject::activate (sender=sender@entry=0x55f02047e7a0, m=m@entry=0x7f02f3fe15e0 <QQuickTextInput::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#34 0x00007f02f3d3ac87 in QQuickTextInput::textEdited (this=this@entry=0x55f02047e7a0) at .moc/moc_qquicktextinput_p.cpp:1373
#35 0x00007f02f3d435b8 in QQuickTextInputPrivate::finishChange (this=0x55f0200400b0, validateFromState=<optimized out>, update=<optimized out>, edited=<optimized out>) at items/qquicktextinput.cpp:3607
#36 0x00007f02f3d47357 in QQuickTextInputPrivate::processKeyEvent (this=this@entry=0x55f0200400b0, event=event@entry=0x7fff786adef0) at items/qquicktextinput.cpp:4582
#37 0x00007f02f3d473ee in QQuickTextInput::keyPressEvent (this=0x55f02047e7a0, ev=0x7fff786adef0) at items/qquicktextinput.cpp:1516
#38 0x00007f02f3d0291b in QQuickItemPrivate::deliverKeyEvent (this=this@entry=0x55f0200400b0, e=0x7fff786adef0) at items/qquickitem.cpp:5183
#39 0x00007f02f3d02b78 in QQuickItem::event (this=0x55f02047e7a0, ev=0x7fff786adef0) at items/qquickitem.cpp:8150
#40 0x00007f02febd7173 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f02047e7a0, e=0x7fff786adef0) at kernel/qapplication.cpp:3632
#41 0x00007f02fe06e1fa in QCoreApplication::notifyInternal2 (receiver=0x55f02047e7a0, event=0x7fff786adef0) at kernel/qcoreapplication.cpp:1063
#42 0x00007f02f3d10957 in QQuickWindowPrivate::deliverKeyEvent (this=0x55f0203fc978, e=0x7fff786adef0) at items/qquickwindow.cpp:1935
#43 0x00007f02fe4e9c65 in QWindow::event (this=0x55f01e3ba420, ev=<optimized out>) at kernel/qwindow.cpp:2438
#44 0x00007f02febd7173 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f01e3ba420, e=0x7fff786adef0) at kernel/qapplication.cpp:3632
#45 0x00007f02fe06e1fa in QCoreApplication::notifyInternal2 (receiver=0x55f01e3ba420, event=0x7fff786adef0) at kernel/qcoreapplication.cpp:1063
#46 0x00007f02fe4d972a in QGuiApplicationPrivate::processKeyEvent (e=0x7fff786adfe0) at kernel/qguiapplication.cpp:2414
#47 0x00007f02f97c272c in QIBusPlatformInputContext::filterEventFinished (this=<optimized out>, call=0x55f0202af0a0) at qibusplatforminputcontext.cpp:517
#48 0x00007f02fe0a5ade in QtPrivate::QSlotObjectBase::call (a=0x7fff786ae180, r=0x55f01de4b070, this=0x55f01de13a30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#49 doActivate<false> (sender=0x55f0202af0a0, signal_index=3, argv=argv@entry=0x7fff786ae180) at kernel/qobject.cpp:3886
#50 0x00007f02fe09ec88 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f02fe3965e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff786ae180) at kernel/qobject.cpp:3946
#51 0x00007f02fe3766f3 in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#52 0x00007f02fe09b271 in QObject::event (this=0x55f0202af0a0, e=0x55f0210605c0) at kernel/qobject.cpp:1314
#53 0x00007f02febd7173 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f0202af0a0, e=0x55f0210605c0) at kernel/qapplication.cpp:3632
#54 0x00007f02fe06e1fa in QCoreApplication::notifyInternal2 (receiver=0x55f0202af0a0, event=0x55f0210605c0) at kernel/qcoreapplication.cpp:1063
#55 0x00007f02fe070cd1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55f01dd334b0) at kernel/qcoreapplication.cpp:1817
#56 0x00007f02fe0c7f07 in postEventSourceDispatch (s=0x55f01de3f2b0) at kernel/qeventdispatcher_glib.cpp:277
#57 0x00007f02fcaff69b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f02fcaff948 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f02fcaffa13 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f02fe0c7564 in QEventDispatcherGlib::processEvents (this=0x55f01de42960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#61 0x00007f02fe06cb5b in QEventLoop::exec (this=this@entry=0x7fff786ae550, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#62 0x00007f02fe074ff4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#63 0x00007f02fe4d0ca0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#64 0x00007f02febd70e9 in QApplication::exec () at kernel/qapplication.cpp:2824
#65 0x000055f01d751701 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:133
[Inferior 1 (process 23020) detached]

Possible duplicates by query: bug 433532, bug 431155, bug 431077, bug 429973, bug 429504.

Reported using DrKonqi
Comment 1 Arjen Hiemstra 2023-12-21 12:27:44 UTC
System Monitor in Plasma 6 no longer uses KDescendantsProxyModel so this crash should no longer occur.