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

Sometime I cannot save an header file with clang code model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • Qt Creator 4.6.0-beta1
    • Qt Creator 3.6.0-rc1, Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • I am on windows 7 and my project uses cmake. The source repository and the build repository are accessed through symbolic links.

    Description

      Hello,

      For the first time, I am testing clang code model with Qt Creator 3.6 rc1 (which seems very promising), and often I am not able to save a particular header file (.h). I have then the error message "not possible to save ..." ending by "Disk full ?". Each time I have the error, Qt Creator creates a backup of the header with a name having a number at the end ("XXX.h.F551256" for example).

      When I look to the processes having a handle blocking the file, sometime there is only the qtcreator process, sometime there is the qtcreator and the clangBackend processes.

      I then delete the handle(s) (with process sysinternals) and I can save the file.

      This occurs only on header file, not on source file (.cpp).

      Attachments

        1. clang-locks.png
          clang-locks.png
          42 kB
        2. header-handles.png
          header-handles.png
          58 kB
        3. header-lock.zip
          0.5 kB
        4. header-lock-4.8.png
          header-lock-4.8.png
          5 kB
        5. headers-as-dlls.png
          headers-as-dlls.png
          62 kB
        6. image-2017-07-07-14-37-46-541.png
          image-2017-07-07-14-37-46-541.png
          16 kB
        7. image-2017-07-07-14-49-41-108.png
          image-2017-07-07-14-49-41-108.png
          10 kB
        8. locked.png
          locked.png
          75 kB

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              Siron Simon Van Goethem
              Votes:
              34 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: