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

Qt Creator crashes when enabling clangcodemodel logging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 13.0.0-beta2
    • Qt Creator 12.0.2
    • C/C++/Obj-C++ Support
    • None
    • Qt Creator 12.0.2
      Based on Qt 6.6.0 (MSVC 2019, x86_64)
      Built on Feb 6 2024 10:15:14
      From revision a0bd498b31
      Windows 11
    • Windows
    • 4dcba2ad2 (13.0)

    Description

      I can consistently reproduce a crash by the following steps:

      1. Open any C++ project with Qt Creator

      2. Open any C++ source file.

      3. Enable qtc.clangcodemodel.clangd.highlight debug logging (warning and critical are enabled by default) from the Logging Category Viewer.

      4. Open a new C++ source file and wait for the syntax highlighting to process.

      This causes Qt Creator to crash and exit. I can reproduce this consistently.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-30444
        # Subject Branch Project Status CR V

        Activity

          People

            cstenger Christian Stenger
            daljit97 Daljit Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes