public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
@ 2011-02-07 10:22 ` jsarenik at redhat dot com
  2012-02-21  1:43 ` [Bug malloc/11087] " jsm28 at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jsarenik at redhat dot com @ 2011-02-07 10:22 UTC (permalink / raw)
  To: glibc-bugs

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

Jan Sarenik <jsarenik at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsarenik at redhat dot com

-- 
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] 6+ messages in thread

* [Bug malloc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
  2011-02-07 10:22 ` [Bug libc/11087] mallinfo miscounting hblks because of missing mutex jsarenik at redhat dot com
@ 2012-02-21  1:43 ` jsm28 at gcc dot gnu.org
  2013-10-20 15:44 ` stef.van-vlierberghe at telenet dot be
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-21  1:43 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |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] 6+ messages in thread

* [Bug malloc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
  2011-02-07 10:22 ` [Bug libc/11087] mallinfo miscounting hblks because of missing mutex jsarenik at redhat dot com
  2012-02-21  1:43 ` [Bug malloc/11087] " jsm28 at gcc dot gnu.org
@ 2013-10-20 15:44 ` stef.van-vlierberghe at telenet dot be
  2013-10-30 15:28 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: stef.van-vlierberghe at telenet dot be @ 2013-10-20 15:44 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from stef van vlierberghe <stef.van-vlierberghe at telenet dot be> ---
Indeed, thanks for the comment.

But I'm not the one to be convinced, and have lost interest, replaced glibc
malloc by tcmalloc more than a year ago. It does not have the mallinfo issue,
provides good tracability. Allows us to use mallinfo-style interface and
collect correct stats in memory (no log file issues), allocates more
efficiently (especially the small blocks), and is faster. 

It also provides a design that allows malloc/free callers providing the size
and alignment requirements of the block to be allocated/freed (often these are
static values, so free is only wasting time by re-evaluating these arguments
based on stored information). The glibc design was great when nobody could
trust callers to provide correct values, but luckily this is no longer an issue
in many cases/ environments.

Maybe glibc will eventually catch up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug malloc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-10-30 15:28 ` cvs-commit at gcc dot gnu.org
@ 2013-10-30 15:28 ` neleai at seznam dot cz
  2014-06-13 10:59 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: neleai at seznam dot cz @ 2013-10-30 15:28 UTC (permalink / raw)
  To: glibc-bugs

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

Ondrej Bilka <neleai at seznam dot cz> changed:

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

--- Comment #7 from Ondrej Bilka <neleai at seznam dot cz> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug malloc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-10-20 15:44 ` stef.van-vlierberghe at telenet dot be
@ 2013-10-30 15:28 ` cvs-commit at gcc dot gnu.org
  2013-10-30 15:28 ` neleai at seznam dot cz
  2014-06-13 10:59 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-10-30 15:28 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
       via  c6e4925d4069d38843c02994ffd284e8c87c8929 (commit)
      from  bbea82f7fe8af40fd08e8956e1aaf4d877168652 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6e4925d4069d38843c02994ffd284e8c87c8929

commit c6e4925d4069d38843c02994ffd284e8c87c8929
Author: Ondřej Bílka <neleai@seznam.cz>
Date:   Wed Oct 30 16:24:38 2013 +0100

    Use atomic operations to track memory. Fixes bug 11087

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    9 ++++++++-
 NEWS            |   16 ++++++++--------
 malloc/malloc.c |   23 +++++++++++------------
 3 files changed, 27 insertions(+), 21 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-20012-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Oct 30 18:44:40 2013
Return-Path: <glibc-bugs-return-20012-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 9497 invoked by alias); 30 Oct 2013 18:44:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 9462 invoked by uid 48); 30 Oct 2013 18:44:37 -0000
From: "neleai at seznam dot cz" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/15991] Error after calling proc by pointer: `malloc.c:3096: sYSMALLOc'...
Date: Wed, 30 Oct 2013 18:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neleai at seznam dot cz
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-15991-131-IbzmKgRZiY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15991-131@http.sourceware.org/bugzilla/>
References: <bug-15991-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-10/txt/msg00371.txt.bz2
Content-length: 532

https://sourceware.org/bugzilla/show_bug.cgi?id\x15991

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Ondrej Bilka <neleai at seznam dot cz> ---
Closing as this is application issue.

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug malloc/11087] mallinfo miscounting hblks because of missing mutex
       [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2013-10-30 15:28 ` neleai at seznam dot cz
@ 2014-06-13 10:59 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 10:59 UTC (permalink / raw)
  To: glibc-bugs

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

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] 6+ messages in thread

end of thread, other threads:[~2014-06-13 10:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11087-131@http.sourceware.org/bugzilla/>
2011-02-07 10:22 ` [Bug libc/11087] mallinfo miscounting hblks because of missing mutex jsarenik at redhat dot com
2012-02-21  1:43 ` [Bug malloc/11087] " jsm28 at gcc dot gnu.org
2013-10-20 15:44 ` stef.van-vlierberghe at telenet dot be
2013-10-30 15:28 ` cvs-commit at gcc dot gnu.org
2013-10-30 15:28 ` neleai at seznam dot cz
2014-06-13 10:59 ` 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).