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

qmlsc crashes a build with the sample app from Qt Creator wizard

    XMLWordPrintable

Details

    • macOS

    Description

      I updated my installation to the recent preview builds today, see the screenshot for versions, and realized the qmlsc started to crash with a segfault.

      If I switch the kit to 6.3.0 it works OK. 

       

      14:44:55: Running steps for project untitled15...
      14:44:55: Starting: "/Users/vladimir/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" --build /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug --target all
      [1/9 12.2/sec] Generating .rcc/qmlcache/appuntitled15_main_qml.cpp
      FAILED: .rcc/qmlcache/appuntitled15_main_qml.cpp /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmlcache/appuntitled15_main_qml.cpp 
      cd /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug && /Users/vladimir/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -E make_directory /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmlcache && /Users/vladimir/Qt/6.4.0/macos/./libexec/qmlsc --resource-path /untitled15/main.qml -I /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug -i /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/untitled15/qmldir --resource /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmake_untitled15.qrc --resource /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/appuntitled15_raw_qml_0.qrc -o /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmlcache/appuntitled15_main_qml.cpp /Users/vladimir/development/misc/untitled15/main.qml
      /bin/sh: line 1: 21365 Segmentation fault: 11  /Users/vladimir/Qt/6.4.0/macos/./libexec/qmlsc --resource-path /untitled15/main.qml -I /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug -i /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/untitled15/qmldir --resource /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmake_untitled15.qrc --resource /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/appuntitled15_raw_qml_0.qrc -o /Users/vladimir/development/misc/build-untitled15-Qt_6_4_0_for_macOS-Debug/.rcc/qmlcache/appuntitled15_main_qml.cpp /Users/vladimir/development/misc/untitled15/main.qml
      ninja: build stopped: subcommand failed.
      14:44:55: The process "/Users/vladimir/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" exited with code 1.
      Error while building/deploying project untitled15 (kit: Qt 6.4.0 for macOS)
      When executing step "Build"
      14:44:55: Elapsed time: 00:00.
      
      

      Attachments

        Issue Links

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

          Activity

            People

              releaseteam Qt Release Team
              vminenko Vladimir Minenko
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes