Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 6.0.0
-
None
Description
The AndroidDeviceManager::startAvd() calls asynchronously the AndroidAvdManager::startAvd(), what calls AndroidAvdManager::startAvdAsync(). One of its branches calls directly QMessageBox::critical() - this branch, if triggered, must crash. We can't call GUI methods directly from non-GUI threads.
Introduced in e860871d2a6984a89f443928dfee5dbfa84d40cf.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-27369 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
421800,2 | Android: Don't show message boxes in non-GUI thread | 8.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
437435,1 | WIP: Fix thread-safety issues if starting AVDs | 9.0 | qt-creator/qt-creator | Status: DEFERRED | -2 | 0 |