** Description changed: + [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/sources.lists without using do-release-upgrade (which reinstalls ubuntu-desktop). + 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 ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3 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/session-migration/scripts/unity-gnome-shell-migration.18.08.py 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/session-migration/scripts/unity-gnome-shell-migration.18.08.py ProcEnviron: - LANGUAGE=ru - PATH=(custom, user) - XDG_RUNTIME_DIR=<set> - LANG=ru_RU.UTF-8 - SHELL=/bin/bash + LANGUAGE=ru + PATH=(custom, user) + XDG_RUNTIME_DIR=<set> + 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/x86_64-linux-gnu/libgio-2.0.so.0 - ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 - g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 - g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 - ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 + ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 + ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 + g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 + g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 + ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 Title: unity-gnome-shell-migration.18.08.py crashed with signal 5 in g_object_new_valist() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
** Also affects: gnome-session (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1720310 Title: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1720310/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs