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

clangbackend process repeatedly crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 4.8.2, Qt Creator 4.9.0, Qt Creator 4.9.1, Qt Creator 4.9.2, Qt Creator 4.10.0, Qt Creator 4.10.2
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      The C++ code below causes the clangbackend process to repeatedly crash (message: "Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted."). This did not happen in version 4.8.1 of Qt Creator.

       

      Code to reproduce (note that removing the throw-specifier stops the crashes):

       

      template <typename T>

      class B

      { public:

           static T Func(int a) throw(int) { return T::Func(a); }

      };  

      class D : public B<D>

      {

      };

       

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            ev E Visser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes