With qemu-user, it's common that a process of the wrong endianness tries to parse ld.so.cache. For performance reasons, the consistency checks are somewhat limited, so crashes can be the result.
Patch: https://sourceware.org/pipermail/libc-alpha/2020-November/119447.html
Fixed for glibc 2.33 via: commit 84ba719b260551918965d0a433914de683087645 Author: Florian Weimer <fweimer@redhat.com> Date: Fri Dec 4 09:13:43 2020 +0100 elf: Add endianness markup to ld.so.cache (bug 27008) Use a reserved byte in the new format cache header to indicate whether the file is in little endian or big endian format. Eventually, this information could be used to provide a unified cache for qemu-user and similiar scenarios. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>