diff options
author | Zhixiong Chi <zhixiong.chi@windriver.com> | 2017-11-26 22:53:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-04 12:57:43 +0000 |
commit | 3ab224951c3210e8a5a3a1f5995372b0f2501163 (patch) | |
tree | d87f81f5f097e70b712b084de021a0ee750abd7f /meta/recipes-core/glibc/glibc_2.26.bb | |
parent | b894de417618c4a79df074dc22912466e2501ad5 (diff) | |
download | poky-3ab224951c3210e8a5a3a1f5995372b0f2501163.tar.gz |
glibc: malloc: Add missing arena lock in malloc_info
There are the multiple process crashes seen while using malloc_info.
Obtain the size information while the arena lock is acquired, and only
print it later.
Backport patch from https://sourceware.org/git/gitweb.cgi?p=glibc.git;
h=7a9368a1174cb15b9f1d6342e0e10dd90dae238d
(From OE-Core rev: 7ecbb31fbaf1d056c9301166700e2967bd623489)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc_2.26.bb')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.26.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.26.bb b/meta/recipes-core/glibc/glibc_2.26.bb index 5213a6a942..04d97734b3 100644 --- a/meta/recipes-core/glibc/glibc_2.26.bb +++ b/meta/recipes-core/glibc/glibc_2.26.bb | |||
@@ -42,6 +42,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
42 | file://0025-locale-fix-hard-coded-reference-to-gcc-E.patch \ | 42 | file://0025-locale-fix-hard-coded-reference-to-gcc-E.patch \ |
43 | file://0027-glibc-reset-dl-load-write-lock-after-forking.patch \ | 43 | file://0027-glibc-reset-dl-load-write-lock-after-forking.patch \ |
44 | file://0028-Bug-4578-add-ld.so-lock-while-fork.patch \ | 44 | file://0028-Bug-4578-add-ld.so-lock-while-fork.patch \ |
45 | file://0029-malloc-add-missing-arena-lock-in-malloc-info.patch \ | ||
45 | " | 46 | " |
46 | 47 | ||
47 | NATIVESDKFIXES ?= "" | 48 | NATIVESDKFIXES ?= "" |