System Monitor reproducibly crashes, but DrKonqi never notices

Due to How can System Monitor report that a process is using less memory than the sum of its child processes'?, I’ve been using plasma-systemmonitor more than I usually do.

Although the “Details sidebar”

used to be possible to enable, sometime before or during the update to https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/plasma6-systemmonitor-6.0.2-1.1.x86_64.rpm and cpe:/o:opensuse:tumbleweed:20240315, a bug was introduced, which causes plasma-systemmonitor to crash if that button / context menu entry is invoked.

However, drkonqi never notices. Is there a way to manually get it to capture what I’m doing, like I can on Windows with OfficeDocs-Support/Office/Client/settings/how-to-use-problem-steps-recorder.md at 9693e4dd6705089534b965f94a6254a6ccd98fe1 · MicrosoftDocs/OfficeDocs-Support · GitHub (an example, considering that both save diagnostics too)?

I really doubt that a Log in to KDE Bugtracking System would be useful without a trace.

This is already tracked here: 482169 – System Monitor in Plasma 6 crashes on clicking "Show Details Sidebar"

Would be interesting how to get the backtrace.
Edit:
Actually it is very simple using gdb:

  1. gdb plasma-systemmonitor
  2. run
  3. Use debuginfod or not
  4. Create the crash
  5. bt

Or use coredumpctl since it shows up there too.

1 Like

