Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-773

remove lock file when process is gone

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 1.4.1
    • 1.3.4
    • General
    • None
    • 2a0772a19c6b47f1441dc45e91cca78f98e0ed83

    Description

      If Qt Creator or qbs doesn't get a chance to remove its lock file due to a power loss or crash, then the user gets the error message

      Cannot lock build graph file '/home/ablu/build-tiled-Desktop-Debug/qtc_Desktop-debug/qtc_Desktop-debug.bg': Already locked by 'qtcreator' (PID 7203)
      

      Apparently we know the locking PID and the process name. If there's no such PID and associated process name, then we can remove the lock.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes