[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-03-27 Thread Launchpad Bug Tracker
This bug was fixed in the package libunwind - 1.6.2-0ubuntu1.1

---
libunwind (1.6.2-0ubuntu1.1) kinetic; urgency=medium

  * Backport debian bug fix for dynamic page size (LP: #2004039)
- Add upstream change to determine the page size dynamically,
  thanks to Thomas Glanzmann. (Closes: #1026217)

 -- Tobias Heider   Mon, 30 Jan 2023
11:30:11 +0100

** Changed in: libunwind (Ubuntu Kinetic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  Fix Released
Status in libunwind source package in Kinetic:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-02-21 Thread Tobias Heider
The detected regression looks like a false-positive caused by another
dependency. The reported error is `/bin/sh: 1: python: not found` which
does not seem to be caused by the changes in libunwind.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  Fix Released
Status in libunwind source package in Kinetic:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-02-13 Thread Tobias Heider
I have installed libunwind=1.6.2-0ubuntu1.1 on my 16K page arm machine
and verified that the xorg crash is indeed fixed with this version. To
make sure it also does not negatively affect other hardware
configurations I also tested on my amd64 desktop and found that
everything still works without regressions after the update.

To test the functionality of the library I installed 
libunwind-dev=1.6.2-0ubuntu1.1 and ran the libunwind examples from 
https://github.com/daniel-thompson/libunwind-examples
The results look good:

$USER:~/libunwind-examples$ ./unwind-local 
0x55d35d0d644c: (cmp+0xe)
0x7f927ac3d33c: (bsearch+0x5c)
0x55d35d0d61fc: (main+0x5c)
0x7f927ac23510: (__libc_init_first+0x90)
0x7f927ac235c9: (__libc_start_main+0x89)
0x55d35d0d6245: (_start+0x25)


** Tags removed: verification-needed-kinetic
** Tags added: verification-done-kinetic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  Fix Released
Status in libunwind source package in Kinetic:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-02-10 Thread Timo Aaltonen
Hello Tobias, or anyone else affected,

Accepted libunwind into kinetic-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/libunwind/1.6.2-0ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
kinetic to verification-done-kinetic. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-kinetic. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: libunwind (Ubuntu)
   Status: New => Fix Released

** Changed in: libunwind (Ubuntu Kinetic)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-kinetic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  Fix Released
Status in libunwind source package in Kinetic:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-02-04 Thread Simon Quigley
LGTM, sponsored, thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-30 Thread Tobias Heider
New diff as requested by @tsimonq2. I changed the version to
1.6.2-0ubuntu1.1 and added a DEP-3 header instead of taking the
unmodified patch from lunar as I did previously.

** Patch removed: "kinetic-fix"
   
https://bugs.launchpad.net/ubuntu/kinetic/+source/libunwind/+bug/2004039/+attachment/5643674/+files/libunwind_1.6.2-0ubuntu2.debdiff

** Patch 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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-30 Thread Tobias Heider
** Description changed:

  [ 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).
+  * 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 works on a variety of different archs and kernels with   
-different page sizes. 
+  * 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.
+  * 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:
+  * 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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

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

[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-29 Thread Simon Quigley
Hi Tobias, thanks for your interest in this bug!

While I did not do a code review of the patch itself, I have some general 
feedback on the diff and the bug report itself that I hope you find helpful:
 - The version should be 1.6.2-0ubuntu1.1 instead of 1.6.2-0ubuntu2, following 
Stable Release Update guidelines. Generally speaking, 1.6.2-0ubuntu2 would only 
be appropriate for the development release.
 - As a sponsor, I prefer DEP-3 headers[1] over Git patch headers, so the patch 
stays machine-readable (and so bug references such as this one and the Debian 
bug can be inserted).
 - The bug report description should be more thorough; does Xorg hard-crash, or 
is there a workaround? Could you provide specific instructions to reproduce the 
failure, please? Same with verification steps.

For now, I'm unsubscribing the sponsors team. Please resubscribe the
team once most (or all) of these points have been addressed.

Thank you!

[1] https://dep-team.pages.debian.net/deps/dep3/

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

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).

  [ 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-27 Thread Tobias Heider
** Description changed:

- 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.
+ [ Impact ]
  
- Debian bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026217
- Upstream commit: 
https://github.com/libunwind/libunwind/commit/2d004eafc77f3c6a4bd9a44b1c35735273fd4e97
+  * 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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

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).

  [ 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-27 Thread Tobias Heider
Attached is a debdiff with the backported fix from lunar

** Patch added: "kinetic-fix"
   
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+attachment/5643674/+files/libunwind_1.6.2-0ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

Bug 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2004039] Re: libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with bigger page sizes

2023-01-27 Thread Tobias Heider
** Also affects: libunwind (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** No longer affects: libunwind (Ubuntu Jammy)

** Also affects: libunwind (Ubuntu Kinetic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/2004039

Title:
  libunwind 1.6.2-0 assumes 4k page sizes and crashes on systems with
  bigger page sizes

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Kinetic:
  New

Bug 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2004039/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp