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. locked.png
          locked.png
          75 kB
        2. image-2017-07-07-14-49-41-108.png
          image-2017-07-07-14-49-41-108.png
          10 kB
        3. image-2017-07-07-14-37-46-541.png
          image-2017-07-07-14-37-46-541.png
          16 kB
        4. headers-as-dlls.png
          headers-as-dlls.png
          62 kB
        5. header-lock-4.8.png
          header-lock-4.8.png
          5 kB
        6. header-lock.zip
          0.5 kB
        7. header-handles.png
          header-handles.png
          58 kB
        8. clang-locks.png
          clang-locks.png
          42 kB
        For Gerrit Dashboard: QTCREATORBUG-15449
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: