← Back to issue list

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

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1926355
Type
issue
State
closed
Author
~anonymouse67
Labels
regression-update verification-needed verification-needed-focal
Created
Updated
Closed

Current evaluation

Resolved by Snapcraft 4.6.1 (commit 0bf7a2e), which stopped erroneously staging libc; glibc 2.31-0ubuntu9.4 also reverted the incompatible 9.3 change. Affected snaps require rebuilding.

Resolution: closed resolved

Reason: Commit 0bf7a2e6619b0037a50caeb49d28788c021d0921 fixed the release-time staging bug in Snapcraft 4.6.1, and a maintainer confirmed affected snaps only needed rebuilding. Glibc 2.31-0ubuntu9.4 separately restored compatibility by reverting the problematic 9.3 changes.

Evaluated by: mr-cal-bot

No scores available.

Issue body

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

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Resolved by Snapcraft 4.6.1 (commit 0bf7a2e), which stopped erroneously staging libc; glibc 2.31-0ubuntu9.4 also reverted the incompatible 9.3 change. Affected snaps require rebuilding.
stealth/space-bunny-alpha — closed resolved Fixed in glibc 2.31-0ubuntu9.4 by reverting incompatible 2.31-0ubuntu9.3 changes; Snapcraft 4.6.1 also fixed erroneous libc staging.
stealth/space-bunny-alpha — closed resolved Resolved in glibc 2.31-0ubuntu9.4, which reverted incompatible 2.31-0ubuntu9.3 changes and stopped core20 and glibc-bundling snaps from segfaulting.
qwen/qwen3.6-35b-a3b — — Resolved in glibc 2.31-0ubuntu9.4. The update reverted incompatible changes from the previous release, fixing the core20 snap segfault regression. Issue closed.
qwen/qwen3.6-35b-a3b — — Closed. Resolved a core20 glibc regression causing bundled-glibc snaps to segfault. Incompatible changes were reverted in glibc 2.31-0ubuntu9.4, restoring compatibility and preventing crashes.
qwen/qwen3.6-35b-a3b — — Fixed by reverting the incompatible glibc change in version 2.31-0ubuntu9.4, restoring compatibility for snaps bundling glibc and preventing core20 segfaults.
qwen3.6-35b-a3b-mtp-q6 — — Resolved by reverting the incompatible glibc change in version 2.31-0ubuntu9.4, preventing core20 snap segfaults.

Update history

Date Change
created

Related work

  • Caused By: ubuntu#1914044 (confidence 98%)

    The glibc 9.3 compatibility change was identified as the trigger and was reverted.

  • Related To: ubuntu#1867502 (confidence 95%)

    Installer and deployment failures were linked to the same glibc regression.

Related issues

Issue Project State Summary Similarity
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without a documented fix after core20 Multipass/LXD failures; core20 build-base support was unavailable and the workaround was destructive mode.
72%
#1862256 snapcraft should complain loudly when building base: core20 snap on i386 snapcraft (launchpad) closed Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling.
72%
#5003 Building snap with `core20` failed with non-informative error message snapcraft open The misleading core20 snapcraft-pack error was fixed by merged PR #5616 (commit b511004af), which ran the lifecycle for legacy core20 snaps.
72%
#1976221 Missing linker base while building with core22 base snapcraft (launchpad) closed Resolved by upgrading from legacy Snapcraft to Snapcraft 7.x, which correctly builds core22 snaps; no code fix or linked PR was recorded.
71%
#1918705 `stage-snaps: mir-kiosk-x11` segfaults on `base: core18` snapcraft (launchpad) closed Closed as stale after the core18/core20 stage-snaps switch could not be reproduced; no reproducer or fixing PR or commit was supplied.
71%