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

Crash in tst_textarea after blacklisting tst_dialogbuttonbox tests

    XMLWordPrintable

Details

    • 7d0c2db2c70ae6c58350f888b67aefffae6a443e (qt/qtdeclarative/dev)

    Description

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/288986 blacklists some flaky tests for QTBUG-81772, but then we get a crash:

          1  __GI_raise                                                                       raise.c                        51   0x7ffff0b50e97 
          2  __GI_abort                                                                       abort.c                        79   0x7ffff0b52801 
          3  qt_message_fatal                                                                 qlogging.cpp                   1894 0x7ffff169786c 
          4  QMessageLogger::fatal                                                            qlogging.cpp                   893  0x7ffff168d1ce 
          5  qt_assert                                                                        qglobal.cpp                    3370 0x7ffff1672c45 
          6  QQmlDebugServerImpl::removeService                                               qqmldebugserver.cpp            653  0x7fffd52c4ba4 
          7  QQmlDebugService::~QQmlDebugService                                              qqmldebugservice.cpp           96   0x7fffeda3687e 
          8  QQmlEngineDebugService::~QQmlEngineDebugService                                  qqmldebugserviceinterfaces_p.h 147  0x7fffd500d5c7 
          9  QQmlEngineDebugServiceImpl::~QQmlEngineDebugServiceImpl                          qqmlenginedebugservice.cpp     116  0x7fffd4ffbefc 
          10 QQmlEngineDebugServiceImpl::~QQmlEngineDebugServiceImpl                          qqmlenginedebugservice.cpp     119  0x7fffd4ffbf18 
          11 QObjectPrivate::deleteChildren                                                   qobject.cpp                    2097 0x7ffff1d6ccbe 
          12 QObject::~QObject                                                                qobject.cpp                    1075 0x7ffff1d68b9a 
          13 QQmlDebugServiceFactory::~QQmlDebugServiceFactory                                qqmldebugservicefactory_p.h    58   0x7fffd506c9fd 
          14 QQmlDebuggerServiceFactory::~QQmlDebuggerServiceFactory                          qqmldebuggerservicefactory.h   47   0x7fffd506d2e7 
          15 QQmlDebuggerServiceFactory::~QQmlDebuggerServiceFactory                          qqmldebuggerservicefactory.h   47   0x7fffd506d302 
          16 QLibraryPrivate::unload                                                          qlibrary.cpp                   579  0x7ffff1c89d30 
          17 QFactoryLoaderPrivate::~QFactoryLoaderPrivate                                    qfactoryloader.cpp             179  0x7ffff1c71978 
          18 QFactoryLoaderPrivate::~QFactoryLoaderPrivate                                    qfactoryloader.cpp             182  0x7ffff1c71a1a 
          19 QScopedPointerDeleter<QObjectData>::cleanup                                      qscopedpointer.h               60   0x7ffff1d881ce 
          20 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>::~QScopedPointer qscopedpointer.h               107  0x7ffff1d83878 
          21 QObject::~QObject                                                                qobject.cpp                    972  0x7ffff1d68c54 
          22 QFactoryLoader::~QFactoryLoader                                                  qfactoryloader.cpp             311  0x7ffff1c74d77 
          23 (anonymous namespace)::Q_QGS_QQmlDebugServiceLoader::Holder::~Holder             qqmldebugconnector.cpp         59   0x7fffeda3341a 
          24 __run_exit_handlers                                                              exit.c                         108  0x7ffff0b55041 
          25 __GI_exit                                                                        exit.c                         139  0x7ffff0b5513a 
          26 quick_test_main_with_setup                                                       quicktest.cpp                  594  0x7ffff6baae10 
          27 quick_test_main                                                                  quicktest.cpp                  414  0x7ffff6ba78fc 
          28 main 
      

      Running it without QML debugging enabled, I get this as the last output:

          PASS   : tst_controls::Default::TabButton::test_spacing()
          PASS   : tst_controls::Default::TabButton::cleanupTestCase()
          QWARN  : tst_controls::Default::UnknownTestFunc() file:///home/mitch/dev/qt5-dev/qtquickcontrols2/tests/auto/controls/data/tst_textarea.qml:701:38: ".policy" is not available due to component versioning. 
                               ScrollBar.horizontal.policy: ScrollBar.AlwaysOff 
                                                    ^
          15:02:57: Debugging has finished
      

      and no crash. I was running that with the debugger and it didn't kick in either, so there is something fishy going on.

      Attachments

        Issue Links

          Activity

            People

              ulherman Ulf Hermann
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: