Bug 500603

Summary: Powerdevil crashes in dw_add_display_by_businfo() after startup
Product: [Plasma] plasmashell Reporter: JeremyStarâ„¢ <jeremystartm>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: jpetso, nate
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace with debug symbols

Description JeremyStarâ„¢ 2025-02-23 02:30:36 UTC
Created attachment 178757 [details]
Backtrace with debug symbols

Application: org_kde_powerdevil (6.3.1)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.2-1-clear x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.1 [CoredumpBackend]

I booted into my system as usual and Plasma immediately greeted me with a crash report. Did not change anything regarding Plasma and only did completely unrelated package updates via pacman.

Note: Wanted to report this bug using DrKonqi, but it repeatedly failed at authentication for some reason. I therefore simply copy & pasted the bug report and reported it via the web interface.
Comment 1 Nate Graham 2025-02-24 16:09:02 UTC
Thread 1 (Thread 0x559f9d7fa6c0 (LWP 3829)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x0000559fad8a56d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x0000559fad84bba0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x0000559fad833582 in __GI_abort () at abort.c:73
#9  0x0000559fad8334eb in __assert_fail_base (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=137, function=<optimized out>) at assert.c:118
#10 0x0000559fad843c30 in __assert_fail (assertion=<optimized out>, file=<optimized out>, line=<optimized out>, function=<optimized out>) at assert.c:127
#11 0x0000559facbf80a0 in dw_add_display_by_businfo (businfo=businfo@entry=0x559fca3f4a30) at dw/dw_dref.c:137
#12 0x0000559facc01f46 in dw_hotplug_change_handler (bs_buses_w_edid_removed=..., bs_buses_w_edid_added=..., events_queue=events_queue@entry=0x0, drefs_to_recheck=drefs_to_recheck@entry=0x559f84000b70) at dw/dw_common.c:421
#13 0x0000559facc02fc9 in process_screen_change_event (p_bs_attached_buses=p_bs_attached_buses@entry=0x559f9d7f9aa0, p_bs_buses_w_edid=p_bs_buses_w_edid@entry=0x559f9d7f9a80, deferred_events=deferred_events@entry=0x0, displays_to_recheck=displays_to_recheck@entry=0x559f84000b70) at dw/dw_poll.c:141
#14 0x0000559facc08a29 in dw_watch_display_connections (data=0x559fca42c3a0) at dw/dw_poll.c:302
#15 0x0000559fac7aff66 in g_thread_proxy (data=0x559fca40e0d0) at ../glib/glib/gthread.c:892
#16 0x0000559fad8a370a in start_thread (arg=<optimized out>) at pthread_create.c:448
#17 0x0000559fad927aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 2 Nate Graham 2025-03-19 22:30:45 UTC
This is an assert in DDC, which should be fixed in version 2.2.1 of that project. If not, we'll continue to track it on https://crash-reports.kde.org, which is better for tracking crashes.

Thanks!