public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13123] New: dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls
@ 2011-08-23 15:43 itakingiteasy at gmail dot com
  2011-09-08  2:47 ` [Bug libc/13123] " drepper.fsp at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: itakingiteasy at gmail dot com @ 2011-08-23 15:43 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13123

             Bug #: 13123
           Summary: dlopen() leaks 8 bytes on each time used against
                    regular binary like /bin/ls
           Product: glibc
           Version: 2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: itakingiteasy@gmail.com
    Classification: Unclassified


Created attachment 5908
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5908
Simple testcase reproducing the bug

This is might be a false positive, but valgrind reports about leak of 8 bytes
each time dlopen() called aginst regular binary like /bin/ls. I am attaching
simple test-case illustrating the problem - each time it's load() function
called valgrind reports about additional 8 bytes lost.

My system is Gentoo/amd64/libc-2.12 (but same problem is also exists on my x86
gentoo notebook and was confirmed by many people on irc with various distros
and glibc versions).

Noteworthy that this valgrind report can be avoidid by using tcmalloc/jemalloc
instead of regular glibc malloc.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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/13123] dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls
  2011-08-23 15:43 [Bug libc/13123] New: dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls itakingiteasy at gmail dot com
@ 2011-09-08  2:47 ` drepper.fsp at gmail dot com
  2011-09-08  2:59 ` drepper.fsp at gmail dot com
  2014-06-27 12:16 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-09-08  2:47 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13123

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5908|application/octet-stream    |text/plain
          mime type|                            |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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/13123] dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls
  2011-08-23 15:43 [Bug libc/13123] New: dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls itakingiteasy at gmail dot com
  2011-09-08  2:47 ` [Bug libc/13123] " drepper.fsp at gmail dot com
@ 2011-09-08  2:59 ` drepper.fsp at gmail dot com
  2014-06-27 12:16 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-09-08  2:59 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13123

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-09-08 02:59:30 UTC ---
I checked in a patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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/13123] dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls
  2011-08-23 15:43 [Bug libc/13123] New: dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls itakingiteasy at gmail dot com
  2011-09-08  2:47 ` [Bug libc/13123] " drepper.fsp at gmail dot com
  2011-09-08  2:59 ` drepper.fsp at gmail dot com
@ 2014-06-27 12:16 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13123

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
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:[~2014-06-27 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 15:43 [Bug libc/13123] New: dlopen() leaks 8 bytes on each time used against regular binary like /bin/ls itakingiteasy at gmail dot com
2011-09-08  2:47 ` [Bug libc/13123] " drepper.fsp at gmail dot com
2011-09-08  2:59 ` drepper.fsp at gmail dot com
2014-06-27 12:16 ` fweimer at redhat dot 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).