Open nikhil-sec opened 9 months ago
If I try to upgrade glibc to the latest version: 2.35-r1, during miniconda installation I start to get the below errors:
Error relocating /opt/python/conda.exe: __strcat_chk: symbol not found
Error relocating /opt/python/conda.exe: __snprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __vfprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __realpath_chk: symbol not found
Error relocating /opt/python/conda.exe: __strdup: symbol not found
Error relocating /opt/python/conda.exe: __stpcpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __vsnprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __strncpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __strcpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __fprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __strncat_chk: symbol not found
Error relocating /opt/python/conda.exe: __strcat_chk: symbol not found
Error relocating /opt/python/conda.exe: __snprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __vfprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __realpath_chk: symbol not found
Error relocating /opt/python/conda.exe: __strdup: symbol not found
Error relocating /opt/python/conda.exe: __stpcpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __vsnprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __strncpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __strcpy_chk: symbol not found
Error relocating /opt/python/conda.exe: __fprintf_chk: symbol not found
Error relocating /opt/python/conda.exe: __strncat_chk: symbol not found
Thanks for filing this detailed bug report. I'll be able to review it this weekend and create any related patches.
@sgerrand did you get a chance to look into this?
2.35 is mostly broken (https://github.com/sgerrand/alpine-pkg-glibc/issues/210), as reported in https://github.com/sgerrand/alpine-pkg-glibc/issues/204#issuecomment-1682139068, upgrade to the latest version should just fix the issue
I'm trying to upgrade Python to the latest Python version, but even with a minor Python version upgrade getting segmentation fault error. Current python version: 3.9.12 Next Python upgrade plan: >=3.9.17
In the below Dockerfile, if we replace
ARG CONDA_VERSION
&ARG SHA256SUM
with the previous Python version(mentioned in the comment of Dockerfile) then everything is working fine.Steps to reproduce:
docker build -t python39:test .
docker run -it --entrypoint bash python39:test
python
@sgerrand please check.