[Bug 1991096] Re: Upgrading Lubuntu and/or Kubuntu Jammy to Kinetic fails when using GUI

Nick Rosbrook 1991096 at bugs.launchpad.net
Wed Sep 28 19:51:11 UTC 2022


When I ran an upgrade on Kubuntu, I was flooded with exceptions that
look like this:

Original exception was:
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
    self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function update
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
    self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
    self.write(f)
  File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
    block = f.read(1048576)
  File "/usr/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Original exception was:
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
    self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'

We think this leads to "too many open files" errors, and ultimately
causes the crash. I will write a patch for that exception and test this
hypothesis.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: High => Critical

** Tags added: foundations-todo

-- 
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/1991096

Title:
  Upgrading Lubuntu and/or Kubuntu Jammy to Kinetic fails when using GUI

Status in ubuntu-release-upgrader package in Ubuntu:
  Triaged

Bug description:
  Upgrading Lubuntu Jammy to Lubuntu Kinetic fails when using GUI

  The upgrade starts normally and crashes with X11 error -

  The X11 connection broke (error 7). Did the X11 server die?

  After the above message the user has no option to reply.

  
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 859, resource id: 33554462, major code: 72 (PutImage), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 861, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 864, resource id: 33554462, major code: 72 (PutImage), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 866, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 869, resource id: 33554462, major code: 72 (PutImage), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 871, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 878, resource id: 33554462, major code: 72 (PutImage), minor code: 0
  qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 880, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
  qt.qpa.xcb: xcb_shm_create_segment() failed for size 661808
  The X11 connection broke (error 7). Did the X11 server die?
  lj at lj-latitude7280:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.14
  ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
  Uname: Linux 5.15.0-50-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: LXQt
  Date: Wed Sep 28 11:06:17 2022
  InstallationDate: Installed on 2022-09-28 (0 days ago)
  InstallationMedia: Lubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220919)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2022-09-28 (0 days ago)
  VarLogDistupgradeApttermlog: Log started: 2022-09-28  10:58:28
  VarLogDistupgradeTermlog:
   
  mtime.conffile..etc.update-manager.release-upgrades: 2022-09-28T10:54:33.361941

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




More information about the foundations-bugs mailing list