[regression] ubiquity crashed in debconf.py:104 with ValueError: invalid literal for int() with base 10: ''
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Andrea Azzarone | ||
Bionic |
Fix Released
|
High
|
Andrea Azzarone |
Bug Description
* Impact
The Ubuntu installer crashes on some machines (seems more often on hiDPI machines (QHD/UHD etc)).
* Test case
Try installing Ubuntu on an hidpi machine, it should complete installation instead of crashing.
* Regression potential
The fix in ubiquity touches the code handle uid drop/privilege, that can have unexpected side effects so we need proper/complete testing of the installer
----------
Update: Actually the crash occurs on slow-ish systems due to a race condition. It's not strictly only hi-DPI machines - that's just the most common place it is experienced.
---
https:/
https:/
https:/
https:/
https:/
---
WORKAROUND:
1. Boot into the live session.
2. Settings > Devices > Displays > Scale = 100%
3. Click Apply.
4. Proceed with installation: Click "Install Ubuntu 18.04 LTS".
---
Crashed in a VM in the middle of installation. The host is Bionic up to date.
From the journal
Feb 23 12:52:27 ubuntu kernel: traps: ubiquity[2646] trap int3 ip:7f5a76936961 sp:7ffde5090c50 error:0 in libglib-
Feb 23 12:52:41 ubuntu /install.py[6858]: Exception during installation:
Feb 23 12:52:41 ubuntu /install.py[6858]: Traceback (most recent call last):
Feb 23 12:52:41 ubuntu /install.py[6858]: File "/usr/share/
Feb 23 12:52:41 ubuntu /install.py[6858]: install.run()
Feb 23 12:52:41 ubuntu /install.py[6858]: File "/usr/share/
Feb 23 12:52:41 ubuntu /install.py[6858]: self.copy_all()
Feb 23 12:52:41 ubuntu /install.py[6858]: File "/usr/share/
Feb 23 12:52:41 ubuntu /install.py[6858]: self.db.
Feb 23 12:52:41 ubuntu /install.py[6858]: File "/usr/lib/
Feb 23 12:52:41 ubuntu /install.py[6858]: lambda *args, **kw: self.command(
Feb 23 12:52:41 ubuntu /install.py[6858]: File "/usr/lib/
Feb 23 12:52:41 ubuntu /install.py[6858]: status = int(status)
Feb 23 12:52:41 ubuntu /install.py[6858]: ValueError: invalid literal for int() with base 10: ''
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.1
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CasperVersion: 1.388
Date: Fri Feb 23 12:52:28 2018
ExecutablePath: /usr/lib/
InstallCmdLine: file=/cdrom/
InterpreterPath: /usr/bin/python3.6
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180222)
ProcCmdline: /usr/bin/python3 /usr/lib/
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/python3.6, Python 3.6.4+, python3-minimal, 3.6.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
Signal: 5
SourcePackage: ubiquity
StacktraceTop:
?? () from /usr/lib/
?? () from /usr/lib/
_XEventsQueued () from /usr/lib/
XPending () from /usr/lib/
?? () from /usr/lib/
Title: ubiquity crashed with signal 5 in _XEventsQueued()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- Iain Lane (community): Approve
- Daniel van Vugt (community): Approve
- Didier Roche-Tolomelli (community): Approve
-
Diff: 20 lines (+6/-0)1 file modifiedubiquity/misc.py (+6/-0)
tags: | removed: need-duplicate-check |
tags: | added: rls-bb-incoming |
Changed in ubiquity (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | removed: rls-bb-incoming |
tags: | added: id-5a9829e833b1e20a0cfd336c |
description: | updated |
description: | updated |
summary: |
- ubiquity crashed in debconf.py:104 with ValueError: invalid literal for - int() with base 10: '' + [regression] ubiquity crashed in debconf.py:104 with ValueError: invalid + literal for int() with base 10: '' |
description: | updated |
Changed in oem-priority: | |
status: | New → Triaged |
importance: | Undecided → Critical |
description: | updated |
description: | updated |
description: | updated |
Changed in glib2.0 (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in glib2.0 (Ubuntu Bionic): | |
status: | Incomplete → Invalid |
Changed in ubiquity (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in ubiquity (Ubuntu Bionic): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in ubiquity (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubiquity (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in cairo (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | New → In Progress |
Changed in cairo (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in cairo: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubiquity (Ubuntu Bionic): | |
status: | Fix Committed → In Progress |
status: | In Progress → Fix Committed |
Changed in oem-priority: | |
status: | Triaged → Fix Released |
Changed in ubiquity (Ubuntu Bionic): | |
milestone: | none → ubuntu-18.04.1 |
Changed in cairo: | |
status: | Confirmed → Unknown |
no longer affects: | cairo (Ubuntu) |
affects: | cairo → ubuntu-translations |
no longer affects: | ubuntu-translations |
tags: | removed: verification-needed |
_cairo_ xlib_display_ fini_shm sets pool->attached to XNextRequest() assuming /cgit.freedeskt op.org/ cairo/tree/ src/cairo- xlib-surface- shm.c?id= 3f1a6f7225e3105 7a8af9313f051a1 d311df0c69# n602
the approaching XShmAttach() will be the next request.
https:/
This assumption can be invalid when another request is performed on another
thread before the XShmAttach() reads |request| from the display.
An |attached| sequence number that is too old means that xlib_shm_ pool_cleanup( ) can call _cairo_ xlib_display_ shm_pool_ destroy( )
_cairo_
and so shmdt() before the server processes the ShmAttach request, resulting in
BadAccess errors.
Similarly _cairo_ xlib_shm_ surface_ mark_active( ) is called and uses xlib_shm_ surface_ flush() and get_compositor() and xlib_shm_ info_cleanup( ). I assume _cairo_ xlib_shm_ surface_ get_obdata( )
XNextRequest() before the corresponding request, leading to similar races
affecting _cairo_
_cairo_
has similar issues.