[PATCH] stdlib: Support malloc-managed environ arrays for compatibility
Florian Weimer
fweimer@redhat.com
Fri Jan 24 09:15:29 GMT 2025
* H. J. Lu:
> On x32, I got
>
> [hjl@gnu-tgl-3 glibc-x32-cet]$ env -i
> LOCPATH=/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/localedata/
> LC_CTYPE=de_DE.UTF-8
> /export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/localedata/bug-setlocale1
> realloc(): invalid pointer
> Aborted (core dumped)
> [hjl@gnu-tgl-3 glibc-x32-cet]$
What's the host glibc? I expect it's env -i that's crashing because
localedata/bug-setlocale1 uses the test skeleton, and the wrapper
process would report the crash differently.
Thanks,
Florian
More information about the Libc-alpha
mailing list