Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76413

QProcess::startDetached blockage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.9.4
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      Mac OS X 10.12.3 (Build 16D30)
    • Platform/s:
      macOS

      Description

      Date/Time: 2019-06-17 18:32:45 +0800
      OS Version: Mac OS X 10.12.3 (Build 16D30)
      Architecture: x86_64h
      Report Version: 25

      Data Source: Stackshots

      Command: test
      Path: /Applications/test.app/Contents/MacOS/test
      Version: ??? (???)
      Parent: launchd [1]
      PID: 6334

      Event: hang
      Duration: 1.00s (process was unresponsive for 43 seconds before sampling)
      Steps: 10 (100ms sampling interval)

      Hardware model: MacBookPro12,1
      Active cpus: 4

      Fan speed: 1301 rpm

      --------------------------------------------------
      Timeline format: stacks are sorted chronologically
      Use -i and -heavy to re-report with count sorting
      --------------------------------------------------

      Heaviest stack for the main thread of the target process:
      10 start + 1 (libdyld.dylib + 21077) [0x7fffcc597255]
      10 main + 4924 (test + 9899740) [0x10f5a2edc]
      10 ??? (libqcocoa.dylib + 157598) [0x11a24179e]
      10 ??? (libqcocoa.dylib + 160638) [0x11a24237e]
      10 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 850 (QtCore + 2014290) [0x113592c52]
      10 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159 (QtCore + 2009791) [0x113591abf]
      10 QApplication::notify(QObject*, QEvent*) + 383 (QtWidgets + 77679) [0x1128d9f6f]
      10 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306 (QtWidgets + 72786) [0x1128d8c52]
      10 QObject::event(QEvent*) + 788 (QtCore + 2177380) [0x1135ba964]
      10 ??? (QtNetwork + 248837) [0x119cb0c05]
      10 QMetaObject::activate(QObject*, int, int, void**) + 2954 (QtCore + 2209482) [0x1135c26ca]
      10 NetWorkHelper::onFinished() + 1003 (libSDK.1.dylib + 39611) [0x1128b0abb]
      10 NetWorkHelper::networkFinish(bool, QJsonObject, QString) + 68 (libSDK.1.dylib + 41556) [0x1128b1254]
      10 QMetaObject::activate(QObject*, int, int, void**) + 2347 (QtCore + 2208875) [0x1135c246b]
      10 SDKManage::onGetSwitchFinished(bool, QJsonObject const&, QString const&) + 404 (libSDK.1.dylib + 16308) [0x1128aafb4]
      10 SDKManage::actualStart() + 202 (libSDK.1.dylib + 16746) [0x1128ab16a]
      10 SDKManage::startProcessHandler() + 958 (libSDK.1.dylib + 17742) [0x1128ab54e]
      10 QProcess::startDetached(QString const&, QStringList const&) + 28 (QtCore + 1556236) [0x113522f0c]
      10 read + 10 (libsystem_kernel.dylib + 111322) [0x7fffcc6c72da]
      *10 hndl_unix_scall64 + 22 (kernel + 671558) [0xffffff80002a3f46]
      *10 unix_syscall64 + 586 (kernel + 6452202) [0xffffff80008273ea]
      *10 read_nocancel + 115 (kernel + 5896323) [0xffffff800079f883]
      *10 ??? (kernel + 5896986) [0xffffff800079fb1a]
      *10 ??? (kernel + 5916824) [0xffffff80007a4898]
      *10 ??? (kernel + 5813123) [0xffffff800078b383]
      *10 lck_mtx_sleep + 132 (kernel + 1049444) [0xffffff8000300364]
      *10 thread_block_reason + 222 (kernel + 1091230) [0xffffff800030a69e]
      *10 ??? (kernel + 1095803) [0xffffff800030b87b]
      *10 machine_switch_context + 206 (kernel + 2102494) [0xffffff80004014de]

      Process: test (test) [6334]
      Path: /Applications/test.app/Contents/MacOS/test
      Architecture: x86_64
      Parent: launchd [1]
      UID: 501
      Task size: 43 MB
      CPU Time: <0.001
      Note: Unresponsive for 43 seconds before sampling
      Note: 1 idle work queue threads omitted

      Thread 0x20840 DispatchQueue 1 10 samples (1-10) priority 40 (base 46)
      <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 start + 1 (libdyld.dylib + 21077) [0x7fffcc597255] 1-10
      10 main + 4924 (test + 9899740) [0x10f5a2edc] 1-10
      10 ??? (libqcocoa.dylib + 157598) [0x11a24179e] 1-10
      10 ??? (libqcocoa.dylib + 160638) [0x11a24237e] 1-10
      10 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 850 (QtCore + 2014290) [0x113592c52] 1-10
      10 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159 (QtCore + 2009791) [0x113591abf] 1-10
      10 QApplication::notify(QObject*, QEvent*) + 383 (QtWidgets + 77679) [0x1128d9f6f] 1-10
      10 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306 (QtWidgets + 72786) [0x1128d8c52] 1-10
      10 QObject::event(QEvent*) + 788 (QtCore + 2177380) [0x1135ba964] 1-10
      10 ??? (QtNetwork + 248837) [0x119cb0c05] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2954 (QtCore + 2209482) [0x1135c26ca] 1-10
      10 NetWorkHelper::onFinished() + 1003 (libSDK.1.dylib + 39611) [0x1128b0abb] 1-10
      10 NetWorkHelper::networkFinish(bool, QJsonObject, QString) + 68 (libSDK.1.dylib + 41556) [0x1128b1254] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2347 (QtCore + 2208875) [0x1135c246b] 1-10
      10 SDKManage::onGetSwitchFinished(bool, QJsonObject const&, QString const&) + 404 (libSDK.1.dylib + 16308) [0x1128aafb4] 1-10
      10 SDKManage::actualStart() + 202 (libSDK.1.dylib + 16746) [0x1128ab16a] 1-10
      10 SDKManage::startProcessHandler() + 958 (libSDK.1.dylib + 17742) [0x1128ab54e] 1-10
      10 QProcess::startDetached(QString const&, QStringList const&) + 28 (QtCore + 1556236) [0x113522f0c] 1-10
      10 read + 10 (libsystem_kernel.dylib + 111322) [0x7fffcc6c72da] 1-10
      *10 hndl_unix_scall64 + 22 (kernel + 671558) [0xffffff80002a3f46] 1-10
      *10 unix_syscall64 + 586 (kernel + 6452202) [0xffffff80008273ea] 1-10
      *10 read_nocancel + 115 (kernel + 5896323) [0xffffff800079f883] 1-10
      *10 ??? (kernel + 5896986) [0xffffff800079fb1a] 1-10
      *10 ??? (kernel + 5916824) [0xffffff80007a4898] 1-10
      *10 ??? (kernel + 5813123) [0xffffff800078b383] 1-10
      *10 lck_mtx_sleep + 132 (kernel + 1049444) [0xffffff8000300364] 1-10
      *10 thread_block_reason + 222 (kernel + 1091230) [0xffffff800030a69e] 1-10
      *10 ??? (kernel + 1095803) [0xffffff800030b87b] 1-10
      *10 machine_switch_context + 206 (kernel + 2102494) [0xffffff80004014de] 1-10

      Thread 0x20b03 10 samples (1-10) priority 31 (base 31)
      <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 ??? (test + 16340452) [0x10fbc75e4] 1-10
      10 ??? (test + 16345321) [0x10fbc88e9] 1-10
      10 ??? (test + 16435687) [0x10fbde9e7] 1-10
      10 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffcc6c5c86] 1-10
      *10 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f80f1d8e2] 1-10

      Thread 0x20b18 Thread name "Qt bearer thread" 10 samples (1-10) priority 31 (base 31)
      <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 ??? (QtCore + 177247) [0x1133d245f] 1-10
      10 QThread::exec() + 113 (QtCore + 161089) [0x1133ce541] 1-10
      10 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 (QtCore + 1992578) [0x11358d782] 1-10
      10 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 (QtCore + 2355673) [0x1135e61d9] 1-10
      10 poll + 10 (libsystem_kernel.dylib + 111154) [0x7fffcc6c7232] 1-10
      *10 hndl_unix_scall64 + 22 (kernel + 671558) [0xffffff80002a3f46] 1-10
      *10 unix_syscall64 + 586 (kernel + 6452202) [0xffffff80008273ea] 1-10
      *10 poll_nocancel + 988 (kernel + 5908588) [0xffffff80007a286c] 1-10
      *10 kqueue_scan + 494 (kernel + 5636334) [0xffffff80007600ee] 1-10
      *10 thread_block_reason + 222 (kernel + 1091230) [0xffffff800030a69e] 1-10
      *10 ??? (kernel + 1095803) [0xffffff800030b87b] 1-10
      *10 machine_switch_context + 206 (kernel + 2102494) [0xffffff80004014de] 1-10

      Thread 0x20b19 Thread name "com.apple.CFSocket.private" 10 samples (1-10) priority 46 (base 46)
      <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 __select + 10 (libsystem_kernel.dylib + 106314) [0x7fffcc6c5f4a] 1-10
      *10 ??? (kernel + 5813712) [0xffffff800078b5d0] 1-10

      Thread 0x20b1c Thread name "QNetworkAccessManager thread" 10 samples (1-10) priority 31 (base 31)
      <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 ??? (QtCore + 177247) [0x1133d245f] 1-10
      10 QThread::exec() + 113 (QtCore + 161089) [0x1133ce541] 1-10
      10 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 (QtCore + 1992578) [0x11358d782] 1-10
      10 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 (QtCore + 2355673) [0x1135e61d9] 1-10
      10 poll + 10 (libsystem_kernel.dylib + 111154) [0x7fffcc6c7232] 1-10
      *10 hndl_unix_scall64 + 22 (kernel + 671558) [0xffffff80002a3f46] 1-10
      *10 unix_syscall64 + 586 (kernel + 6452202) [0xffffff80008273ea] 1-10
      *10 poll_nocancel + 988 (kernel + 5908588) [0xffffff80007a286c] 1-10
      *10 kqueue_scan + 494 (kernel + 5636334) [0xffffff80007600ee] 1-10
      *10 thread_block_reason + 222 (kernel + 1091230) [0xffffff800030a69e] 1-10
      *10 ??? (kernel + 1095803) [0xffffff800030b87b] 1-10
      *10 machine_switch_context + 206 (kernel + 2102494) [0xffffff80004014de] 1-10

      Thread 0x20b20 Thread name "com.apple.NSEventThread" 10 samples (1-10) priority 46 (base 46)
      <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 _NSEventThread + 205 (AppKit + 1657442) [0x7fffb4c53a62] 1-10
      10 CFRunLoopRunSpecific + 420 (CoreFoundation + 555380) [0x7fffb6fd4974] 1-10
      10 __CFRunLoopRun + 1361 (CoreFoundation + 557345) [0x7fffb6fd5121] 1-10
      10 __CFRunLoopServiceMachPort + 212 (CoreFoundation + 560276) [0x7fffb6fd5c94] 1-10
      10 mach_msg_trap + 10 (libsystem_kernel.dylib + 74634) [0x7fffcc6be38a] 1-10
      *10 ipc_mqueue_receive_continue + 0 (kernel + 886832) [0xffffff80002d8830] 1-10

      Thread 0x20b22 Thread name "QNetworkAccessManager thread" 10 samples (1-10) priority 31 (base 31)
      <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [125], IO tier 0>
      10 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffcc7ae1fd] 1-10
      10 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffcc7ae9f7] 1-10
      10 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffcc7aeaab] 1-10
      10 ??? (QtCore + 177247) [0x1133d245f] 1-10
      10 QThread::exec() + 113 (QtCore + 161089) [0x1133ce541] 1-10
      10 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 (QtCore + 1992578) [0x11358d782] 1-10
      10 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1141 (QtCore + 2355957) [0x1135e62f5] 1-10
      10 QEventDispatcherUNIXPrivate::activateSocketNotifiers() + 250 (QtCore + 2352890) [0x1135e56fa] 1-10
      10 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159 (QtCore + 2009791) [0x113591abf] 1-10
      10 QApplication::notify(QObject*, QEvent*) + 383 (QtWidgets + 77679) [0x1128d9f6f] 1-10
      10 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306 (QtWidgets + 72786) [0x1128d8c52] 1-10
      10 ??? (QtNetwork + 771472) [0x119d30590] 1-10
      10 ??? (QtNetwork + 698990) [0x119d1ea6e] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2954 (QtCore + 2209482) [0x1135c26ca] 1-10
      10 ??? (QtNetwork + 922069) [0x119d551d5] 1-10
      10 ??? (QtNetwork + 921547) [0x119d54fcb] 1-10
      10 ??? (QtNetwork + 918477) [0x119d543cd] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2954 (QtCore + 2209482) [0x1135c26ca] 1-10
      10 ??? (QtNetwork + 91114) [0x119c8a3ea] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2954 (QtCore + 2209482) [0x1135c26ca] 1-10
      10 ??? (QtNetwork + 317745) [0x119cc1931] 1-10
      10 QMetaObject::activate(QObject*, int, int, void**) + 2597 (QtCore + 2209125) [0x1135c2565] 1-10
      10 QSemaphore::acquire(int) + 79 (QtCore + 157583) [0x1133cd78f] 1-10
      10 QWaitCondition::wait(QMutex*, unsigned long) + 162 (QtCore + 182722) [0x1133d39c2] 1-10
      10 ??? (QtCore + 182827) [0x1133d3a2b] 1-10
      10 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffcc6c5c86] 1-10
      *10 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f80f1d8e2] 1-10

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              dashandeda Sun Moon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes