The problem is caused by the adb port forwarding. For each connected
devcie the QtC reserves (or at least attempts to reserve) 20 ports.  So
when more than one device is connected (emulator is a device too) and
the number of forwarded ports reaches 32 the adb port forwardings starts
to fail and the outcome is rather unpredictable.

The solution is to limit the number of reserved ports to 10 and block
new devices when adb  runs out of available ports (under 32)

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
   Importance: Undecided => Critical

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
     Assignee: (unassigned) => Benjamin Zeller (zeller-benjamin)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1322581

Title:
  Launching QtCreator causes devices to go into USB reconnect loop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1322581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to