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

[Reg 5.9 -> 5.12] MacOS application crashes on exit when using static self build Qt

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      c018df5b4075ae962966d4df7653d476dab02840

      Description

      I've build Qt 5.12.3 static for MacOS with following configuration:

      configure -v -static -commercial -no-icu -ltcg  -debug-and-release -confirm-license \
        -skip qt3d -skip qtserialbus -skip qtserialport -skip qtandroidextras  -skip qtsensors -skip qtwebengine -skip qtactiveqt -skip qtwayland -skip qtx11extras -skip qtwinextras \
        -skip qtwebglplugin -skip qtxmlpatterns -no-compile-examples -nomake tests -nomake examples -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz  
      

      When running a simple "Hello-World" QtQuick-Application using this Kit in Release mode, it always crashes when exiting the application at:

      1 QHashData::detach_helper(void ( *)(QHashData::Node *, void *), void (*)(QHashData::Node*), int, int)    
      2 QHash<QMetaObject const *, int>::find(QMetaObject const * const&)                                      3 QQmlType::~QQmlType() 
      4 (anonymous namespace)::Q_QGS_metaTypeData::innerFunction()::Cleanup::~Cleanup()                        5 __cxa_finalize_ranges  
      6 exit    
      7 start  
      8 start
      

      The crash does not happen in Debug-Mode.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              lkdem Ludger Krämer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes