patchelf icon indicating copy to clipboard operation
patchelf copied to clipboard

Segfault with auditwheel and patchelf

Open lpsinger opened this issue 1 year ago • 2 comments

Describe the bug

I have a binary in a Python wheel that I have processed with auditwheel that segfaults. The segfaults go away if I downgrade to patchelf<0.16.1, so patchelf 0.16.1 introduced the issue.

Steps To Reproduce

See https://git.ligo.org/lscsoft/lalsuite/-/jobs/3382624.

Or, install the wheel from https://git.ligo.org/lscsoft/lalsuite/-/jobs/3382624/artifacts/raw/wheelhouse/lalsuite-7.22.1-cp312-cp312-manylinux_2_28_x86_64.whl and run the command lalapps_version.

$ docker run --rm -it python:3.12 bash
root@25236202b91a:/# pip install https://git.ligo.org/lscsoft/lalsuite/-/jobs/3382624/artifacts/raw/wheelhouse/lalsuite-7.22.1-cp312-cp312-manylinux_2_28_x86_64.whl
root@25236202b91a:/# lalapps_version 
Segmentation fault

Expected behavior

Command should succeed without segfaulting.

patchelf --version output

patchelf 0.17.2

Additional context

N/A

lpsinger avatar Jun 07 '24 15:06 lpsinger