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

Use of 'alignof()' immediately crashes QtCreator

    XMLWordPrintable

Details

    • Linux/X11
    • 005e7aa54de0932323e44f752a4b51a421d0dc7d (qt-creator/qt-creator/4.11)

    Description

      Launch QtC. Using project wizard create 'Plain C++ Application'. In main.cpp try to place:

      alignof()
      

      In my case this crashes QtCreator 100% of the time.  If I edit this file externally QtCreator crashes as soon as it tries to parse it during project reopening.

      I'm using QtCreator that reports itself as:

      Based on Qt 5.14.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
      
      Built on Nov 1 2019 00:37:35
      
      From revision 9985d623a4
      

      Under KUbuntu:

      Distributor ID: Ubuntu
      Description:    Ubuntu 18.04.3 LTS
      Release:        18.04
      Codename:       bionic
      

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              izowiuz Jakub Narolewski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes