Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.1, 6.5.2
-
None
-
macOS
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:
- Select any person from the contacts list
- 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)