unity-gnome-shell-migration.18.08.py crashed with signal 5 in g_object_new_valist() due to gnome-shell-extension-ubuntu-dock not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* People having this particular setup:
- removed ubuntu-desktop metapackage from their system
- upgrading from 16.04 to 18.04 (or previously to 17.10) by manually editing /etc/apt/
They end up with:
- no ubuntu-dock installed
- and consequentely, the settings migration script would trigger an apport dialog (crashing) due to lack of gsettings schema.
* Even if this is an unsupported case (people shouldn't cowboy sources.list and use our upgrader tools), we can easily prevent this crash, ignoring settings migration in such a case.
[Test Case]
1. Install 16.04
2. Remove ubuntu-desktop metapackage
3. Change your sources.list from "xenial" to "bionic"
4. apt update && apt full-upgrade
5. Reboot and log into a new session once upgrade is done.
-> you won't get the ubuntu-dock, but the session migration script shouldn't crash.
[Regression Potential]
* The script was crashing (even if there is no settings to migrate, so it was a no-op). We prevents gsettings to segfault by guarding for schema existence in the standard way.
------
Upgrade...
ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: ubuntu-session 3.26.0-0ubuntu1
ProcVersionSign
Uname: Linux 4.10.0-35-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 29 08:15:13 2017
ExecutablePath: /usr/share/
InstallationDate: Installed on 2017-09-25 (3 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
InterpreterPath: /usr/bin/python3.6
ProcCmdline: /usr/bin/python3 /usr/share/
ProcEnviron:
LANGUAGE=ru
PATH=(custom, user)
XDG_RUNTIME_
LANG=ru_RU.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/python3.6, Python 3.6.3rc1, python3-minimal, 3.6.2-1ubuntu4
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
Signal: 5
SourcePackage: gnome-session
StacktraceTop:
?? () from /usr/lib/
?? () from /usr/lib/
g_object_
g_object_new () from /usr/lib/
ffi_call_unix64 () from /usr/lib/
Title: unity-gnome-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
information type: | Private → Public |
summary: |
unity-gnome-shell-migration.18.08.py crashed with signal 5 in - g_object_new_valist() + g_object_new_valist() due to gnome-shell-extension-ubuntu-dock not + installed |
Changed in gnome-session (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
description: | updated |
Changed in gnome-session (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in gnome-session (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in gnome-session (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
StacktraceTop: set_property (object=0x20260d0, prop_id=<optimized out>, value=<optimized out>, pspec=<optimized out>) at ../../. ./../gio/ gsettings. c:590 set_property (nqueue=0x1f63420, value=<optimized out>, pspec=0x2019920, object=0x20260d0) at ../../. ./../gobject/ gobject. c:1423 new_internal (class= class@entry= 0x20189e0, params= params@ entry=0x7fffc8d 5c370, n_params= n_params@ entry=1) at ../../. ./../gobject/ gobject. c:1815 new_valist (object_ type=33593824, first_property_ name=<optimized out>, var_args= var_args@ entry=0x7fffc8d 5c4c0) at ../../. ./../gobject/ gobject. c:2104 type=<optimized out>, first_property_ name=<optimized out>) at ../../. ./../gobject/ gobject. c:1624
g_settings_
object_
g_object_
g_object_
g_object_new (object_