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

Clang backend crashes on opening stl_deque.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.13.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

    Description

      In the attached test project, when following to the definition of `std::deque`, clangbackend starts to repeatedly crash.

      1. Open the project and run CMake.
      2. Point the cursor to the `std::deque` type of `m_foos` and follow to the type definition.
      3. QtCreator opens stl_deque.h:849 and clangbackend starts crashing repeatedly with the following message:

      2020-07-23T15:27:53 Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted.
      

      This is happening on Kubuntu 20.04 with its stock gcc 9.3 (the stl_deque.h file is from libstdc++ used with that compiler).

      Attachments

        1. clang.log
          20 kB
        2. qtcreator_clangbackend_crash_test.tar.xz
          0.4 kB
        3. qtcreator.log
          197 kB
        4. stl_deque-a0b031.hh.xz
          53 kB
        5. Window.cpp
          141 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            lastique Andrey Semashev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes