This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/18590] GDB memory leak (5+ GB) with Qt Creator in python theDumper.showData
- From: "szotsaki at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 24 Jun 2015 15:24:30 +0000
- Subject: [Bug c++/18590] GDB memory leak (5+ GB) with Qt Creator in python theDumper.showData
- Auto-submitted: auto-generated
- References: <bug-18590-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18590
Ãkos SzÅts <szotsaki at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #8387|0 |1
is obsolete| |
Attachment #8388|0 |1
is obsolete| |
--- Comment #5 from Ãkos SzÅts <szotsaki at gmail dot com> ---
Created attachment 8390
--> https://sourceware.org/bugzilla/attachment.cgi?id=8390&action=edit
Debug output with symtab-create 1
I re-ran the program now with "set debug symtab-create 1" before "bt"; I attach
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 starts
eating a lot of memory.
Here is the code:
#include <vector>
int main()
{
std::vector<int> testVector;
testVector.push_back(0);
int i = 0;
for (const auto& vector: testVector) {
i += vector;
}
return i;
}
--
You are receiving this mail because:
You are on the CC list for the bug.