pthread_detach memrery leak
Bug #1851948 reported by
qinpan1003
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu: Linux ubuntu 5.0.0-29-generic #31~18.04.1
glibc: GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27.
pthread: NPTL 2.27
When I use pthread_detach, I find that the system does not recycle resources, and the program consumes more and more memory, which is finally killed by the system.
To post a comment you must log in.
Ubuntu 16 didn't have this problem