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

Cannot run syncqt with Threadsanitizer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.7.0 Beta1
    • Build System: CMake
    • None
    • Linux/Wayland
    • 5122fe625 (dev)

    Description

      Configured like this:

       ../../qt5/configure -debug -developer-build -nomake examples -nomake tests -submodules qtdeclarative,qtquick3dphysics,qtwayland -cmake-generator Ninja -prefix /home/jonas/install/qt-dev-tsan -sanitize thread – -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang

      Error:

      -- [QtBase] Running syncqt.cpp for module: QtCore
      CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:282 (message):
        syncqt.cpp failed for module QtCore:

        FATAL: ThreadSanitizer: unexpected memory mapping
        0x64ab4d48d000-0x64ab4d4b2000

      Call Stack (most recent call first):
        qtbase/cmake/QtModuleHelpers.cmake:912 (qt_internal_target_sync_headers)
        qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
        qtbase/src/corelib/CMakeLists.txt:DEFERRED

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            jokarlss Jonas Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes