[Bug 1732185] Re: do-release-upgrade crashed with SIGSEGV under wayland

Łukasz Zemczak 1732185 at bugs.launchpad.net
Thu Jan 18 10:57:10 UTC 2018


Hello Jean-Baptiste, or anyone else affected,

Accepted ubuntu-release-upgrader into artful-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:17.10.9 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubuntu-release-upgrader (Ubuntu Artful)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1732185

Title:
  do-release-upgrade crashed with SIGSEGV under wayland

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Committed
Status in update-manager package in Ubuntu:
  Fix Committed
Status in ubuntu-release-upgrader source package in Artful:
  Fix Committed
Status in update-manager source package in Artful:
  Fix Committed

Bug description:
  [Impact]

  Users can't upgrade to next Ubuntu release running the upgrade GUI under Wayland.
  The backport is needed to let Artful users to upgrade to Bionic without applying workarounds manually.

  [Test Case (for update-manager)]

  1. Install 17.10 and all the updates available
  2. Start a wayland session (Ubuntu in GDM)
  3. open a terminal and run the following command:
    $ update-manager -cd
  4. When you're prompted to upgrade to 18.04, accept and proceed.
    Expected result on fixed version: Upgrade starts.
    Result on unfixed version: The GUI crashes.

  [Test Case (for ubuntu-release-upgrader)]

  1. Install 17.10 and all the updates available
  2. Start a wayland session (Ubuntu in GDM)
  3. Check that root is not listed in xhost output:
    $  xhost
    access control enabled, only authorized clients can connect
    SI:localuser:rbalint
  4. If root is present, remove it:
    $ xhost -si:localuser:root
    localuser:root being removed from access control list
    $  xhost
    access control enabled, only authorized clients can connect
    SI:localuser:rbalint 
  4. open a terminal and run one of the following commands (alternatives):
    $ do-release-upgrade --frontend=DistUpgradeViewGtk3 -d
    $ /usr/lib/ubuntu-release-upgrader/check-new-release-gtk -d
  5. When you're prompted to upgrade to 18.04, accept and proceed.
     Expected result on fixed version: Upgrade starts.
     Result on unfixed version: The GUI crashes.

  [Test Case (for regressions)]

  Repeat the test cases running under X.org (Ubuntu on Xorg in GDM) and check that:
  a. Upgrade still works
  b. xhost output is not modified

  [Regression Potential]

  The upgrade GUI may crash in a different way when applying the workaround fails.
  Do-release-upgrade may fail to detect development or versions to upgrade to.
  The workaround "xhost +si:localuser:root" may be added under Xorg as well

  [Original Bug Text]

  Test Case:
  1. Install 17.10 and all the updates available
  2. Start a wayland session (Ubuntu in GDM)
  3. open a terminal and run the following command:
    $ update-manager -cd
  4. When you're prompted to upgrade to 18.04, accept and proceed.

  OR run this command in a terminal:
    $ pkexec /usr/bin/python3 /usr/bin/do-release-upgrade \
          --frontend=DistUpgradeViewGtk3 -d

  (note that it's expected to fail under wayland cf bug 1713313)

  Expected result
  Upgrade starts

  Actual result
  This crash.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.10
  Package: ubuntu-release-upgrader-core 1:17.10.8
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CrashDB: ubuntu
  Date: Tue Nov 14 14:27:30 2017
  ExecutablePath: /usr/bin/do-release-upgrade
  ExecutableTimestamp: 1508803676
  InstallationDate: Installed on 2017-11-14 (0 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  InterpreterPath: /usr/bin/python3.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3 -d
  ProcCwd: /root
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
  SegvAnalysis: Skipped: missing required field "Disassembly"
  Signal: 11
  SourcePackage: ubuntu-release-upgrader
  StacktraceTop:
   ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1732185/+subscriptions



More information about the foundations-bugs mailing list