From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91085 invoked by alias); 24 Jun 2015 15:24:31 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 91058 invoked by uid 48); 24 Jun 2015 15:24:31 -0000 From: "szotsaki at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/18590] GDB memory leak (5+ GB) with Qt Creator in python theDumper.showData Date: Wed, 24 Jun 2015 15:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: szotsaki at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00456.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18590 =C3=81kos Sz=C5=91ts changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8387|0 |1 is obsolete| | Attachment #8388|0 |1 is obsolete| | --- Comment #5 from =C3=81kos Sz=C5=91ts --- Created attachment 8390 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D8390&action=3Dedit Debug output with symtab-create 1 I re-ran the program now with "set debug symtab-create 1" before "bt"; I at= tach its output. Apart from this, I think I also can provide a short example code. When Qt Creator tries to list the stack on the 10th line (the "for" loop), GDB star= ts eating a lot of memory. Here is the code: #include int main() { std::vector testVector; testVector.push_back(0); int i =3D 0; for (const auto& vector: testVector) { i +=3D vector; } return i; } --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-18263-listarch-gdb-prs=sources.redhat.com@sourceware.org Wed Jun 24 15:29:53 2015 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 105835 invoked by alias); 24 Jun 2015 15:29:53 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 105804 invoked by uid 48); 24 Jun 2015 15:29:53 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/18590] GDB memory leak (5+ GB) with Qt Creator in python theDumper.showData Date: Wed, 24 Jun 2015 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: 2015-q2/txt/msg00457.txt.bz2 Content-length: 242 https://sourceware.org/bugzilla/show_bug.cgi?id=18590 --- Comment #6 from dje at google dot com --- Thanks. I see only 26 symtabs created so that theory is shot. -- You are receiving this mail because: You are on the CC list for the bug.