Commit Graph

4 Commits

Author SHA1 Message Date
Rafael Aquini
b5e4ba016e Revert: "Allow libautohbw allocations of size zero"
It turns out that LD_PRELOAD'ing libautohbw to override glibc's malloc
with this set of changes brings up a jemalloc circular dependency problem
with TLS init. As jemalloc depends on having the TLS initialized and malloc
is (now) required to get that area initialized, having jemalloc overriding
malloc before that initialization causes a recursion where TLS_init calls
malloc, which goes to jemalloc which requires TLS_init [1]. This recursion
causes the stack to grow unbounded up to the point it smashes into the
first shared lib mapping that happens to be mapped below the stack gap
leading the program to coredump with a SIGSEGV.

[1] https://github.com/jemalloc/jemalloc/issues/2472

Related: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2024-02-29 18:02:30 -05:00
Rafael Aquini
46ae59eceb Follow-up fixes to the SPEC file
- Follow-up fix for a minor typo in the changelogs (RHEL-14497)
- Adjust the RPM license to match SPDX format   (RHELMISC-1262)

Related: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2023-11-30 12:04:16 -05:00
Rafael Aquini
f65898f1be Allow libautohbw allocations of size zero
Resolves: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2023-11-13 16:04:39 -05:00
James Antill
3ec2ec075e Auto sync2gitlab import of memkind-1.10.1-1.el8.src.rpm 2022-05-26 11:21:30 -04:00