← Back to issue list

Crash when parsing ELF file with symbols on armhf

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1879519
Type
issue
State
closed
Author
~alfonsosanchezbeato
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by snapcore/snapcraft PR #3149; the reporter confirmed that snapcraft revision 4857 resolved the armhf ELF-symbol parsing crash.

Resolution: closed resolved

Reason: PR #3149 addressed the None value passed to _ensure_str while parsing ELF symbols. The reporter confirmed that revision 4857 fixed the issue.

Evaluated by: mr-cal-bot

No scores available.

Issue body

I am getting this crash: https://paste.ubuntu.com/p/BMjVrcBv99/ while building https://github.com/alfonsosanchezbeato/abeato-gdb-snap/blob/master/snapcraft.yaml for armhf - things are good for amd64 and arm64. This happens for snapcraft 3.11 and 4.0.2.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by snapcore/snapcraft PR #3149; the reporter confirmed that snapcraft revision 4857 resolved the armhf ELF-symbol parsing crash.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#3149 (32a399c4f); revision 4857 was confirmed to resolve the armhf ELF-symbol parsing crash.
stealth/space-bunny-alpha — closed stale The armhf ELF-symbol parsing crash in Snapcraft 3.11 and 4.0.2 was closed as abandoned, without a documented fix or maintainer response.
qwen/qwen3.6-35b-a3b — — Abandoned. The report details an armhf-specific crash parsing ELF symbols in snapcraft 3.11 and 4.0.2. The issue was closed after over six years with no comments or resolution.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report describes an armhf ELF symbol parsing crash in snapcraft 3.11 and 4.0.2. With zero comments and no proposed fixes, the issue was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The armhf ELF symbol parsing crash in snapcraft 3.11 and 4.0.2 remains unfixed. No patches or comments were submitted, indicating the report was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The report details an armhf-specific crash during ELF symbol parsing in snapcraft 3.11 and 4.0.2. No comments, patches, or follow-up actions were recorded before closure.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#3149 (confidence 100%)

    The issue explicitly identifies this PR as the fix, and revision 4857 was confirmed working.

Related issues

Issue Project State Summary Similarity
#1854458 snapcraft comes with an old version of pyelftools, some builds fail due to this snapcraft (launchpad) closed Fixed ELF prime-time crashes from non-ASCII section names in snapcore/snapcraft#2830; maintainers confirmed the fix shipped as part of Snapcraft 3.10.
71%