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

Balint Reczey balint.reczey at canonical.com
Sat Jan 13 00:53:37 UTC 2018


** Description changed:

+ [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.
+ 
+ [Regression Potential]
+ The upgrade GUI may crash in a different way when applying the workaround fails.
+ 
+ [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
+   $ 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:

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1732185

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

Status in ubuntu-release-upgrader package in Ubuntu:
  Triaged
Status in update-manager package in Ubuntu:
  Fix Committed
Status in ubuntu-release-upgrader source package in Artful:
  New
Status in update-manager source package in Artful:
  In Progress

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.

  [Regression Potential]
  The upgrade GUI may crash in a different way when applying the workaround fails.

  [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 Ubuntu-sponsors mailing list