python icon indicating copy to clipboard operation
python copied to clipboard

python 2.7.18 alpine image based on broken musl version

Open gnurizen opened this issue 1 year ago • 1 comments

The python 2.7.18 alpine image based on alpine 3.11.5 has a broken ld-musl build. Its using musl 1.1.24 r2 which has a busted crc link between the musl and musl-dbg package:

msg="CRC checksum mismatch" exe=/proc/1698625/root/lib/ld-musl-x86_64.so.1:b48ff764 debuglink=/proc/1698625/root/usr/lib/debug/lib/ld-musl-x86_64.so.1.debug:cdfc8916

alpine-3.11.8 doesn't have this problem, apparently musl 1.1.24 r3 fixed it:

` / # readelf -wk /lib/ld-musl-x86_64.so.1 Contents of the .gnu_debuglink section:

Separate debug info file: ld-musl-x86_64.so.1.debug CRC value: 0xcdfc8916 `

Not sure this rises to level of something that should be fixed or if that ship has sailed but thought it was worth mentioning. Programs that rely on debug information for doing things like stack unwinding may be affected by this bug (ie http://github.com/parca-dev).

gnurizen avatar Mar 30 '24 15:03 gnurizen

This is really unfortunate, but that tag has not been actively maintained or updated in four years now. :sweat_smile:

tianon avatar Apr 01 '24 17:04 tianon

Closing because the 2.7 image is not supported. Python 2.7 has been "end of life" since Jan 2020.

yosifkit avatar Jul 15 '24 23:07 yosifkit