unity-control-center Keyboard page crashes because of missing toggle-shaded gsettings schema

Bug #2045493 reported by Mick21367
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Crash occurred when accessing keyboard settings on 24.04 Daily Build. (Also occurs in 23.10 stable)

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: unity-control-center 15.04.0+23.04.20230220-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sun Dec 3 09:08:51 2023
ExecutablePath: /usr/bin/unity-control-center
InstallationDate: Installed on 2023-11-29 (4 days ago)
InstallationMedia: Ubuntu-Unity 24.04 "Noble Numbat" - Daily amd64 (20231128)
JournalErrors: Dec 03 09:08:50 hostname unity-control-c[3819]: Settings schema 'org.gnome.desktop.wm.keybindings' does not contain a key named 'toggle-shaded'
ProcCmdline: /usr/bin/unity-control-center --overview
Signal: 5
SourcePackage: unity-control-center
StacktraceTop:
 ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
 g_settings_get_value () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
 ??? () at /usr/lib/x86_64-linux-gnu/unity-control-center-1/panels/libkeyboard.so
 ??? () at /usr/lib/x86_64-linux-gnu/unity-control-center-1/panels/libkeyboard.so
 ??? () at /usr/lib/x86_64-linux-gnu/unity-control-center-1/panels/libkeyboard.so
Title: unity-control-center crashed with signal 5 in ???()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users
separator:

Revision history for this message
Mick21367 (aurora-l) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_settings_schema_get_value (key=<optimized out>, schema=<optimized out>) at ../../../gio/gsettingsschema.c:1015
 g_settings_schema_get_value (key=0x55d1c0791e90 "toggle-shaded", schema=0x55d1c04cfc80) at ../../../gio/gsettingsschema.c:1001
 g_settings_schema_key_init (key=key@entry=0x7ffef57b4b80, schema=0x55d1c04cfc80, name=name@entry=0x55d1c0791e90 "toggle-shaded") at ../../../gio/gsettingsschema.c:1295
 g_settings_get_value (settings=0x55d1c07920a0, key=0x55d1c0791e90 "toggle-shaded") at ../../../gio/gsettings.c:1224
 settings_get_binding (settings=<optimized out>, key=<optimized out>) at /build/unity-control-center-UIolpv/unity-control-center-15.04.0+23.04.20230220/panels/keyboard/cc-keyboard-item.c:378

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity-control-center (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Benjamin Drung (bdrung)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: unity-control-center crashed with signal 5 in ???()

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

It looks like 'toggle-shaded' was removed from dconf. unity-control-center reads this entry from /usr/share/unity-control-center/keybindings/50-compiz-windows.xml which is shipped by the compiz-gnome (source: compiz) package.

Revision history for this message
Benjamin Drung (bdrung) wrote :

gsettings-desktop-schemas 45 dropped toggle-shaded and introduced this regression.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

But toggle-shaded was dropped in gsettings-desktop-schemas 45 which was included in Ubuntu 23.10 !

Revision history for this message
Benjamin Drung (bdrung) wrote :

So removing toggle-shaded from /usr/share/unity-control-center/keybindings/50-compiz-windows.xml will be the correct fix?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

That file is shipped by compiz-gnome, not unity-control-center

affects: unity-control-center (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I uploaded a fix for Ubuntu 24.04 LTS but I don't have capacity to work on this for Ubuntu 23.10.

Changed in compiz (Ubuntu):
status: Triaged → Fix Committed
summary: - unity-control-center crashed with signal 5 in ???()
+ unity-control-center Keyboard page crashes because of missing toggle-
+ shaded gsettings schema
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.14.2+22.10.20220822-0ubuntu11

---------------
compiz (1:0.9.14.2+22.10.20220822-0ubuntu11) noble; urgency=medium

  * Apply patches from debian/patches since this is not a 3.0 (quilt) package

 -- Steve Langasek <email address hidden> Sat, 16 Mar 2024 03:09:58 +0000

Changed in compiz (Ubuntu):
status: Fix Committed → 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.