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

Animation uses CPU time too much

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.11, 5.12.0
    • None
    • OS Version: Mac OS X 10.14.2 (Build 18C54)
    • macOS

    Description

      Just run "easing curve example" and make spindump.

      217   __CFRunLoopRun + 1219 (CoreFoundation + 242782) [0x7fff2b72745e]
                                  209   __CFRunLoopDoSources0 + 195 (CoreFoundation + 245429) [0x7fff2b727eb5]
                                    209   __CFRunLoopDoSource0 + 108 (CoreFoundation + 361499) [0x7fff2b74441b]
                                      209   __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 361589) [0x7fff2b744475]
                                        207   QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 32 (libqcocoa.dylib + 196560) [0x106512fd0]
                                          207   QCocoaEventDispatcherPrivate::processPostedEvents() + 313 (libqcocoa.dylib + 194393) [0x106512759]
                                            207   QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 878 (QtCore + 2075694) [0x100ddac2e]
                                              207   QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (QtCore + 2071028) [0x100dd99f4]
                                                207   QApplication::notify(QObject*, QEvent*) + 594 (QtWidgets + 71410) [0x10010f6f2]
                                                  207   QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269 (QtWidgets + 66285) [0x10010e2ed]
                                                    207   QObject::event(QEvent*) + 753 (QtCore + 2241201) [0x100e032b1]
                                                      201   QGraphicsScenePrivate::_q_processDirtyItems() + 1042 (QtWidgets + 3372274) [0x1004354f2]
                                                        201   QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 878 (QtCore + 2075694) [0x100ddac2e]
                                                          201   QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (QtCore + 2071028) [0x100dd99f4]
                                                            200   QApplication::notify(QObject*, QEvent*) + 594 (QtWidgets + 71410) [0x10010f6f2]
                                                              199   QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269 (QtWidgets + 66285) [0x10010e2ed]
                                                                199   QWidget::event(QEvent*) + 1645 (QtWidgets + 312125) [0x10014a33d]
                                                                  189   QWidgetBackingStore::doSync() + 4100 (QtWidgets + 121012) [0x10011b8b4]
                                                                    189   QBackingStore::beginPaint(QRegion const&) + 350 (QtGui + 1803646) [0x10085657e]
                                                                      187   QRasterBackingStore::beginPaint(QRegion const&) + 387 (libqcocoa.dylib + 1103715) [0x1065f0763]
                                                                        187   QPainter::QPainter(QPaintDevice*) + 242 (QtGui + 2528930) [0x1009076a2]
                                                                          186   QPainter::begin(QPaintDevice*) + 167 (QtGui + 2529111) [0x100907757]
                                                                            186   QImage::detach() + 103 (QtGui + 526823) [0x10071e9e7]
                                                                              186   QImage::copy(QRect const&) const + 1547 (QtGui + 525899) [0x10071e64b]
                                                                                183   _platform_memmove$VARIANT$Haswell + 41 (libsystem_platform.dylib + 7433) [0x7fff58b50d09]
                                                                                 *153   hndl_alltraps + 223 (kernel + 1424303) [0xffffff800035bbaf]
                                                                                   *104   user_trap + 405 (kernel + 2991557) [0xffffff80004da5c5]
                                                                                     *42    ??? (kernel + 2334472) [0xffffff8000439f08]
                                                                                       *38    vm_fault_enter + 3857 (kernel + 2326737) [0xffffff80004380d1]
                                                                                         *12    pmap_enter_options + 1769 (kernel + 2858265) [0xffffff80004b9d19]
                                                                                           *7     pmap_flush_tlbs + 1613 (kernel + 2837789) [0xffffff80004b4d1d] (running)
                                                                                           *2     pmap_flush_tlbs + 1627 (kernel + 2837803) [0xffffff80004b4d2b] (running)
                                                                                           *2     pmap_flush_tlbs + 1622 (kernel + 2837798) [0xffffff80004b4d26] (running)
                                                                                           *1     pmap_flush_tlbs + 317 (kernel + 2836493) [0xffffff80004b480d] (running)
                                                                                         *4     pmap_enter_options + 3336 (kernel + 2859832) [0xffffff80004ba338] (running)
                                                                                         *3     pmap_enter_options + 1361 (kernel + 2857857) [0xffffff80004b9b81] (running)
                                                                                         *2     pmap_enter_options + 3324 (kernel + 2859820) [0xffffff80004ba32c] (running)
                                                                                         *2     pmap_enter_options + 1868 (kernel + 2858364) [0xffffff80004b9d7c] (running)
                                                                                         *2     pmap_enter_options + 1393 (kernel + 2857889) [0xffffff80004b9ba1] (running)
                                                                                         *2     pmap_enter_options + 1197 (kernel + 2857693) [0xffffff80004b9add] (running)
                                                                                         *2     pmap_enter_options + 415 (kernel + 2856911) [0xffffff80004b97cf]
                                                                                           *2     usimple_lock + 47 (kernel + 2945919) [0xffffff80004cf37f]
                                                                                             *2     hw_lock_to + 48 (kernel + 1829216) [0xffffff80003be960] (running)
      
      

       

      The same problem: https://community.rstudio.com/t/rstudio-desktop-and-qtwebengineprocess-on-macos-using-very-much-cpu/21181

       

      Attachments

        1. Spindump_animation.txt
          2.50 MB
          Anton Kudryavtsev
        2. Снимок экрана 2019-01-16 в 10.47.44.png
          83 kB
          Anton Kudryavtsev

        Issue Links

          Activity

            People

              Unassigned Unassigned
              antkudr Anton Kudryavtsev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: