Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19736

Freeze when running Android applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 4.6.1
    • Qt Creator 4.5.0
    • Android Support
    • None
    • Windows 10
    • 429c596395697ff3533e679a848ad26cd1ee97cb

    Description

      When running Android applications, Qt Creator will sometimes freeze completely, apparently because of a dead lock. Unfortunately, I have no deterministic way of reproducing it, but it happens fairly often when running different examples during package testing.

      I attached to it while it was hanging, and since it is not a debug build, the information is limited, but I managed to get this out. Hopefully it helps:

      Thread #0

      1  NtWaitForSingleObject                          ntdll             0x7779e78c 
      2  WaitForSingleObject                            KERNELBASE        0x76d9eb42 
      3  QThread::wait                                  Qt5Core           0x69bbf494 
      4  Android::AndroidRunnable::displayName          Android4          0x77a909d0 
      5  Android::AndroidRunnable::operator=            Android4          0x77a82e4e 
      6  ProjectExplorer::ProjectPanelFactory::supports ProjectExplorer4  0x5b2c929c 
      7  ProjectExplorer::RunWorker::~RunWorker         ProjectExplorer4  0x5b244c78 
      8  QObject::event                                 Qt5Core           0x69d25f75 
      9  QApplicationPrivate::notify_helper             Qt5Widgets        0x6a5428fb 
      10 QApplication::notify                           Qt5Widgets        0x6a541cda 
      11 EndTask                                        USER32            0x76a18d6a 
      12 QMetaType::typeInfo                            Qt5Core           0x69d1588f 
      

      Thread #17:

      1  NtYieldExecution                      ntdll       0x7779ebcc 
      2  QProcess::waitForFinished             Qt5Core     0x69cad35f 
      3  Android::AndroidRunnable::displayName Android4    0x77a90e84 
      4  QMetaObject::activate                 Qt5Core     0x69d21911 
      5  QMetaObject::activate                 Qt5Core     0x69d21bce 
      6  QProcess::qt_static_metacall          Qt5Core     0x69ca90cd 
      7  QMetaObject::activate                 Qt5Core     0x69d21bce 
      8  QApplicationPrivate::notify_helper    Qt5Widgets  0x6a5428fb 
      9  QApplication::notify                  Qt5Widgets  0x6a541cda 
      10 QWindowsPipeReader::_q_queueReadyRead Qt5Core     0x69d84223 
      11 QWindowsPipeReader::notified          Qt5Core     0x69cc1c78 
      12 QWindowsPipeReader::readFileCompleted Qt5Core     0x69cc1d88 
      

      Contents of About box:

      Qt Creator 4.5.0
      Based on Qt 5.10.0 (MSVC 2015, 32 bit)
      
      Built on Dec 4 2017 04:12:22
      
      From revision fcea6ceba6
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vikas Vikas Pachdha
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes