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

QML Video example does not run on WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.8.0 RC
    • Multimedia
    • WebAssembly

    Description

      The QML Video example in Qt Creator does not start with WebAssembly. The error is

      Application exit (memory access out of bounds)
      

      Errors in console:

      Failed to load resource: the server responded with a status of 404 (File not found: C:\Qt-Test\Examples\Qt-6.8.0\multimedia\video\qmlvideo\build\WebAssembly_Qt_6_8_0_single_threaded-Debug\favicon.ico)Understand this error
      qmlvideoexample.js:1426 QML debugging is enabled. Only use this in a safe environment.
      put_char @ qmlvideoexample.js:1426Understand this error
      qmlvideoexample.html:71 RuntimeError: memory access out of bounds
          at qmlvideoexample.wasm.comparesEqual(QUrl const&, QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.operator==(QUrl const&, QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.VideoSingleton::setSource1(QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.main (qmlvideoexample.wasm:0x42aaa)
          at qmlvideoexample.js:520:10
          at Object.callMain (qmlvideoexample.js:16580:13)
          at qtLoad (qtloader.js:237:22)
          at async init (qmlvideoexample.html:53:34)
      init @ qmlvideoexample.html:71Understand this error
      qmlvideoexample.html:72 RuntimeError: memory access out of bounds
          at qmlvideoexample.wasm.comparesEqual(QUrl const&, QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.operator==(QUrl const&, QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.VideoSingleton::setSource1(QUrl const&) (http://localhost:30001/qmlvideoexample.wasm)
          at qmlvideoexample.wasm.main (qmlvideoexample.wasm:0x42aaa)
          at qmlvideoexample.js:520:10
          at Object.callMain (qmlvideoexample.js:16580:13)
          at qtLoad (qtloader.js:237:22)
          at async init (qmlvideoexample.html:53:34)
      init @ qmlvideoexample.html:72Understand this error
      

      Attachments

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

        Activity

          People

            lopotter-ext Lorn Potter
            johanseg Jøger Hansegård
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes