Stale lock file causes QtCreator to freeze when starting

Bug #1452956 reported by Victor Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Incomplete
Undecided
Unassigned
qtcreator (Ubuntu)
New
Undecided
Unassigned

Bug Description

I was debugging why my ubuntu-sdk instance would not start up (it instead freezes indefinitely) when I noticed a stale lock file under ~/.config. I removed this file and the IDE started.

To reproduce:

1. Execute the following from the terminal: touch ~/.config/QtProject/QtCreator.ini.lock
2. Start qtcreator or ubuntu-sdk.

Expected results: The IDE starts as expected
Actual results: The IDE hangs indefinitely

Any sane IDE should be able to handle stale lock files--such a thing should not prevent the application from starting.

Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

Seems this is related to a regression introduced by this bugfix to Qt: https://bugreports.qt.io/browse/QTBUG-21739

affects: ubuntu-ui-toolkit (Ubuntu) → qtcreator (Ubuntu)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

We need https://codereview.qt-project.org/#/c/104606/ to qtbase or more likely its 5.5 version backported to 5.4 if it's somehow better than that abandoned 5.4 MP.

Changed in qtbase-opensource-src (Ubuntu):
status: New → Triaged
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Please test from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-038 (wily only). I don't see a difference in the test case myself though, but I'm not sure if the test case should eg create the file with some certain permissions to mimick old/new Qt behavior. The package now includes the https://codereview.qt-project.org/#/c/109243/

Changed in qtbase-opensource-src (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

The Qt version in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-038 does not fix the freeze for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.