sgerrand / alpine-pkg-glibc

A glibc compatibility layer package for Alpine Linux
2.04k stars 280 forks source link

Missing symbos to debug a `malloc` crash in glibc-compat #189

Closed joeyleeeeeee97 closed 1 year ago

joeyleeeeeee97 commented 1 year ago
file /usr/glibc-compat/lib/libc.so.6
/usr/glibc-compat/lib/libc.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /usr/glibc-compat/lib/ld-linux-x86-64.so.2, BuildID[sha1]=316001e1498890b89a5720637deda5f3b952d329, for GNU/Linux 3.2.0, stripped

Where could we find an unstripped glibc-2.33-r0.apk ?

By the way, I am running alpine with apk add glibc-2.33-r0.apk glibc-bin-2.33-r0.apk glibc-i18n-2.33-r0.apk with a glibc compiled JVM but I am getting inconsistent crashes, most in libc-compact maclloc(), but the detailed symbols are stripped.

image

Thanks

sgerrand commented 1 year ago

@joeyleeeeeee97: Would you please provide a minimal example Dockerfile which demonstrates the problem you're experiencing it. Without that I am unable to investigate this matter further.

joeyleeeeeee97 commented 1 year ago

close this , seems irrelevant, caused by application code.