'Run on device' stopped working under mir

Bug #1238031 reported by Timo Jyrinki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Michael Zanetti
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As reported on IRC, "Run Application on Device" has stopped working.

1. bzr branch lp:ubuntu-clock-app
2. Open in Qt Creator
3. Try Run Application on Device

Ends up with:

[16:53:44] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

and no app. No changes have been done in the QtC Ubuntu plugin, so the problem has arrived with some other package update like the recent apparmor updates.
UPDATE: or obviously, mir by default.

The script in question is /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app and the output above is seen after the last command ($SSH "bash -ic 'source /etc/profile; ${COMMAND}'"). As hinted by bug #1225178 with a similar earlier error, the real problem is probably on the "COMMAND=" line earlier, and it would need something extra to fix the issue.

Related branches

Changed in qtcreator-plugin-ubuntu:
status: New → Confirmed
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

FYI, I tried this in 89 (but with apparmor-easyprof-ubuntu 1.0.38) under it works fine with surfaceflinger. Rebooting into mir and I get the same error:
[09:46:42] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I forgot to mention, there are no apparmor denials.

Revision history for this message
Michał Karnicki (karni) wrote :

Removed .display-mir , problem went away, so it might be mir related.

summary: - 'Run on device' stopped working
+ 'Run on device' stopped working under mir
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
importance: High → Critical
Changed in qtcreator-plugin-ubuntu:
status: Confirmed → In Progress
assignee: nobody → Michael Zanetti (mzanetti)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:qtcreator-plugin-ubuntu at revision 50, scheduled for release in qtcreator-plugin-ubuntu, milestone Unknown

Changed in qtcreator-plugin-ubuntu:
status: In Progress → Fix Committed
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Fixed in 2.8.1-0ubuntu1, but the bzr change was not mentioned in the changelgo.

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
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.