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

WASM: RuntimeError: memory access out of bounds [QCursor]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3, 6.6.0
    • 6.5.1, 6.5.2
    • Quick: Controls 2
    • None
    • macOS
    • WebAssembly

    Description

      This was raised in 6.5.1 can it be fixed in the 6.5 branch if possible?

      It makes QML/WASM in the 6.5 LTS branch unusable

      During the running of a WASM QML example app you get the following crash:

      RuntimeError: memory access out of bounds

      Steps to produce:

      Build the project: ./Examples/Qt-6.5.1/quickcontrols/chattutorial/chapter3/chapter3.pro
      Using the WASM multithread version of Qt (I was building and testing on macOS).

      Then do the following in the browser app:

      1. Select any person from the contacts list
      2. Press the top left 'Back' button (in the app not the browser back button)

      You then get the error:

      Qt for WebAssembly: chapter3
      Application exit (RuntimeError: memory access out of bounds)

      with the stack track in the console:
      RuntimeError: memory access out of bounds
          at QCursor::shape() const (chapter3.wasm:0x968795)
          at QWasmCursor::changeCursor(QCursor*, QWindow*) (chapter3.wasm:0x4c4eb)
          at QWindowPrivate::setCursor(QCursor const*) (chapter3.wasm:0x9bbbab)
          at QWindow::unsetCursor() (chapter3.wasm:0x9bbbeb)
          at QQuickItemPrivate::derefWindow() (chapter3.wasm:0x5894c9)
          at QQuickItemPrivate::derefWindow() (chapter3.wasm:0x589569)
          at QQuickItemPrivate::derefWindow() (chapter3.wasm:0x589569)
          at QQuickItemPrivate::derefWindow() (chapter3.wasm:0x589569)
          at QQuickItem::setParentItem(QQuickItem*) (chapter3.wasm:0x588807)
          at QQuickStackElement::~QQuickStackElement() (chapter3.wasm:0x4dd345)
       

       

      Attachments

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

        Activity

          People

            piwierci Piotr Wierciński
            pcheeseman Peter Cheeseman
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes