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

Union containing a struct with __attribute__ causing editor crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.5.1
    • Qt Creator 3.1.1
    • Editors
    • None
    • Ubuntu 14.04; Qt 5.2.1

    Description

      Attached is a example piece that causes the crash.

      If within the function and try to use the auto complete feature in the example within the function, the IDE will segfault when attempting to auto complete data within the union.

      In my personal code, the segfault is happening as soon as I declare the structure. However if I give the structure with the attribute a name, the segfault does not occur (however this should not be required, since compilation can occur without).

      Attachments

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

        Activity

          People

            davschul David Schulz
            js08k Joshua Strickland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes