Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-14728

Freeze at shutdown (keeps scanning disk)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QDS 4.7.0
    • QDS 4.6.2
    • All Other Issues
    • None
    • macOS
    • e1eca653d (qds/dev), bfb74e5d0 (qds/4.7)

    Description

      Created a dummy project in default location.

      On shutdown, Design Studio "froze" for me, and started asking for permission for various restricted paths in my home directory (documents, images, etc pp). Looks like it is busy with inspecting my whole disk or at least whole user directory.

      Some excerpts from the trace of what it is doing:

      Main thread

          +                                                           1924 QmlDesigner::QmlDesignerPlugin::~QmlDesignerPlugin()  (in libQmlDesigner.dylib) + 44  [0x10ad9eb24]
          +                                                             1924 ???  (in libQmlDesigner.dylib)  load address 0x10ad24000 + 0x80114  [0x10ada4114]
          +                                                               1924 ???  (in libQmlDesigner.dylib)  load address 0x10ad24000 + 0x862b0  [0x10adaa2b0]
          +                                                                 1924 ???  (in libQmlDesigner.dylib)  load address 0x10ad24000 + 0x976ac  [0x10adbb6ac]
          +                                                                   1924 QmlDesigner::AsynchronousImageFactory::~AsynchronousImageFactory()  (in libQmlDesignerCore.4.6.2.dylib) + 24  [0x10c87a660]
          +                                                                     1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x3abbc  [0x10c87abbc]
          +                                                                       1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x3ac80  [0x10c87ac80]
          +                                                                         1924 std::thread::join()  (in libc++.1.dylib) + 36  [0x19c0b8210]
          +                                                                           1924 _pthread_join  (in libsystem_pthread.dylib) + 612  [0x19c1827d4]
          +                                                                             1924 __ulock_wait  (in libsystem_kernel.dylib) + 8  [0x19c140cac]
      

      Part of the other thread (I've attached the rest to the report):

          1924 Thread_36125844
          + 1924 thread_start  (in libsystem_pthread.dylib) + 8  [0x19c17b0fc]
          +   1924 _pthread_start  (in libsystem_pthread.dylib) + 136  [0x19c1802e4]
          +     1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x3b23c  [0x10c87b23c]
          +       1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x3b3d0  [0x10c87b3d0]
          +         1924 QmlDesigner::AsynchronousImageFactory::Dispatch::operator()(QmlDesigner::AsynchronousImageFactory::Entry&)  (in libQmlDesignerCore.4.6.2.dylib) + 152  [0x10c87ab44]
          +           1924 QmlDesigner::AsynchronousImageFactory::request(Utils::SmallStringView, Utils::SmallStringView, std::variant<std::monostate, QmlDesigner::ImageCache::LibraryIconAuxiliaryData, QmlDesigner::ImageCache::FontCollectorSizeAuxiliaryData, QmlDesigner::ImageCache::FontCollectorSizesAuxiliaryData>, QmlDesigner::ImageCacheStorageInterface&, QmlDesigner::TimeStampProviderInterface&, QmlDesigner::ImageCacheCollectorInterface&, NanotraceHR::FlowToken<NanotraceHR::Category<NanotraceHR::TraceEvent<std::basic_string_view<char>, NanotraceHR::StaticString<3700ul>>, (NanotraceHR::Tracing)0>, (NanotraceHR::Tracing)0>)  (in libQmlDesignerCore.4.6.2.dylib) + 364  [0x10c87a7dc]
          +             1924 ???  (in libQmlDesigner.dylib)  load address 0x10ad24000 + 0x49b5e8  [0x10b1bf5e8]
          +               1924 QmlDesigner::RewriterView::modelAttached(QmlDesigner::Model*)  (in libQmlDesignerCore.4.6.2.dylib) + 124  [0x10c952108]
          +                 1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x1329c4  [0x10c9729c4]
          +                   1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x12f9f0  [0x10c96f9f0]
          +                     1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x1307b4  [0x10c9707b4]
          +                       1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                         1924 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           1923 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! 1921 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : 1916 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | 1907 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + 1867 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! 1835 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : 1807 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | 1697 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | + 1564 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | + ! 1314 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | + ! : 1007 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | + ! : | 676 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x130f28  [0x10c970f28]
          +                           ! : | + ! : | + ! : | + 320 ???  (in libQmlDesignerCore.4.6.2.dylib)  load address 0x10c840000 + 0x1309c4  [0x10c9709c4]
          +                           ! : | + ! : | + ! : | + ! 294 QDir::entryList(QList<QString> const&, QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const  (in QtCore) + 228  [0x102bad4f4]  qdir.cpp:1430
          +                           ! : | + ! : | + ! : | + ! : 294 QDirIterator::QDirIterator(QString const&, QList<QString> const&, QFlags<QDir::Filter>, QFlags<QDirIterator::IteratorFlag>)  (in QtCore) + 96  [0x102bb6518]  qdiriterator.cpp:444
          +                           ! : | + ! : | + ! : | + ! :   276 QDirIteratorPrivate::QDirIteratorPrivate(QFileSystemEntry const&, QList<QString> const&, QFlags<QDir::Filter>, QFlags<QDirIterator::IteratorFlag>, bool)  (in QtCore) + 692  [0x102bb52e0]  qdiriterator.cpp:152
          +                           ! : | + ! : | + ! : | + ! :   | 254 QDirIteratorPrivate::advance()  (in QtCore) + 652  [0x102bb5b5c]  qdiriterator.cpp:237
          +                           ! : | + ! : | + ! : | + ! :   | + 254 QDirIteratorPrivate::matchesFilters(QString const&, QFileInfo const&) const  (in QtCore) + 224  [0x102bb5fac]  qdiriterator.cpp:333
      ....
      ...
      

      Attachments

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

        Activity

          People

            bubke Marco Bubke
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes