From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30038 invoked by alias); 20 May 2013 15:12:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 29998 invoked by uid 48); 20 May 2013 15:12:25 -0000 From: "ondra at iuuk dot mff.cuni.cz" To: glibc-bugs@sourceware.org Subject: [Bug malloc/14581] glibc leaks memory and do not reuse after free (leading to unlimited RSS growth) Date: Mon, 20 May 2013 15:12: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ondra at iuuk dot mff.cuni.cz X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00162.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14581 OndrejBilka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ondra at iuuk dot | |mff.cuni.cz Resolution|INVALID | --- Comment #10 from OndrejBilka 2013-05-20 15:12:23 UTC --- It is valid corner case so it will be open until resolved. Rich Allocation happen to be 65536 bytes with 4096 alignment. This is not pathologic case as when you allocate 65536+4096 bytes and pick aligned address a modified bound mentioned should hold. The bound says that we must not allocate more than twice usable memory but usable memory is taken as maximum over program history. With alignment this example factor should be less than 2*(65536+4096)/65536 -- 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.