Bug 432721
Summary: | pthread_create leaks memory | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Julien Pierre <julien.pierre.boogz> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 4.0 | CC: | kengert, wtc |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-14 08:19:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Julien Pierre
2008-02-13 23:57:47 UTC
What makes you think this is a leak? NPTL has a cache of thread stacks prepared for reuse, so the memory is still accessible. If you 1000 times pthread_create followed by 1000 pthread_join calls, you won't get 1000 unfreed blocks. |