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

QML video example crashes immediately after launch, because of missing qmlvideo module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.0 Beta3
    • Examples and Demos
    • None
    • macOS

    Description

      Steps to reproduce:

      1. Open, build and run https://doc.qt.io/qt-6/qtmultimedia-video-qmlvideo-example.html - I run it on macOs.

      Expected: The app should not crash.

      Actual: The app crashes. 

      <Unknown File>: No module named "qmlvideo" found
      19:55:00: [...]/Qt/Examples/Qt-6.7.0/multimedia/video/build-qmlvideo-Qt_6_7_0_for_macOS-Debug/qmlvideoexample.app/Contents/MacOS/qmlvideoexample crashed. 

       

      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
      Exception Codes:       0x0000000000000001, 0x0000000000000000Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [74975]VM Region Info: 0 is not in any region.  Bytes before following region: 4462968832
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            UNUSED SPACE AT START
      --->  
            __TEXT                      10a038000-10a04c000    [   80K] r-x/r-x SM=COW  ...lvideoexampleThread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   QtCore                                   0x10d10ee82 QObject::doSetProperty(char const*, QVariant const*, QVariant*) + 50 (qobject.cpp:4213)
      1   qmlvideoexample                          0x10a047659 QObject::setProperty(char const*, QVariant&&) + 41 (qobject.h:402)
      2   qmlvideoexample                          0x10a046c20 main + 2128 (main.cpp:86)
      3   dyld                                  0x7ff80c5ce386 start + 1942
      

       

      Reproducibility:  100% 

      Attachments

        Issue Links

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

          Activity

            People

              tokorpip Tomi Korpipää
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 2 open Gerrit changes