2023-01-27 17:19:26 |
Tobias Heider |
bug |
|
|
added bug |
2023-01-27 17:47:39 |
Tobias Heider |
nominated for series |
|
Ubuntu Jammy |
|
2023-01-27 17:47:39 |
Tobias Heider |
bug task added |
|
libunwind (Ubuntu Jammy) |
|
2023-01-27 17:47:48 |
Tobias Heider |
bug task deleted |
libunwind (Ubuntu Jammy) |
|
|
2023-01-27 17:48:13 |
Tobias Heider |
nominated for series |
|
Ubuntu Kinetic |
|
2023-01-27 17:48:13 |
Tobias Heider |
bug task added |
|
libunwind (Ubuntu Kinetic) |
|
2023-01-27 17:56:25 |
Tobias Heider |
attachment added |
|
kinetic-fix https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+attachment/5643674/+files/libunwind_1.6.2-0ubuntu2.debdiff |
|
2023-01-27 18:07:35 |
Tobias Heider |
description |
The libunwind version we ship in kinetic crahes on arm64 platforms with page sizes > 4k.
This was fixed in libunwind upstream. The fix made it into the debian version synced to lunar.
Debian bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026217
Upstream commit: https://github.com/libunwind/libunwind/commit/2d004eafc77f3c6a4bd9a44b1c35735273fd4e97 |
[ 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).
[ Test Plan ]
* Make sure Xorg works on a variety of different archs and kernels with
different page sizes.
[ 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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026217
* Upstream fix: https://github.com/libunwind/libunwind/commit/e85b65cec757ef589f28957d0c6c21c498a03bdf |
|
2023-01-27 18:09:22 |
Tobias Heider |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2023-01-29 19:39:31 |
Simon Quigley |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2023-01-30 10:29:23 |
Tobias Heider |
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).
[ Test Plan ]
* Make sure Xorg works on a variety of different archs and kernels with
different page sizes.
[ 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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026217
* Upstream fix: https://github.com/libunwind/libunwind/commit/e85b65cec757ef589f28957d0c6c21c498a03bdf |
[ 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/gdm-x-session[3199]: (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0xaaab456ca998]
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE) unw_get_proc_info failed: no unwind info found [-10]
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE)
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE) Segmentation fault at address 0x0
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE)
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: Fatal server error:
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE)
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE)
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: Please consult the The X.Org Foundation support
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: at http://wiki.x.org
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: for help.
Jan 30 11:16:20 ubuntu /usr/libexec/gdm-x-session[3199]: (EE)
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_ARM64_16K_PAGES=y or CONFIG_ARM64_64K_PAGES=y or) and try
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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026217
* Upstream fix: https://github.com/libunwind/libunwind/commit/e85b65cec757ef589f28957d0c6c21c498a03bdf |
|
2023-01-30 10:57:23 |
Tobias Heider |
attachment removed |
kinetic-fix https://bugs.launchpad.net/ubuntu/kinetic/+source/libunwind/+bug/2004039/+attachment/5643674/+files/libunwind_1.6.2-0ubuntu2.debdiff |
|
|
2023-01-30 10:59:56 |
Tobias Heider |
attachment added |
|
libunwind_1.6.2-0ubuntu1.1.debdiff https://bugs.launchpad.net/ubuntu/kinetic/+source/libunwind/+bug/2004039/+attachment/5643965/+files/libunwind_1.6.2-0ubuntu1.1.debdiff |
|
2023-01-30 11:00:20 |
Tobias Heider |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2023-02-05 02:44:10 |
Simon Quigley |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2023-02-10 14:43:33 |
Timo Aaltonen |
libunwind (Ubuntu): status |
New |
Fix Released |
|
2023-02-10 14:44:56 |
Timo Aaltonen |
libunwind (Ubuntu Kinetic): status |
New |
Fix Committed |
|
2023-02-10 14:44:57 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-02-10 14:44:59 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2023-02-10 14:45:00 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-kinetic |
|
2023-02-13 09:55:41 |
Tobias Heider |
tags |
verification-needed verification-needed-kinetic |
verification-done-kinetic verification-needed |
|
2023-03-27 22:55:10 |
Launchpad Janitor |
libunwind (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2023-03-27 22:55:14 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|