@Duha, thanks. I’m gonna use gbd with debuginfod an awful lot from now onward:

    1. gdb plasma-systemmonitor
      
    2. GNU gdb (GDB; openSUSE Tumbleweed) 13.2
      Copyright (C) 2023 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      Type "show copying" and "show warranty" for details.
      This GDB was configured as "x86_64-suse-linux".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://bugs.opensuse.org/>.
      Find the GDB manual and other documentation resources online at:
          <http://www.gnu.org/software/gdb/documentation/>.
      
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from plasma-systemmonitor...
      
      This GDB supports auto-downloading debuginfo from the following URLs:
        <https://debuginfod.opensuse.org/>
      Enable debuginfod for this session? (y or [n]) y
      Debuginfod has been enabled.
      To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
      (No debugging symbols found in plasma-systemmonitor)                                                                                                                                                                                                                           
      Missing separate debuginfos, use: zypper install plasma6-systemmonitor-debuginfo-6.0.2-1.1.x86_64
      (gdb) run
      Starting program: /usr/bin/plasma-systemmonitor 
      [Thread debugging using libthread_db enabled]                                                                                                                                                                                                                                  
      Using host libthread_db library "/lib64/libthread_db.so.1".
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.                                                                                                                                                                                              
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      [New Thread 0x7ffff30006c0 (LWP 15473)]                                                                                                                                                                                                                                        
      [New Thread 0x7ffff12006c0 (LWP 15480)]                                                                                                                                                                                                                                        
      [New Thread 0x7fffebe006c0 (LWP 15481)]
      [New Thread 0x7fffe92006c0 (LWP 15482)]                                                                                                                                                                                                                                        
      [New Thread 0x7fffe3e006c0 (LWP 15483)]
      [New Thread 0x7fffe34006c0 (LWP 15484)]
      [New Thread 0x7fffe2a006c0 (LWP 15485)]
      [New Thread 0x7fffe20006c0 (LWP 15486)]
      [New Thread 0x7fffe16006c0 (LWP 15487)]
      [New Thread 0x7fffe0c006c0 (LWP 15488)]
      [New Thread 0x7fffd4a006c0 (LWP 15489)]
      [New Thread 0x7fffcfe006c0 (LWP 15490)]
      [New Thread 0x7fffcf4006c0 (LWP 15491)]
      [New Thread 0x7fffcea006c0 (LWP 15492)]
      [New Thread 0x7fffce0006c0 (LWP 15493)]
      [Thread 0x7fffce0006c0 (LWP 15493) exited]
      [Thread 0x7fffcea006c0 (LWP 15492) exited]
      [Thread 0x7fffcf4006c0 (LWP 15491) exited]
      [Thread 0x7fffcfe006c0 (LWP 15490) exited]
      [Thread 0x7fffd4a006c0 (LWP 15489) exited]
      [Thread 0x7fffe0c006c0 (LWP 15488) exited]
      [New Thread 0x7fffe0c006c0 (LWP 15494)]                                                                                                                                                                                                                                        
      qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"                                                                                                  
      qrc:/qt/qml/org/kde/ksysguard/page/EditablePage.qml?page=history.page:223:9: QML Loader: Binding loop detected for property "height"                                                                                                                                           
      [New Thread 0x7fffd4a006c0 (LWP 15496)]
      [New Thread 0x7fffcfe006c0 (LWP 15497)]
      [New Thread 0x7fffcf4006c0 (LWP 15498)]
      [New Thread 0x7fffcd6006c0 (LWP 15499)]
      [New Thread 0x7fffccc006c0 (LWP 15500)]
      [New Thread 0x7fffc3e006c0 (LWP 15501)]
      [Thread 0x7fffc3e006c0 (LWP 15501) exited]
      [Thread 0x7fffccc006c0 (LWP 15500) exited]
      [Thread 0x7fffcd6006c0 (LWP 15499) exited]
      [Thread 0x7fffcf4006c0 (LWP 15498) exited]
      [Thread 0x7fffcfe006c0 (LWP 15497) exited]
      [Thread 0x7fffd4a006c0 (LWP 15496) exited]
      [New Thread 0x7fffd4a006c0 (LWP 15502)]
      [New Thread 0x7fffcfe006c0 (LWP 15503)]
      [New Thread 0x7fffcf4006c0 (LWP 15504)]
      [New Thread 0x7fffcd6006c0 (LWP 15505)]
      [New Thread 0x7fffccc006c0 (LWP 15506)]
      [New Thread 0x7fffc3e006c0 (LWP 15507)]
      [New Thread 0x7fffc34006c0 (LWP 15508)]
      [New Thread 0x7fffc0a006c0 (LWP 15517)]                                                                                                                                                                                                                                        
      [New Thread 0x7fffb7e006c0 (LWP 15518)]
      [New Thread 0x7fffb74006c0 (LWP 15519)]
      file:///usr/lib64/qt6/qml/org/kde/kirigami/Dialog.qml:334:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth"                                                                                                                                     
      [Detaching after fork from child process 15521]
      file:///usr/lib64/qt6/qml/org/kde/kirigami/Dialog.qml:386:33: QML Binding: Binding loop detected for property "target"
      [New Thread 0x7fffb6a006c0 (LWP 15523)]
      [New Thread 0x7fffb60006c0 (LWP 15524)]
      [New Thread 0x7fffb56006c0 (LWP 15525)]
      [New Thread 0x7fffb4c006c0 (LWP 15526)]
      [New Thread 0x7fffabe006c0 (LWP 15527)]
      [New Thread 0x7fffab4006c0 (LWP 15528)]
      [New Thread 0x7fffaaa006c0 (LWP 15529)]
      [New Thread 0x7fffaa0006c0 (LWP 15530)]
      [New Thread 0x7fffa96006c0 (LWP 15531)]
      [New Thread 0x7fffa8c006c0 (LWP 15532)]
      [New Thread 0x7fff9fe006c0 (LWP 15533)]
      [New Thread 0x7fff9f4006c0 (LWP 15536)]
      [New Thread 0x7fff9ce006c0 (LWP 15571)]                                                                                                                                                                                                                                        
      [New Thread 0x7fff93e006c0 (LWP 15572)]
      [New Thread 0x7fff934006c0 (LWP 15573)]
      [New Thread 0x7fff92a006c0 (LWP 15574)]
      
      Thread 1 "plasma-systemmo" received signal SIGSEGV, Segmentation fault.
      0x00007ffff2005fc0 in QQuickItem::parentItem() const () from /lib64/libQt6Quick.so.6
      (gdb) bt
      #0  0x00007ffff2005fc0 in QQuickItem::parentItem() const () at /lib64/libQt6Quick.so.6
      #1  0x00007ffff17b3bfa in  () at /lib64/libQt6QuickTemplates2.so.6
      #2  0x00007ffff17b69a6 in  () at /lib64/libQt6QuickTemplates2.so.6
      #3  0x00007ffff5fda593 in  () at /lib64/libQt6Core.so.6
      #4  0x00007ffff2014150 in QQuickItemPrivate::setEffectiveEnableRecur(QQuickItem*, bool) () at /lib64/libQt6Quick.so.6
      #5  0x00007ffff2014150 in QQuickItemPrivate::setEffectiveEnableRecur(QQuickItem*, bool) () at /lib64/libQt6Quick.so.6
      #6  0x00007ffff2014150 in QQuickItemPrivate::setEffectiveEnableRecur(QQuickItem*, bool) () at /lib64/libQt6Quick.so.6
      #7  0x00007ffff2014150 in QQuickItemPrivate::setEffectiveEnableRecur(QQuickItem*, bool) () at /lib64/libQt6Quick.so.6
      #8  0x00007ffff2014150 in QQuickItemPrivate::setEffectiveEnableRecur(QQuickItem*, bool) () at /lib64/libQt6Quick.so.6
      #9  0x00007ffff200aaac in QQuickItem::setParentItem(QQuickItem*) () at /lib64/libQt6Quick.so.6
      #10 0x00007ffff20395b5 in  () at /lib64/libQt6Quick.so.6
      #11 0x00007ffff72f1b0a in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /lib64/libQt6Qml.so.6
      #12 0x00007ffff72f2174 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlRefPointer<QQmlContextData> const&) () at /lib64/libQt6Qml.so.6
      #13 0x00007ffff72a558e in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /lib64/libQt6Qml.so.6
      #14 0x00007ffff20349c0 in  () at /lib64/libQt6Quick.so.6
      #15 0x00007ffff20390ed in QQuickLoader::setActive(bool) () at /lib64/libQt6Quick.so.6
      #16 0x00007ffff7278544 in  () at /lib64/libQt6Qml.so.6
      #17 0x00007ffff728d076 in  () at /lib64/libQt6Qml.so.6
      #18 0x00007ffff728ba8a in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /lib64/libQt6Qml.so.6
      #19 0x00007ffff7289a64 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /lib64/libQt6Qml.so.6
      #20 0x00007ffff73133f8 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt6Qml.so.6
      #21 0x00007ffff5fd9fd8 in  () at /lib64/libQt6Core.so.6
      #22 0x00007ffff732289a in QQmlOpenMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt6Qml.so.6
      #23 0x00007ffff727858a in  () at /lib64/libQt6Qml.so.6
      #24 0x00007ffff732e05c in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlRefPointer<QQmlContextData> const&, QFlags<QQmlPropertyData::WriteFlag>) () at /lib64/libQt6Qml.so.6
      #25 0x00007ffff71f8f1d in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const*, QV4::Value const&) () at /lib64/libQt6Qml.so.6
      #26 0x00007ffff71f95be in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlRefPointer<QQmlContextData> const&, QObject*, QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, QV4::Value const&) () at /lib64/libQt6Qml.so.6
      #27 0x00007ffff71f973d in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /lib64/libQt6Qml.so.6
      #28 0x00007ffff71dd930 in QV4::Object::virtualResolveLookupSetter(QV4::Object*, QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () at /lib64/libQt6Qml.so.6
      #29 0x00007ffff724966a in  () at /lib64/libQt6Qml.so.6
      #30 0x00007ffff724c344 in  () at /lib64/libQt6Qml.so.6
      #31 0x00007ffff71bd62e in  () at /lib64/libQt6Qml.so.6
      #32 0x00007ffff71c049d in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) () at /lib64/libQt6Qml.so.6
      #33 0x00007ffff72f3265 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) () at /lib64/libQt6Qml.so.6
      #34 0x00007ffff728f227 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt6Qml.so.6
      --Type <RET> for more, q to quit, c to continue without paging--c
      #35 0x00007ffff7293a7b in  () at /lib64/libQt6Qml.so.6
      #36 0x00007ffff73133f8 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt6Qml.so.6
      #37 0x00007ffff5fd9fd8 in  () at /lib64/libQt6Core.so.6
      #38 0x00007ffff16e67c2 in QQuickAction::toggled(QObject*) () at /lib64/libQt6QuickTemplates2.so.6
      #39 0x00007ffff16ebc03 in  () at /lib64/libQt6QuickTemplates2.so.6
      #40 0x00007ffff16ebe60 in QQuickAbstractButtonPrivate::trigger(bool) () at /lib64/libQt6QuickTemplates2.so.6
      #41 0x00007ffff16ed68a in QQuickAbstractButtonPrivate::handleRelease(QPointF const&, unsigned long) () at /lib64/libQt6QuickTemplates2.so.6
      #42 0x00007ffff1704eb9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt6QuickTemplates2.so.6
      #43 0x00007ffff201cd83 in QQuickItem::event(QEvent*) () at /lib64/libQt6Quick.so.6
      #44 0x00007ffff77c1aae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
      #45 0x00007ffff5f87498 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
      #46 0x00007ffff216fc1b in QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) () at /lib64/libQt6Quick.so.6
      #47 0x00007ffff21719b6 in QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) () at /lib64/libQt6Quick.so.6
      #48 0x00007ffff2173203 in QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) () at /lib64/libQt6Quick.so.6
      #49 0x00007ffff217430c in QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) () at /lib64/libQt6Quick.so.6
      #50 0x00007ffff216a5f8 in QQuickDeliveryAgent::event(QEvent*) () at /lib64/libQt6Quick.so.6
      #51 0x00007ffff20ad234 in QQuickWindow::event(QEvent*) () at /lib64/libQt6Quick.so.6
      #52 0x00007ffff77c1aae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
      #53 0x00007ffff5f87498 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
      #54 0x00007ffff67e83db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt6Gui.so.6
      #55 0x00007ffff684954c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6
      #56 0x00007ffff6c059f0 in  () at /lib64/libQt6Gui.so.6
      #57 0x00007ffff5293f30 in  () at /lib64/libglib-2.0.so.0
      #58 0x00007ffff5295b58 in  () at /lib64/libglib-2.0.so.0
      #59 0x00007ffff529620c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
      #60 0x00007ffff61a330c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
      #61 0x00007ffff5f91cbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
      #62 0x00007ffff5f8b8e6 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
      #63 0x000055555555feeb in  ()
      #64 0x00007ffff562a1f0 in __libc_start_call_main () at /lib64/libc.so.6
      #65 0x00007ffff562a2b9 in __libc_start_main_impl () at /lib64/libc.so.6
      #66 0x0000555555560825 in  ()
      (gdb) exit
      A debugging session is active.
      
              Inferior 1 [process 15470] will be killed.
      
      Quit anyway? (y or n) y
      
    1. sudo zypper install plasma6-systemmonitor-debuginfo-6.0.2-1.1.x86_64
      
    2. [sudo] password for root: 
      Retrieving repository 'Main Repository (NON-OSS)' metadata ..............................................................................................................................................................................................................[done]
      Building repository 'Main Repository (NON-OSS)' cache ...................................................................................................................................................................................................................[done]
      Retrieving repository 'Main Repository (OSS)' metadata ..................................................................................................................................................................................................................[done]
      Building repository 'Main Repository (OSS)' cache .......................................................................................................................................................................................................................[done]
      Retrieving repository 'openSUSE:Factory' metadata .......................................................................................................................................................................................................................[done]
      Building repository 'openSUSE:Factory' cache ............................................................................................................................................................................................................................[done]
      Retrieving repository 'openSUSE:Tumbleweed' metadata ....................................................................................................................................................................................................................[done]
      Building repository 'openSUSE:Tumbleweed' cache .........................................................................................................................................................................................................................[done]
      Retrieving repository 'openSUSE-20230920-0' metadata ....................................................................................................................................................................................................................[done]
      Building repository 'openSUSE-20230920-0' cache .........................................................................................................................................................................................................................[done]
      Loading repository data...
      Reading installed packages...
      'plasma6-systemmonitor-debuginfo-6.0.2-1.1.x86_64' not found in package names. Trying capabilities.
      No provider of 'plasma6-systemmonitor-debuginfo-6.0.2-1.1.x86_64' found. ['--plus-content debug'?]
      Resolving package dependencies...
      Nothing to do.
      

Any idea why drkonqi doesn’t invoke, though?

Good question, but I sadly have no Idea. Maybe someone with more knowledge can answer.

1 Like

pssst. It helps if you, erm, enable the repo you need.

@Angus, can you elaborate? I don’t understand what you mean by that.

zypper lr   

(padding to 20 chrs)