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

gdb runs out of memory on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.13.0 RC 1
    • 5.13, 5.15.1
    • Device Creation
    • None
    • Windows

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes