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

QtCreator crashes when adding class in quick succession

    XMLWordPrintable

Details

    • Linux/X11
    • 5bc38589d8049d10d5c8401c27e576c5029aeacf

    Description

      Steps to reproduce:

      • Open QtCreator and create a new application/library project
      • In quick succession, add a new class followed by another
      • QtCreator crashes with SIGSEGV

      This crash seems to occur if you try to add a class whilst QtCreator is still internally processing the addition of the previous class (ie trying to run qmake etc).  If you wait ~30 seconds between adding classes, the crash does not occur.

      I had previously considered this a non issue thinking that adding classes in quick succession was not really a common thing to do, but since then I've revised that thought.  As such this issue has been around for a few versions of QtCreator (back to 4.5.0 at least).

      The attached backtrace was generated from a debug build of QtCreator from git branch 4.7.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            avsdev Craig Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes