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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated 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

      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"!

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes