Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.1
-
None
-
ebae7fc4264b393436450a6355df38eb97770f9f
Description
The qoffscreensurface::setScreen crashes in create if application is
closing. This happens in multimonitor setup when one of the screens is
already destroyed and qoffscreensurface handles the screenDestroyed
signal. In this case the QGuiApplication::primaryScreen returns non-null
surface and selects the codepath that recreates the surface. The create
function calls the qGuiApp->thread function, which crashes since the
application instance has already been set to nullptr.