public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26821] New: Memory leak test failures on Fedora 33
@ 2020-10-30 18:02 hjl.tools at gmail dot com
2020-11-19 12:26 ` [Bug libc/26821] " stli at linux dot ibm.com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-30 18:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26821
Bug ID: 26821
Summary: Memory leak test failures on Fedora 33
Product: glibc
Version: 2.33
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
On Fedora 33/x86-64, I got
FAIL: posix/bug-ga2-mem
FAIL: resolv/mtrace-tst-leaks2
which passed on Fedora 32/x86-64.
[hjl@gnu-cfl-2 build-x86_64-linux]$ cat posix/bug-ga2-mem.out
Memory not freed:
-----------------
Address Size Caller
0x0000000001844ee0 0x1b at 0x7f65753bd1bc
0x0000000001844f10 0x4b4 at 0x7f65753aade1
0x00000000018453d0 0x1b at 0x7f65753ab0b9
0x0000000001845400 0x15 at 0x7f65753bd1bc
0x0000000001845420 0x4ae at 0x7f65753aade1
0x00000000018458e0 0x15 at 0x7f65753ab0b9
0x0000000001845900 0x53 at 0x7f65753a5c87
0x0000000001845960 0x4b0 at 0x7f65753aade1
0x0000000001845e20 0x53 at 0x7f65753ab0b9
0x0000000001845f50 0x1e0 at 0x7f65753b0276
0x0000000001846140 0x180 at 0x7f65753b0276
0x00000000018462d0 0x210 at 0x7f65753b0276
0x00000000018471f0 0x58 at 0x7f65753b100e
[hjl@gnu-cfl-2 build-x86_64-linux]$
[hjl@gnu-cfl-2 build-x86_64-linux]$ cat resolv/mtrace-tst-leaks2.out
Memory not freed:
-----------------
Address Size Caller
0x000000000219ac10 0x1b at 0x7f4d6d6ef1bc
0x000000000219ac40 0x4b4 at 0x7f4d6d6dcde1
0x000000000219b100 0x1b at 0x7f4d6d6dd0b9
0x000000000219b130 0x15 at 0x7f4d6d6ef1bc
0x000000000219b150 0x4ae at 0x7f4d6d6dcde1
0x000000000219b610 0x15 at 0x7f4d6d6dd0b9
0x000000000219b630 0x53 at 0x7f4d6d6d7c87
0x000000000219b690 0x4b0 at 0x7f4d6d6dcde1
0x000000000219bb50 0x53 at 0x7f4d6d6dd0b9
0x000000000219bc80 0x1e0 at 0x7f4d6d6e2276
0x000000000219be70 0x180 at 0x7f4d6d6e2276
0x000000000219c000 0x210 at 0x7f4d6d6e2276
0x000000000219cf20 0x58 at 0x7f4d6d6e300e
[hjl@gnu-cfl-2 build-x86_64-linux]$
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/26821] Memory leak test failures on Fedora 33
2020-10-30 18:02 [Bug libc/26821] New: Memory leak test failures on Fedora 33 hjl.tools at gmail dot com
@ 2020-11-19 12:26 ` stli at linux dot ibm.com
2020-11-23 9:56 ` stli at linux dot ibm.com
2020-11-25 7:35 ` stli at linux dot ibm.com
2 siblings, 0 replies; 4+ messages in thread
From: stli at linux dot ibm.com @ 2020-11-19 12:26 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26821
Stefan Liebler <stli at linux dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stli at linux dot ibm.com
--- Comment #1 from Stefan Liebler <stli at linux dot ibm.com> ---
Usually all malloc'ed resources from getaddrinfo / gethostbyname are freed
and the libraries are dlclose'd in nss/nsswitch.c:libc_freeres_fn (free_mem).
Unfortunately, /lib64/libnss_resolve.so.2 is marked with DF_1_NODELETE.
As this library is not unmapped, you see "Memory not freed".
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/26821] Memory leak test failures on Fedora 33
2020-10-30 18:02 [Bug libc/26821] New: Memory leak test failures on Fedora 33 hjl.tools at gmail dot com
2020-11-19 12:26 ` [Bug libc/26821] " stli at linux dot ibm.com
@ 2020-11-23 9:56 ` stli at linux dot ibm.com
2020-11-25 7:35 ` stli at linux dot ibm.com
2 siblings, 0 replies; 4+ messages in thread
From: stli at linux dot ibm.com @ 2020-11-23 9:56 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26821
Stefan Liebler <stli at linux dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.33
Status|NEW |RESOLVED
--- Comment #2 from Stefan Liebler <stli at linux dot ibm.com> ---
Fixed with commit
"Use libnss_files.so for tests posix/bug-ga2 and resolv/tst-leaks2 [BZ #26821]"
https://sourceware.org/git/?p=glibc.git;a=commit;h=29fddfc7dfd6444fa61a256e9a0d0127545e1f2e
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/26821] Memory leak test failures on Fedora 33
2020-10-30 18:02 [Bug libc/26821] New: Memory leak test failures on Fedora 33 hjl.tools at gmail dot com
2020-11-19 12:26 ` [Bug libc/26821] " stli at linux dot ibm.com
2020-11-23 9:56 ` stli at linux dot ibm.com
@ 2020-11-25 7:35 ` stli at linux dot ibm.com
2 siblings, 0 replies; 4+ messages in thread
From: stli at linux dot ibm.com @ 2020-11-25 7:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26821
--- Comment #3 from Stefan Liebler <stli at linux dot ibm.com> ---
See also the follow-up commit:
"Mark mtrace tests UNSUPPORTED if bug-ga2.mtrace or tst-leaks2.mtrace are
missing"
https://sourceware.org/git/?p=glibc.git;a=commit;h=aa7e05c3043302403e91b85c4aea39e0aac6c7c8
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-25 7:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 18:02 [Bug libc/26821] New: Memory leak test failures on Fedora 33 hjl.tools at gmail dot com
2020-11-19 12:26 ` [Bug libc/26821] " stli at linux dot ibm.com
2020-11-23 9:56 ` stli at linux dot ibm.com
2020-11-25 7:35 ` stli at linux dot ibm.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).