Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12330

GDB Process Terminated on any breakpoint, during dump of ::staticMetaObject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.1.2
    • Qt Creator 3.1.1
    • Debugger
    • None
    • Linux / fresh install of kubuntu-14.04-desktop-i386.iso
    • a9e1eef089cfddf71767b7e9798fbb0fd0b31168

    Description

      For me the repro steps are simple. Install Kubuntu 14.04, install Qt Creator, set breakpoint, run debugger. When breakpoint is hit, debugger terminates and app continues to run disconnected from the debugger. Debug log says the debugger has exceeded virtual memory, is "ILL", and closes out.

      Cause is an unreasonably large size is being passed into GDB on readMemory call. The offending item is a ::staticMetaObject.

      The patch described in this blog post seemingly mitigates the crash, so I can get back to coding:

      http://blog.hostilefork.com/qtcreator-qt5-gdb-process-terminated/

      But obviously, not a very good "solution"!

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              hostilefork Brian Dickens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes