← Back to issue list

Ensure elf patching works correctly with java created ELF files

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1805206
Type
issue
State
closed
Author
~sergiusens
Labels
19.04 19.04-patchelf
Created
Updated
Closed

Current evaluation

Java-created ELF patching was addressed by snapcore/snapcraft#2533, linked by the maintainer as the resolution to the segfault issue.

Resolution: closed resolved

Reason: Maintainer Sergiusens closed the report after linking snapcore/snapcraft#2533 as the fixing PR. The exact merge commit was not available in the inspected history.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Patching the java interpreter causes segfaults.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Java-created ELF patching was addressed by snapcore/snapcraft#2533, linked by the maintainer as the resolution to the segfault issue.
stealth/space-bunny-alpha — closed resolved Java ELF patching was validated by merged Ant and Maven classic-confinement spread tests in snapcore/snapcraft#2533 (commit 029e2d0c).
stealth/space-bunny-alpha — closed stale Java ELF patching had no documented fix; the closed report had no comments, linked PR, or commit and remained inactive for 2,698 days.
qwen/qwen3.6-35b-a3b — — Closed without comments or a documented fix. The segfault when patching Java-created ELF files was abandoned or resolved internally.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The issue reported segfaults when patching Java-created ELF files. Zero comments and no follow-up indicate the problem was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. Reported segfaults when patching Java interpreters for ELF files. No fix or workaround was documented.
qwen3.6-35b-a3b-mtp-q6 — — Closed as abandoned. Patching Java interpreters caused segfaults, and no fix or merge was implemented.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2533 (confidence 98%)

    The only closing comment links this PR as the resolution.

Related issues

Issue Project State Summary Similarity
#1805205 Ensure elf patching works correctly with golang created ELF files snapcraft (launchpad) closed Fixed Go ELF patching in snapcore/snapcraft PR #2519 by updating the PatchELF handling used for Go-created binaries.
80%
#1669 patchelf with ld-linux from the future snapcraft closed Resolved by commit bdaf0b7f1, which added Snapcraft handling for PatchELF and ELF files when the built glibc/linker does not match the base.
73%
#3841 elf: add elf file patcher snapcraft merged Merged PR #3841 in commit e03a971b3, adding a patchelf-based ELF file patcher ported from Snapcraft 6.x for CRAFT-1191.
73%
#2081 elf: patch everything instead of a subset of elf files snapcraft merged Merged PR #2081 restored Snapcraft 2.39 behavior by patching every ELF file; commit 77770452b partially reverted 64f78f762a05.
70%
#3589 snap: correct patch apply for patchelf snapcraft merged Merged PR #3589 fixed PatchELF patch application in the snap build via commit d9484faf9 (merge a636d26b5).
70%