gnome-control-center segfaults when unit bolt.service is masked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Fedora) |
Confirmed
|
Undecided
|
|||
gnome-control-center (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I don't have any Thunderbolt devices so I masked the unused the bolt.service. This causes problem with gnome-control-
Steps to reproduce:
1) launch gnome-control-
$ gnome-control-
2) navigate to Thunderbolt section
go to Devices, then Thunderbolt and close gnome-control-
3) mask bold.service
$ sudo systemctl stop bolt.service
$ sudo systemctl mask bolt.service
4) re-launch gnome-control-
$ gnome-control-
(gnome-
Segmentation fault (core dumped)
Expected result: no segfault.
Additional information:
$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
$ apt-cache policy gnome-control-
gnome-control-
Installed: 1:3.28.
Candidate: 1:3.28.
Version table:
*** 1:3.28.
500 http://
100 /var/lib/
1:
500 http://
bolt:
Installed: 0.5-0ubuntu0.
Candidate: 0.5-0ubuntu0.
Version table:
*** 0.5-0ubuntu0.
500 http://
100 /var/lib/
0.2-0ubuntu1 500
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 14 14:05:26 2018
InstallationDate: Installed on 2018-07-15 (152 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180714)
ProcEnviron:
LANG=en_CA.UTF-8
TERM=xterm-
SHELL=/bin/bash
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnome-control-center (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Confirmed |
Changed in gnome-control-center (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
importance: | High → Low |
Description of problem:
Hi! i open the Control Center after upgrading to F29.
All options worked perfect, but as soon i clicked in thunderbolt. CC Crash. Running from console gives:
Result -> CC Crash.
Expected -> CC Stating that ther is no Thunderbolt device in laptop (As F28 Said before).
Running from console:
pewpew ~ gnome-control- center control- center: 16183): thunderbolt- cc-panel- WARNING **: 22:47:43.173: Could not create client: Error calling StartServiceByName for org.freedesktop .bolt: GDBus.Error: org.freedesktop .systemd1. UnitMasked: Unit bolt.service is masked. center background control- center: 16348): thunderbolt- cc-panel- WARNING **: 22:47:47.154: Could not create client: Error calling StartServiceByName for org.freedesktop .bolt: GDBus.Error: org.freedesktop .systemd1. UnitMasked: Unit bolt.service is masked.
(gnome-
Segmentation fault (core dumped)
pewpew ~ gnome-control-
(gnome-
Segmentation fault (core dumped)
Selecting Wifi (maybe another one works too?) allow me to enter the CC (after two times)
pewpew ~ gnome-control- center control- center: 17228): thunderbolt- cc-panel- WARNING **: 22:48:45.103: Could not create client: Error calling StartServiceByName for org.freedesktop .bolt: GDBus.Error: org.freedesktop .systemd1. UnitMasked: Unit bolt.service is masked.
(gnome-
Segmentation fault (core dumped)
Result -> CC Crash
pewpew ~ gnome-control- center wifi control- center: 17389): thunderbolt- cc-panel- WARNING **: 22:48:50.103: Could not create client: Error calling StartServiceByName for org.freedesktop .bolt: GDBus.Error: org.freedesktop .systemd1. UnitMasked: Unit bolt.service is masked.
(gnome-
Segmentation fault (core dumped)
Result -> CC Crash
pewpew ~ gnome-control- center wifi
Result -> CC opens.
Laptop UX410UAR with not thunderbolt device.
Version-Release number of selected component: center- 3.30.1- 3.fc29
gnome-control-
Additional info: center notify_ queue_thaw gnome-control- center e62a1e5f2446ea2 204a;i= 62e6c;b= fa084d2d6350455 58cc44b10485dd4 fe;m=250d5fff; t=5797c5e5404d6 ;x=2fcc1bc094d4 69a7 300.fc29. x86_64
reporter: libreport-2.9.6
backtrace_rating: 4
cmdline: gnome-control-
crash_function: g_object_
executable: /usr/bin/
journald_cursor: s=6f6ac97f9aca4
kernel: 4.18.16-
rootdir: /
runlevel: N 5
type: CCpp
uid: 1000
Truncated backtrace: notify_ queue_thaw at gobject.c:289 new_internal at gobject.c:1862 new_from_ data at ../gdk- pixbuf/ gdk-pixbuf- data.c: 70 cache_get_ proxy at gtkicontheme.c:4303 info_load_ symbolic_ internal at gtkicontheme.c:4625 info_load_ symbolic at gtkicontheme.c:4726 surface_ for_gicon at gtkiconhelper.c:466 helper_ load_surface at gtkiconhelper.c:566 helper_ ensure_ surface at gtkiconhelper.c:603
Thread no. 1 (10 frames)
#0 g_object_
#1 g_object_
#2 g_object_new_valist at gobject.c:2128
#4 gdk_pixbuf_
#5 symbolic_
#6 gtk_icon_
#7 gtk_icon_
#8 ensure_
#9 gtk_icon_
#10 gtk_icon_