https://bugs.kde.org/show_bug.cgi?id=524352

            Bug ID: 524352
           Summary: kactivitymanagerd crashes (SIGSEGV) on every call to
                    Features.IsFeatureOperational()
    Classification: Plasma
           Product: plasmashell
      Version First 6.7.4
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: The Activities subsystem in general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 195206
  --> https://bugs.kde.org/attachment.cgi?id=195206&action=edit
kactivitymanagerd crash backtrace

DESCRIPTION
Calling org.kde.ActivityManager.Features.IsFeatureOperational() over D-Bus
always crashes kactivitymanagerd, inside
StatsPlugin::isFeatureOperational() in the ResourceScoring plugin. Found
this while investigating an unrelated plasmashell performance issue;
kactivitymanagerd also crash-looped on its own a few times while that
issue was ongoing, so this isn't only triggered by calling it manually.

STEPS TO REPRODUCE
1. Have kactivitymanagerd running (default on any Plasma session)
2. Run: qdbus org.kde.ActivityManager /ActivityManager/Features
   org.kde.ActivityManager.Features.IsFeatureOperational
   "org.kde.ActivityManager.Resources.Scoring"

OBSERVED RESULT
kactivitymanagerd crashes with SIGSEGV every time. GetValue on the same
feature also fails ("NoReply / Remote peer disconnected") - likely the
same crash.

EXPECTED RESULT
Should return a boolean without crashing the daemon.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44 (KDE Spin), x86_64
KDE Plasma Version: 6.7.4 (kactivitymanagerd 6.7.4-1.fc44)
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
Backtrace of the crashing thread (coredumpctl info, Fedora debuginfo):
  #4 StatsPlugin::isFeatureOperational(QList<QString> const&) const
       in org.kde.ActivityManager.ResourceScoring.so
  #5 FeaturesAdaptor::qt_static_metacall(...)  in kactivitymanagerd
  #6 FeaturesAdaptor::qt_metacall(...)         in kactivitymanagerd
  #7 QDBusConnectionPrivate::deliverCall(...)  in libQt6DBus.so.6
Full backtrace attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to