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

"holistic" QML benchmark crashes (memory allocation, Q_UNREACHABLE was reached)

    XMLWordPrintable

Details

    Description

      in ~/dev/qt59-dbg/qtdeclarative/tests/benchmarks/qml/holistic (shadow build)

      [str][10:45:11] ./tst_holistic 
      ********* Start testing of tst_holistic *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 6.3.1 20170306)
      PASS   : tst_holistic::initTestCase()
      PASS   : tst_holistic::compilation(single small component)
      RESULT : tst_holistic::compilation():"single small component":
           0.19 msecs per iteration (total: 51, iterations: 256)
      PASS   : tst_holistic::compilation(single small component cached)
      RESULT : tst_holistic::compilation():"single small component cached":
           0.42 msecs per iteration (total: 55, iterations: 128)
      PASS   : tst_holistic::compilation(single large component)
      RESULT : tst_holistic::compilation():"single large component":
           0.33 msecs per iteration (total: 86, iterations: 256)
      PASS   : tst_holistic::compilation(single large component cached)
      RESULT : tst_holistic::compilation():"single large component cached":
           0.53 msecs per iteration (total: 69, iterations: 128)
      PASS   : tst_holistic::compilation(multiple small components)
      RESULT : tst_holistic::compilation():"multiple small components":
           0.85 msecs per iteration (total: 55, iterations: 64)
      PASS   : tst_holistic::compilation(multiple small components cached)
      RESULT : tst_holistic::compilation():"multiple small components cached":
           1.4 msecs per iteration (total: 95, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large components)
      RESULT : tst_holistic::compilation():"multiple large components":
           0.89 msecs per iteration (total: 57, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large components cached)
      RESULT : tst_holistic::compilation():"multiple large components cached":
           1.6 msecs per iteration (total: 54, iterations: 32)
      PASS   : tst_holistic::compilation(single small js import)
      RESULT : tst_holistic::compilation():"single small js import":
           0.32 msecs per iteration (total: 83, iterations: 256)
      PASS   : tst_holistic::compilation(single small js import, cached)
      RESULT : tst_holistic::compilation():"single small js import, cached":
           0.75 msecs per iteration (total: 97, iterations: 128)
      PASS   : tst_holistic::compilation(multiple small js imports, shallow)
      RESULT : tst_holistic::compilation():"multiple small js imports, shallow":
           1.0 msecs per iteration (total: 69, iterations: 64)
      PASS   : tst_holistic::compilation(multiple small js imports, shallow, cached)
      RESULT : tst_holistic::compilation():"multiple small js imports, shallow, cached":
           1.3 msecs per iteration (total: 86, iterations: 64)
      PASS   : tst_holistic::compilation(multiple small js imports, deeply nested)
      RESULT : tst_holistic::compilation():"multiple small js imports, deeply nested":
           1.1 msecs per iteration (total: 73, iterations: 64)
      PASS   : tst_holistic::compilation(multiple small js imports, deeply nested, cached)
      RESULT : tst_holistic::compilation():"multiple small js imports, deeply nested, cached":
           1.3 msecs per iteration (total: 88, iterations: 64)
      PASS   : tst_holistic::compilation(muliple small js imports, both)
      RESULT : tst_holistic::compilation():"muliple small js imports, both":
           1.7 msecs per iteration (total: 56, iterations: 32)
      PASS   : tst_holistic::compilation(muliple small js imports, both, cached)
      RESULT : tst_holistic::compilation():"muliple small js imports, both, cached":
           1.9 msecs per iteration (total: 62, iterations: 32)
      PASS   : tst_holistic::compilation(single large js import)
      RESULT : tst_holistic::compilation():"single large js import":
           0.42 msecs per iteration (total: 55, iterations: 128)
      PASS   : tst_holistic::compilation(single large js import, cached)
      RESULT : tst_holistic::compilation():"single large js import, cached":
           0.90 msecs per iteration (total: 58, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large js imports, shallow)
      RESULT : tst_holistic::compilation():"multiple large js imports, shallow":
           1.2 msecs per iteration (total: 80, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large js imports, shallow, cached)
      RESULT : tst_holistic::compilation():"multiple large js imports, shallow, cached":
           1.5 msecs per iteration (total: 96, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large js imports, deeply nested)
      RESULT : tst_holistic::compilation():"multiple large js imports, deeply nested":
           1.1 msecs per iteration (total: 73, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large js imports, deeply nested, cached)
      RESULT : tst_holistic::compilation():"multiple large js imports, deeply nested, cached":
           1.4 msecs per iteration (total: 93, iterations: 64)
      PASS   : tst_holistic::compilation(multiple large js imports, both)
      RESULT : tst_holistic::compilation():"multiple large js imports, both":
           1.9 msecs per iteration (total: 63, iterations: 32)
      PASS   : tst_holistic::compilation(multiple large js imports, both, cached)
      RESULT : tst_holistic::compilation():"multiple large js imports, both, cached":
           2.1 msecs per iteration (total: 69, iterations: 32)
      PASS   : tst_holistic::compilation(.pragma library js import)
      RESULT : tst_holistic::compilation():".pragma library js import":
           0.58 msecs per iteration (total: 75, iterations: 128)
      mprotect failed in ExecutableAllocator::makeExecutable: Cannot allocate memory
      QFATAL : tst_holistic::compilation(.pragma library js import, cached) [     0.000 F] qt_assert_x - ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file /home/rutledge/dev/qt59/qtdeclarative/src/3rdparty/masm/stubs/ExecutableAllocator.h, line 159
      FAIL!  : tst_holistic::compilation(.pragma library js import, cached) Received a fatal error.
         Loc: [Unknown file(0)]
      Totals: 26 passed, 1 failed, 0 skipped, 0 blacklisted, 7778ms
      ********* Finished testing of tst_holistic *********
      fish: “./tst_holistic” terminated by signal SIGABRT (Abort)
      

      Trying again in Creator yields a stack trace:

      1  raise                                                                                                                                                                                                                   0x7ffff5d42a10 
      2  abort                                                                                                                                                                                                                   0x7ffff5d4413a 
      3  qt_message_fatal                                                                                                                                                                         qlogging.cpp              1690 0x7ffff6ef1fa4 
      4  QMessageLogger::fatal                                                                                                                                                                    qlogging.cpp              796  0x7ffff6ef2961 
      5  qt_assert_x                                                                                                                                                                              qglobal.cpp               3052 0x7ffff6eecd8c 
      6  JSC::ExecutableAllocator::makeExecutable                                                                                                                                                 ExecutableAllocator.h     159  0x7ffff755b166 
      7  QV4::JIT::CompilationUnit::memoryMapCode                                                                                                                                                 qv4assembler.cpp          96   0x7ffff755b166 
      8  QV4::CompiledData::CompilationUnit::loadFromDisk                                                                                                                                         qv4compileddata.cpp       385  0x7ffff74db7c1 
      9  QQmlScriptBlob::dataReceived                                                                                                                                                             qqmltypeloader.cpp        2925 0x7ffff76d2395 
      10 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1269 0x7ffff76c9880 
      11 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1259 0x7ffff76c9f6d 
      12 QQmlTypeLoader::loadThread                                                                                                                                                               qqmltypeloader.cpp        1134 0x7ffff76caee3 
      13 PlainLoader::loadThread                                                                                                                                                                  qqmltypeloader.cpp        979  0x7ffff76da383 
      14 QQmlTypeLoader::doLoad<PlainLoader>                                                                                                                                                      qqmltypeloader.cpp        1038 0x7ffff76da383 
      15 QQmlTypeLoader::load                                                                                                                                                                     qqmltypeloader.cpp        1070 0x7ffff76cb05c 
      16 QQmlTypeLoader::getScript                                                                                                                                                                qqmltypeloader.cpp        1704 0x7ffff76cb554 
      17 QQmlTypeLoader::Blob::addImport                                                                                                                                                          qqmltypeloader.cpp        1386 0x7ffff76cf629 
      18 QQmlScriptBlob::initializeFromCompilationUnit                                                                                                                                            qqmltypeloader.cpp        3058 0x7ffff76d0d0f 
      19 QQmlScriptBlob::dataReceived                                                                                                                                                             qqmltypeloader.cpp        2926 0x7ffff76d23be 
      20 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1269 0x7ffff76c9880 
      21 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1259 0x7ffff76c9f6d 
      22 QQmlTypeLoader::loadThread                                                                                                                                                               qqmltypeloader.cpp        1134 0x7ffff76caee3 
      23 PlainLoader::loadThread                                                                                                                                                                  qqmltypeloader.cpp        979  0x7ffff76da383 
      24 QQmlTypeLoader::doLoad<PlainLoader>                                                                                                                                                      qqmltypeloader.cpp        1038 0x7ffff76da383 
      25 QQmlTypeLoader::load                                                                                                                                                                     qqmltypeloader.cpp        1070 0x7ffff76cb05c 
      26 QQmlTypeLoader::getScript                                                                                                                                                                qqmltypeloader.cpp        1704 0x7ffff76cb554 
      27 QQmlTypeLoader::Blob::addImport                                                                                                                                                          qqmltypeloader.cpp        1386 0x7ffff76cf629 
      28 QQmlTypeData::tryLoadFromDiskCache                                                                                                                                                       qqmltypeloader.cpp        2128 0x7ffff76d0ad7 
      29 QQmlTypeData::dataReceived                                                                                                                                                               qqmltypeloader.cpp        2384 0x7ffff76d2279 
      30 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1269 0x7ffff76c9880 
      31 QQmlTypeLoader::setData                                                                                                                                                                  qqmltypeloader.cpp        1259 0x7ffff76c9f6d 
      32 QQmlTypeLoader::loadThread                                                                                                                                                               qqmltypeloader.cpp        1134 0x7ffff76caee3 
      33 QQmlTypeLoaderThread::loadThread                                                                                                                                                         qqmltypeloader.cpp        875  0x7ffff76cb03b 
      34 void QQmlThread::callMethodInThread<QQmlDataBlob *, QQmlDataBlob *, QQmlTypeLoaderThread>(void (QQmlTypeLoaderThread:: *)(QQmlDataBlob *), QQmlDataBlob * const&)::I::call(QQmlThread *) qqmlthread_p.h            162  0x7ffff76d2b0c 
      35 QQmlThreadPrivate::threadEvent                                                                                                                                                           qqmlthread.cpp            196  0x7ffff77491fe 
      36 QQmlThreadPrivate::event                                                                                                                                                                 qqmlthread.cpp            134  0x7ffff7749a95 
      37 QCoreApplicationPrivate::notify_helper                                                                                                                                                   qcoreapplication.cpp      1152 0x7ffff70d0a6e 
      38 doNotify                                                                                                                                                                                 qcoreapplication.cpp      1093 0x7ffff70d0af5 
      39 QCoreApplication::notify                                                                                                                                                                 qcoreapplication.cpp      1079 0x7ffff70d0beb 
      40 QGuiApplication::notify                                                                                                                                                                  qguiapplication.cpp       1675 0x7ffff799e261 
      41 QCoreApplication::notifyInternal2                                                                                                                                                        qcoreapplication.cpp      1018 0x7ffff70d0b92 
      42 QCoreApplication::sendEvent                                                                                                                                                              qcoreapplication.h        233  0x7ffff70d5b53 
      43 QCoreApplicationPrivate::sendPostedEvents                                                                                                                                                qcoreapplication.cpp      1678 0x7ffff70d5b53 
      44 QCoreApplication::sendPostedEvents                                                                                                                                                       qcoreapplication.cpp      1532 0x7ffff70d62b0 
      45 postEventSourceDispatch                                                                                                                                                                  qeventdispatcher_glib.cpp 276  0x7ffff7129852 
      46 g_main_context_dispatch                                                                                                                                                                                                 0x7ffff4aeb7b7 
      47 ??                                                                                                                                                                                                                      0x7ffff4aeba20 
      48 g_main_context_iteration                                                                                                                                                                                                0x7ffff4aebacc 
      49 QEventDispatcherGlib::processEvents                                                                                                                                                      qeventdispatcher_glib.cpp 423  0x7ffff71298c2 
      50 QEventLoop::processEvents                                                                                                                                                                qeventloop.cpp            134  0x7ffff70cec25 
      51 QEventLoop::exec                                                                                                                                                                         qeventloop.cpp            212  0x7ffff70cf051 
      52 QThread::exec                                                                                                                                                                            qthread.cpp               515  0x7ffff6f03242 
      53 QQmlThreadPrivate::run                                                                                                                                                                   qqmlthread.cpp            147  0x7ffff7748eaa 
      54 QThreadPrivate::start                                                                                                                                                                    qthread_unix.cpp          368  0x7ffff6f0928e 
      55 start_thread                                                                                                                                                                                                            0x7ffff696c2e7 
      56 clone                                                                                                                                                                                                                   0x7ffff5dfb54f 
      

      Attachments

        For Gerrit Dashboard: QTBUG-60590
        # Subject Branch Project Status CR V

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes