Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-826

Clang crashes in CI with: "error: unable to execute command: Segmentation fault: 11"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      agent:2022/03/10 07:17:22 build.go:394: FAILED: src/quick/CMakeFiles/Quick.dir/Debug/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp.o 
      agent:2022/03/10 07:17:22 build.go:394: sccache /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DGLES_SILENCE_DEPRECATION -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_COMPILER_SUPPORTS_SSE2 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DCMAKE_INTDIR=\"Debug\" -I/Users/qt/work/qt/qtdeclarative/build/target/src/quick/Quick_autogen/include_Debug -I/Users/qt/work/qt/qtdeclarative/build/target/include -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQuick -I/Users/qt/work/qt/qtdeclarative/src/quick -I/Users/qt/work/qt/qtdeclarative/build/target/src/quick -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQuick/6.4.0 -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQuick/6.4.0/QtQuick -I/Users/qt/work/qt/qtdeclarative/build/target/src/qml -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQml/6.4.0 -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQml/6.4.0/QtQml -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQml -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQmlIntegration -I/Users/qt/work/qt/qtdeclarative/src/qmlintegration -I/Users/qt/work/qt/qtdeclarative/build/target/src/qmlintegration -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQmlModels -I/Users/qt/work/qt/qtdeclarative/build/target/src/qmlmodels -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQmlModels/6.4.0 -I/Users/qt/work/qt/qtdeclarative/build/target/include/QtQmlModels/6.4.0/QtQmlModels -isystem /Users/qt/work/install/target/include/QtCore/6.4.0 -isystem /Users/qt/work/install/target/include/QtCore/6.4.0/QtCore -isystem /Users/qt/work/install/target/include/QtCore -isystem /Users/qt/work/install/target/include -isystem /Users/qt/work/install/target/mkspecs/macx-ios-clang -isystem /Users/qt/work/install/target/include/QtNetwork -isystem /Users/qt/work/install/target/include/QtGui -isystem /Users/qt/work/install/target/include/QtGui/6.4.0 -isystem /Users/qt/work/install/target/include/QtGui/6.4.0/QtGui -isystem /Users/qt/work/install/target/include/QtOpenGL -isystem /Users/qt/work/install/target/include/QtOpenGL/6.4.0 -isystem /Users/qt/work/install/target/include/QtOpenGL/6.4.0/QtOpenGL -g -arch arm64 -arch x86_64 -Xarch_arm64 -isysroot/Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -Xarch_x86_64 -isysroot/Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -miphoneos-version-min=13.0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -msse2 -fapplication-extension -fembed-bitcode-marker -std=c++17 -Winvalid-pch -Xarch_arm64 -include/Users/qt/work/qt/qtdeclarative/build/target/src/quick/CMakeFiles/Quick.dir/Debug/cmake_pch_arm64.hxx -Xarch_x86_64 -include/Users/qt/work/qt/qtdeclarative/build/target/src/quick/CMakeFiles/Quick.dir/Debug/cmake_pch_x86_64.hxx -MD -MT src/quick/CMakeFiles/Quick.dir/Debug/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp.o -MF src/quick/CMakeFiles/Quick.dir/Debug/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp.o.d -o src/quick/CMakeFiles/Quick.dir/Debug/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp.o -c /Users/qt/work/qt/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp
      agent:2022/03/10 07:17:22 build.go:394: clang: error: unable to execute command: Segmentation fault: 11
      agent:2022/03/10 07:17:22 build.go:394: clang: error: clang frontend command failed due to signal (use -v to see invocation)
      agent:2022/03/10 07:17:22 build.go:394: Apple clang version 13.0.0 (clang-1300.0.29.30)
      agent:2022/03/10 07:17:22 build.go:394: Target: x86_64-apple-darwin20.6.0-simulator
      agent:2022/03/10 07:17:22 build.go:394: Thread model: posix
      agent:2022/03/10 07:17:22 build.go:394: InstalledDir: /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
      agent:2022/03/10 07:17:22 build.go:394: clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options.
      

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/397502/2#message-19acca1937c033832a34074d7895b0ca2b5b85e3

      https://testresults.qt.io/logs/qt/qtdeclarative/2a292ce0c1183b88d8510a103f599f426fcac83f/MacOSMacOS_11x86_64IOSIOS_ANYarm64Clangqtci-macos-11-x86_64-104-368c5fDebugAndRelease_DisableTests_Sccache/a2f21222af7e421c853f772b6fc4c5a023db0386/build_1646892698/log.txt.gz

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tosaario Toni Saario
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes