Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.0
Description
In some case it is observed that window update happens in the middle of QQuickItem creation. Due to this a large application application goes gray with Chrome console throws a warning with backtrace provided below
$QRhiGles2::executeCommandBuffer(QRhiCommandBuffer*) @
$QRhiGles2::endFrame(QRhiSwapChain*, QFlags<QRhi::EndFrameFlag>) @
$QRhi::endFrame(QRhiSwapChain*, QFlags<QRhi::EndFrameFlag>)
$QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*)
$QSGGuiThreadRenderLoop::handleUpdateRequest(QQuickWindow*)
...
$QQuickWindow::event(QEvent*)
$QQuickWindowQmlImpl::event(QEvent*)
$QCoreApplicationPrivate::notify_helper(QObject*, QEvent*)
$QCoreApplication::notify(QObject*, QEvent*)
$QGuiApplication::notify(QObject*, QEvent*)
$::Application::notify(QObject*, QEvent*)
invoke_iiii @
$QCoreApplication::notifyInternal2(QObject*, QEvent*)
$QCoreApplication::sendEvent(QObject*, QEvent*)
$QPlatformWindow::deliverUpdateRequest()
$QWasmCompositor::deliverUpdateRequest(QWasmWindow*, QWasmCompositor::UpdateRequestDeliveryType)
$QWasmCompositor::deliverUpdateRequests()
$QWasmCompositor::requestUpdate()::$_0::__invoke(double, void*) @
Attached is one small reproducer which does not shows the exact same stack as above but it shows that Application::notify is being called synchronously.
If you run it with wasam it is expected that it should Assert because of one flag creationInProgress is set to true.
Whole point of this example is to show It is refreshing window while the QQuickItem is still under construction?
Attachments
Issue Links
- relates to
-
QTBUG-126260 Crash in /usr/lib64/dri/swrast_dri.so called by QOpenGLFunctions::glDrawElements when running Material style test
- Reported