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

            Bug ID: 480462
           Summary: kded crashes if there is a hard disk with bad SMART
    Classification: Frameworks and Libraries
           Product: frameworks-kded
           Version: unspecified
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: antosha...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
kded (5.249.0) crashes if there is a hard disk with a bad SMART state in the
system. Apparently it is trying to display a warning that the disk is about to
die (although this is not true in my case, but that's not the point). However,
if you disable the SMART service in service management, it stops crashing. If
you remove a bad SMART hard disk from the system, it stops crashing too.

When it crashes, the console displays the following:
 Registering ":1.161/StatusNotifierItem" to system tray
 ASSERT: "kcm" in file ./src/smartnotifier.cpp, line 43
 KCrash: appFilePath points to nullptr!
 KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
 Aborted (core dumped)

STEPS TO REPRODUCE
1. Have a disk with bad SMART status in system
2. Start kded6 with "SMART" service enabled in service management
3. crash

OBSERVED RESULT
kded6 crashes silently after some time

EXPECTED RESULT
A new notification would appear that the disk was in a bad state (This is what
happens in KDE Plasma 5)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon Unstable Edition (both
neon-unstable-20240128-1119.iso and neon-unstable-20240122-1334.iso)
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Here is a video of the problem -
https://drive.google.com/file/d/1oHzS7y_TQfiYIVGELeK_po2xTBVL2qOV/view?usp=sharing

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

Reply via email to