Summary: | System Settings crashes in OutputModel::setRefreshRate() when trying to change monitor's frequency | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Unknown <null> |
Component: | kcm_kscreen | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nate, plasma-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.24.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/commit/59231e0456d2a8b423c26b94c5840178cebda23d | Version Fixed In: | 5.24.2 |
Sentry Crash Report: |
Description
Unknown
2022-02-15 00:26:26 UTC
I also noticed this weird behavior: - as I said, I have the same monitor with 60Hz - I use the popup meta+p to turn them on/off - when I have both turned on system settings correctly shows 60Hz for each - when I turn off the left one, system settings shows only the remaining monitor but with 72Hz (weird) - when i turn on the left monitor both switch back to 60hz > Judging on backtrace (this=this@entry=0x0) this looks like null pointer dereference
> and hopefully shouldn't be hard to fix.
Would you be interested in giving it a shot?
(In reply to Nate Graham from comment #2) > > Judging on backtrace (this=this@entry=0x0) this looks like null pointer dereference > > and hopefully shouldn't be hard to fix. > Would you be interested in giving it a shot? Sure, why not. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/86 Git commit d6cc54337b6eefc7b7a320a6777f10e23d20dddb by Nate Graham, on behalf of Marek Beleščiak. Committed on 21/02/2022 at 17:10. Pushed by ngraham into branch 'master'. KCM: fix crash when editing disabled display output's refresh rate When display output was disabled, Output::currentMode() returned a null pointer and used it shortly afterwards. FIXED-IN: 5.24.2 M +1 -1 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/d6cc54337b6eefc7b7a320a6777f10e23d20dddb Git commit 59231e0456d2a8b423c26b94c5840178cebda23d by Nate Graham, on behalf of Marek Beleščiak. Committed on 21/02/2022 at 17:11. Pushed by ngraham into branch 'Plasma/5.24'. KCM: fix crash when editing disabled display output's refresh rate When display output was disabled, Output::currentMode() returned a null pointer and used it shortly afterwards. FIXED-IN: 5.24.2 (cherry picked from commit d6cc54337b6eefc7b7a320a6777f10e23d20dddb) M +1 -1 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/59231e0456d2a8b423c26b94c5840178cebda23d |