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

remove lock file when process is gone

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QBS-773
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes