dda1c6c466
The inclusion of the static libc_common library in the malloc_debug_XXX.so shared libraries causes constructors to be called twice. This doesn't seem to have caused any issues when setting the libc.debug.malloc property. However, jemalloc crashes because there are two jemalloc implementations, one in the static libc_common library and one in the shared library. Each implementation has created overlapping thread keys that are not the same. The crash comes because one of the jemalloc keys is actually used by the locale setting code. Thus if someone sets the locale, the jemalloc code crashes trying to access the same key. Change-Id: Iaac650a82d69064db148a6333e9403744f68b4a4 |
||
---|---|---|
.. | ||
arch-arm | ||
arch-arm64 | ||
arch-common/bionic | ||
arch-mips | ||
arch-mips64 | ||
arch-x86 | ||
arch-x86_64 | ||
bionic | ||
dns | ||
include | ||
kernel | ||
private | ||
stdio | ||
stdlib | ||
tools | ||
tzcode | ||
unistd | ||
upstream-dlmalloc | ||
upstream-freebsd | ||
upstream-netbsd | ||
upstream-openbsd | ||
zoneinfo | ||
Android.mk | ||
crt.mk | ||
MODULE_LICENSE_BSD | ||
NOTICE | ||
SYSCALLS.TXT |