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

Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.11.0
    • None
    • Debian GNU/Linux bullseye/sid
      Linux 5.5.0-1-amd64
      x86-64
      Qt Creator 4.11.0 based on Qt 5.12.5
      cmake version 3.16.3
      clang version 9.0.1-12
    • Linux/X11

    Description

      When I open a cmake project with qt-creator, and then I open one of its c++ source file, I receive every second the following error message in the "General messages" tab: "Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted". So I loose the "Follow Symbol Under Cursor" tool, the auto-completion, etc...

      The terminal repeatedly displays this:
      "ClangCodeModelConnectionClient" LocalSocket Error: "QLocalSocket: Remote closed"
      2020-04-20T11:38:55 Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted.
      Error in ClangCodeModelServer::documentsClosed: Document '/global-path-to-my-source-file.cpp' does not exists!

      But the file "/global-path-to-my-source-file.cpp" does exist.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            thibaultlejemble thibaultlejemble
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes