public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14456] New: internal-error: virtual memory exhausted
@ 2012-08-11 16:03 thamos at email dot cz
  2012-08-14 17:07 ` [Bug c++/14456] " keiths at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thamos at email dot cz @ 2012-08-11 16:03 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/14456] internal-error: virtual memory exhausted
  2012-08-11 16:03 [Bug c++/14456] New: internal-error: virtual memory exhausted thamos at email dot cz
@ 2012-08-14 17:07 ` keiths at redhat dot com
  2012-08-22 15:02 ` palves at redhat dot com
  2014-11-17 23:14 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: keiths at redhat dot com @ 2012-08-14 17:07 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14456

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keiths at redhat dot com

--- Comment #1 from Keith Seitz <keiths at redhat dot com> 2012-08-14 17:07:18 UTC ---
I tried to reproduce this but failed on both 7.4.1-20120718-cvs and
7.5.50-20120808-cvs (HEAD from one week ago).

Does the problem occur if you disable pretty-printing of STL containers?

I don't suppose you could reproduce the error and provide a stack backtrace?
That would be incredibly useful.

-- 
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/14456] internal-error: virtual memory exhausted
  2012-08-11 16:03 [Bug c++/14456] New: internal-error: virtual memory exhausted thamos at email dot cz
  2012-08-14 17:07 ` [Bug c++/14456] " keiths at redhat dot com
@ 2012-08-22 15:02 ` palves at redhat dot com
  2014-11-17 23:14 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: palves at redhat dot com @ 2012-08-22 15:02 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14456

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |palves at redhat dot com

-- 
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/14456] internal-error: virtual memory exhausted
  2012-08-11 16:03 [Bug c++/14456] New: internal-error: virtual memory exhausted thamos at email dot cz
  2012-08-14 17:07 ` [Bug c++/14456] " keiths at redhat dot com
  2012-08-22 15:02 ` palves at redhat dot com
@ 2014-11-17 23:14 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2014-11-17 23:14 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=14456

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at google dot com

--- Comment #2 from dje at google dot com ---
Perhaps related, perhaps not, but fyi,
see pr 17614 for an OOM with a backtrace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-17 23:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-11 16:03 [Bug c++/14456] New: internal-error: virtual memory exhausted thamos at email dot cz
2012-08-14 17:07 ` [Bug c++/14456] " keiths at redhat dot com
2012-08-22 15:02 ` palves at redhat dot com
2014-11-17 23:14 ` dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).