[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

Alkis Georgopoulos 1926355 at bugs.launchpad.net
Sun Jul 11 07:01:34 UTC 2021


Another variant of the problem that I mentioned in comment #15. An
ubuntu user just reported it on IRC:

$ apt install clang
The following packages have unmet dependencies:
 clang : Depends: clang-10 (>= 10~) but it is not going to be installed

That apt message is misleading, as the underlying error is the libc6
version:

$  dpkg -l | awk '$3=="2.31-0ubuntu9.3" { print $2, $3 }'
libc-bin 2.31-0ubuntu9.3
libc-dev-bin 2.31-0ubuntu9.3
libc6:amd64 2.31-0ubuntu9.3
libc6:i386 2.31-0ubuntu9.3
libc6-dbg:amd64 2.31-0ubuntu9.3
libc6-dev:amd64 2.31-0ubuntu9.3
locales 2.31-0ubuntu9.3

To be able to install clang, all these packages would have to be
downgraded manually, with:

$ sudo apt install $(dpkg -l | awk '$3=="2.31-0ubuntu9.3" { print
$2"=2.31-0ubuntu9.2" }')

The following packages will be DOWNGRADED:
  libc-bin libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev locales

But we can't expect thousands of Ubuntu users to run that command manually.
Please do upload a new glibc 2.31-0ubuntu9.4 version, to amend this issue...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1926355

Title:
  Snap applications segfault with new core20 (rev: 1015+)

Status in snap-core20:
  New
Status in Snapcraft:
  Fix Released
Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Focal:
  In Progress
Status in glibc source package in Groovy:
  Fix Released
Status in glibc source package in Hirsute:
  Fix Released

Bug description:
  [Impact]

  * Core20 snap built with updated glibc crashes snaps also bundling
  glibc.

  [Test Plan]

  * Build core20 snap with glibc in focal-proposed. Test a snap (which
  is not core20) bundling glibc:

  TODO: install locally built core20? 
  snap install test-snapd-rsync-core20 --edge
  snap run test-snapd-rsync-core20.rsync

  [Where problems could occur]

  * The previous glibc update (2.31-0ubuntu9.3) had a fix (LP: #1914044)
  that broke snaps bundling a previous version of glibc
  (2.31-0ubuntu9.2) due to them being incompatible. The fix of LP:
  #1914044 is reverted and 2.31-0ubuntu9.4 does not include changes
  incompatible with 2.31-0ubuntu9.2, thus the crash should not occur. No
  problems are expected.

  [Original Bug Text]
  It seems that with our new core20 in the beta channel all snaps seem to be segfaulting. We recently had a new glibc landed in focal-updates - might be related.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions



More information about the foundations-bugs mailing list