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

Sometime I cannot save an header file with clang code model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important 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.

      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).

        1. image-2017-07-07-14-37-46-541.png
          16 kB
          Elias Steurer
        2. image-2017-07-07-14-49-41-108.png
          10 kB
          Elias Steurer
        3. locked.png
          75 kB
          Orgad Shaneh
        4. header-handles.png
          58 kB
          Orgad Shaneh
        5. headers-as-dlls.png
          62 kB
          Orgad Shaneh
        6. clang-locks.png
          42 kB
          Orgad Shaneh
        7. header-lock.zip
          0.5 kB
          Orgad Shaneh
        8. header-lock-4.8.png
          5 kB
          Orgad Shaneh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: