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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.1.1
    • Fix Version/s: Qt Creator 3.1.2
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Linux / fresh install of kubuntu-14.04-desktop-i386.iso
    • Commits:
      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

          For Gerrit Dashboard: QTCREATORBUG-12330
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                hjk hjk
                Reporter:
                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