Bug 1569391
Summary: | Use of aligned_alloc causes invalid free in libtcmalloc | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Kefu Chai <kchai> |
Component: | gperftools | Assignee: | Paolo Bonzini <pbonzini> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | bhubbard, databases-maint, jdillama, kchai, knoel, mrezanin, pbonzini |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-12-13 12:09:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kefu Chai
2018-04-19 08:09:26 UTC
see also #1494309, which is basically the same issue filed against fedora 26. Under devtoolset-8 compiling in C++17 mode, the 'std::allocator' will automatically call 'aligned_alloc' (via 'operator new(unsigned long, std::align_val_t)') for larger alignments (i.e. cache-line). This results in a crash when the memory is allocated via glibc but freed via tcmalloc. Ok. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |