This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14456] New: internal-error: virtual memory exhausted


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]