Skip to content

powerdevil crashes with assertion failure in libddcutil after resume from sleep/hibernate #595

Description

@v8wzge

Environment
OS: Arch Linux (x86_64)
KDE Plasma 6
powerdevil
ddcutil 2.2.6-1 (libddcutil.so.5)
Steps to reproduce
Boot system normally → powerdevil works fine, no crash.
Put system into sleep (suspend) or hibernate.
Wake / resume system.
powerdevil crashes immediately after resume.
Actual result
After system resume from suspend/hibernate, org_kde_powerdevil dumps core with SIGABRT.Crash happens inside libddcutil.so.5 during ddca_redetect_displays.
Expected result
powerdevil should resume normally after suspend/hibernate without crashing.
Stack trace (key part)

文本文件.txt

Additional info
No crash on normal desktop startup.
Only occurs after waking up from suspend/hibernate.
Seems related to DDC/CI display re-detection after resume.
In version 2.2.3-1, it is normal

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions