libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunwind (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* On kernels with page size > 4K Xorg (and presumably other applications
relying on libunwind) crashes on startup. This affects anyone
running the official arm64 generic-64k kernel or custom non 4k kernels
(as used by e.g. apple silicon).
The exact error I am seeing in the logs is:
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
Jan 30 11:16:20 ubuntu /usr/libexec/
I have not found a workaround other than using wayland (which has other
limitations). To reproduce use a kernel configured with a page size of
16K (CONFIG_
to start "Ubuntu on Xorg" in gdm.
[ Test Plan ]
* Make sure Xorg doesn't crash on 4K, 16K and 64K kernels.
[ Where problems could occur ]
* We will have to make sure the fixed version still works with 4k
kernels. The patch is already widely in use so the risk seems low if
we test properly.
[ Other Info ]
* The lunar version ships the bug fix synced from debian
* Debian bug: https:/
* Upstream fix: https:/
no longer affects: | libunwind (Ubuntu Jammy) |
description: | updated |
description: | updated |
Attached is a debdiff with the backported fix from lunar