Public bug reported:

I don't have any Thunderbolt devices so I masked the unused the
bolt.service. This causes problem with gnome-control-center.

Steps to reproduce:

1) launch gnome-control-center
$ gnome-control-center

2) navigate to Thunderbolt section
go to Devices, then Thunderbolt and close gnome-control-center

3) mask bold.service
$ sudo systemctl stop bolt.service
$ sudo systemctl mask bolt.service

4) re-launch gnome-control-center
$ gnome-control-center 

(gnome-control-center:21859): thunderbolt-cc-panel-WARNING **: 14:04:53.423: 
Could not create client: Error calling StartServiceByName for 
org.freedesktop.bolt: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit 
bolt.service is masked.
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-center bolt
gnome-control-center:
  Installed: 1:3.28.2-0ubuntu0.18.04.2
  Candidate: 1:3.28.2-0ubuntu0.18.04.2
  Version table:
 *** 1:3.28.2-0ubuntu0.18.04.2 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.28.1-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
bolt:
  Installed: 0.5-0ubuntu0.18.04.1
  Candidate: 0.5-0ubuntu0.18.04.1
  Version table:
 *** 0.5-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.2-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-control-center 1:3.28.2-0ubuntu0.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
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-256color
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1808576

Title:
  gnome-control-center segfaults when unit bolt.service is masked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1808576/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to