Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74349

gdb runs out of memory on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.13, 5.15.1
    • Fix Version/s: 5.13.0 RC 1
    • Component/s: Device Creation
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Debugging on Windows does not work as gdb runs out of virtual memory:

      >~"../../gdb-8.2/gdb/utils.c:749: internal-error: virtual memory exhausted: can't allocate 262191 bytes.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
      >~"(y or n) [answered Y; input not from terminal]\n"
      >&"\nThis is a bug, please report it."
      >&"  For instructions, see:\n<http://www.gnu.org/software/gdb/bugs/>."
      >&"\n\n"
      >~"../../gdb-8.2/gdb/utils.c:749: internal-error: virtual memory exhausted: can't allocate 262191 bytes.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
      >~"(y or n) [answered Y; input not from terminal]\n"
      dUNEXPECTED GDB STDERR: 
      dThis application has requested the Runtime to terminate it in an unusual way.
      dPlease contact the application's support team for more information.

       

      The windows toolchains are 32bit for compatibility with older 32bit Windows, but moving to 64bit toolchain would solve this issue.

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              sapiippo Samuli Piippo
              Reporter:
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes