mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
0ad670e6ea
## Summary #16957 was merged without pinning the edge version of snapcraft. The old patchelf in the current stable version of snapcraft leaves staged libraries' PT_NOTE segments stale when it relocates note sections (https://github.com/canonical/snapcraft/issues/6410). As a result, Mesa's build-id lookup walks those segments and segfaults inside vkCreateDevice, making the published amd64 snap exit silently on some machines, as reported in #67283. I knew this in https://github.com/zed-industries/zed/pull/66941#issuecomment-6947574551 , but did not update the CI accordingly before the PR was merged. Closes #67283 ## Testing To build locally: ``` sudo apt update && sudo apt install -y gettext-base # envsubst, used by script/snap-build sudo snap install lxd && sudo lxd init --auto sudo adduser "$USER" lxd # logout might be needed # edge risk contains fix for snapcraft#6410 (bundled patchelf 0.19.3) sudo snap install snapcraft --classic --channel=latest/edge ./script/snap-build 1.29.2 # any version string; produces zed_1.29.2_amd64.snap sudo snap install --dangerous ./zed_1.29.2_amd64.snap ``` ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [ ] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [ ] Tests cover the new or changed behavior. Release Notes: - Fixed builds of snap package