gnome-control-center crash with assertion failure: cc-power-panel.c:1122:performance_profile_set_active: assertion failed: (button)

Bug #2028438 reported by Mike Ferreira
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Unknown
gnome-control-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Suddenly today, while doing a backup (rsync) system started going to sleep... I know I had my setting set to not suspend, never to go to screensaver. Went to ope "Settings"... Settings loaded fine (then).

Selected "Power". Settings crashed, and opened Bug Report dialog, but on "Send", that also crashed. "Settings" can no longer open at all.

Starts to load, at least by the status in the upper bar of screen, then goes away. In 'top', I can see it running while it is trying to start (as gnome-control-center)... Then goes away. Have tried to re-install it, same problem.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-46.47~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-46-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Sat Jul 22 12:28:06 2023
InstallationDate: Installed on 2021-09-23 (667 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to jammy on 2022-08-17 (339 days ago)

Revision history for this message
Mike Ferreira (mafoelffen) wrote :
Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Errors log from journalctl and syslog attached

Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Further. When this originally happened, this was while checking a strange occurrence of the laptop going into hibernation... When all settings in the BIOS is set to not go to sleep... And everything in dconf set not to go to sleep. I don't know if this is related, but... It is still going to sleep.

And Settings will not start.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Stuck on power panel:
mafoelffen@Mikes-ThinkPad-T520:~$ gnome-control-center network

(gnome-control-center:122922): cc-power-profile-row-CRITICAL **: 01:37:57.530: cc_power_profile_row_get_radio_button: assertion 'CC_IS_POWER_PROFILE_ROW (self)' failed
**
power-cc-panel:ERROR:../panels/power/cc-power-panel.c:1122:performance_profile_set_active: assertion failed: (button)
Bail out! power-cc-panel:ERROR:../panels/power/cc-power-panel.c:1122:performance_profile_set_active: assertion failed: (button)
Aborted (core dumped)
mafoelffen@Mikes-ThinkPad-T520:~$ gnome-control-center -v display

(gnome-control-center:123168): cc-power-profile-row-CRITICAL **: 01:39:37.164: cc_power_profile_row_get_radio_button: assertion 'CC_IS_POWER_PROFILE_ROW (self)' failed
**
power-cc-panel:ERROR:../panels/power/cc-power-panel.c:1122:performance_profile_set_active: assertion failed: (button)
Bail out! power-cc-panel:ERROR:../panels/power/cc-power-panel.c:1122:performance_profile_set_active: assertion failed: (button)
Aborted (core dumped)
*** END OUTPUT ***

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
summary: - gnome-control-center crash
+ gnome-control-center crash with assertion failure: cc-power-
+ panel.c:1122:performance_profile_set_active: assertion failed: (button)
Changed in gnome-control-center (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Fix Released
tags: added: fixed-in-gnome-control-center-43.1 fixed-upstream
tags: added: fixed-in-gnome-control-center-42.4
tags: added: rls-jj-incoming
Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Even if I remove/purge it,and install fresh... On start, it is stuck at the same point and error...

It is affected by this upstream Gnome bug: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1504

Upon seeing that it is affected by setting the power profile to performance... I did this:

Code:
mafoelffen@Mikes-ThinkPad-T520:~$ powerprofilesctl get
performance
mafoelffen@Mikes-ThinkPad-T520:~$ powerprofilesctl set balanced
mafoelffen@Mikes-ThinkPad-T520:~$ powerprofilesctl get
balanced

After that, gnome-control-center was unlocked and worked...

Changed in gnome-control-center:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.