Date: Mon, 14 Sep 2015 11:58:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203097] [libgeom] multiple geom_stats_open/close() leaks memory Message-ID: <bug-203097-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203097 Bug ID: 203097 Summary: [libgeom] multiple geom_stats_open/close() leaks memory Product: Base System Version: 10.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: erik@datahack.se This program leaks non-RES memory, probably due to MAP_SHARED in the the mmap() reallocation. <code> #include <libgeom.h> int main() { while (1) { geom_stats_open(); geom_stats_close(); } return 0; } </code> # clang bug.c -lgeom && ./a.out -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203097-8>