This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14456] New: internal-error: virtual memory exhausted
- From: "thamos at email dot cz" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 11 Aug 2012 16:03:27 +0000
- Subject: [Bug c++/14456] New: internal-error: virtual memory exhausted
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14456
Bug #: 14456
Summary: internal-error: virtual memory exhausted
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: thamos@email.cz
Classification: Unclassified
GDB (with python support) crashes with following description:
C:/MinGW/msys/1.0/src/gdb/gdb-python-7.4-1-mingw32-src/gdb-python-7.4-2/src/gdb-7.4/gdb/utils.c:1246:
internal-error: virtual memory exhausted: can't allocate 2009222722 bytes.
when stepping into x constructor (main) in this C++ code:
#include <string>
class T
{
public:
T(std::string str)
{
}
};
int main() {
std::string str = "";
T x(str);
return 0;
}
--
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.