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

Windows/ANGLE: Crash when exiting app from incorrectly rendered fullscreen mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.4.2, 5.5.1, 5.6
    • GUI: OpenGL
    • None
    • Windows 7 64 bit

    Description

      1. Run 2dpainting example from qtbase/examples/opengl with ANGLE.
      2. Press Alt+Enter.
        The app enters the strange fullscreen mode shown in QTBUG-44904.
      3. Press Alt+F4.
        The app crashes:
        1	RaiseException	KERNELBASE		0x7500c42d	
        2	CDXGISwapChain::FinalRelease	dxgi		0x68b9de2b	
        3	CMTUseCountedObject<CDXGISwapChain>::~CMTUseCountedObject<CDXGISwapChain>	dxgi		0x68b9c992	
        4	CMTUseCountedObject<CDXGISwapChain>::`scalar deleting destructor'	dxgi		0x68b9cc27	
        5	CMTUseCountedObject<CDXGISwapChain>::Delete	dxgi		0x68b9cf8c	
        6	CMTUseCountedObject<CDXGISwapChain>::UCReleaseUse	dxgi		0x68b9cb89	
        7	CPublicUseCountWatcher::UCReleaseUse	dxgi		0x68baaf74	
        8	CBridgeImpl<IUseCounted,ID3D11LayeredUseCounted,CLayeredObject<NDXGI::CResource>>::UCReleaseUse	d3d11		0x68c1ca21	
        9	CView<ID3D11ShaderResourceView>::~CView<ID3D11ShaderResourceView>	d3d11		0x68c04630	
        10	CLayeredObjectWithCLS<CRenderTargetView>::`scalar deleting destructor'	d3d11		0x68bfd979	
        11	CLayeredObjectWithCLS<CTexture2D>::Release	d3d11		0x68bfbb03	
        12	ATL::AtlComPtrAssign	D3D11_1SDKLayers		0x59ea5792	
        13	CD3D11LayeredChild<ID3DDeviceContextState,NDebug::CDevice,32>::FinalRelease	D3D11_1SDKLayers		0x59eab679	
        14	NDebug::CDeviceChild<ID3DDeviceContextState>::FinalRelease	D3D11_1SDKLayers		0x59eaa2fc	
        15	CLayeredObject<NDebug::CRenderTargetView>::~CLayeredObject<NDebug::CRenderTargetView>	D3D11_1SDKLayers		0x59ecf1fa	
        16	CLayeredObject<NDebug::CRenderTargetView>::`scalar deleting destructor'	D3D11_1SDKLayers		0x59ecf2c3	
        17	CLayeredObject<NDebug::CVideoProcessorOutputView>::Release	D3D11_1SDKLayers		0x59ecec40	
        18	CUseCountedObject<NOutermost::CDeviceChild>::FinalRelease	d3d11		0x68c1cbe8	
        19	CUseCountedObject<NOutermost::CDeviceChild>::~CUseCountedObject<NOutermost::CDeviceChild>	d3d11		0x68c1c59d	
        20	CUseCountedObject<NOutermost::CDeviceChild>::`scalar deleting destructor'	d3d11		0x68c1cb06	
        21	CUseCountedObject<NOutermost::CDeviceChild>::UCDestroy	d3d11		0x68c1c8c0	
        22	NOutermost::CDevice::FlushDeletionPool	d3d11		0x68c1c3f2	
        23	CContext::PerformAmortizedRenderOperations	d3d11		0x68bf4175	
        24	TOptImmediateContext::AcquireDevCtxIfaceNoSync	d3d11		0x68c051d9	
        25	CContext::ID3D11DeviceContext1_Flush_AppEntered	d3d11		0x68c518ad	
        26	NDebug::CContext::Flush	D3D11_1SDKLayers		0x59eb25c7	
        27	rx::Renderer11::release	Renderer11.cpp	2283	0x5726e005	
        28	rx::Renderer11::~Renderer11	Renderer11.cpp	344	0x57258da2	
        29	rx::Renderer11::`scalar deleting destructor'	libGLESv2d		0x57259b86	
        30	SafeDelete<rx::RendererD3D>	angleutils.h	68	0x570eb0e0	
        31	rx::DisplayD3D::terminate	DisplayD3D.cpp	255	0x570ee76a	
        32	egl::Display::terminate	Display.cpp	264	0x57038096	
        33	egl::Terminate	entry_points_egl.cpp	94	0x57163ec4	
        34	eglTerminate	libEGL.cpp	117	0x5a8d1b80	
        35	QWindowsEGLStaticContext::~QWindowsEGLStaticContext	qwindowseglcontext.cpp	419	0x56a67c13	
        36	QWindowsEGLStaticContext::`scalar deleting destructor'	qwindowsd		0x56a6b12f	
        37	QtSharedPointer::CustomDeleter<QWindowsStaticOpenGLContext,QtSharedPointer::NormalDeleter>::execute	qsharedpointer_impl.h	192	0x56a1251b	
        38	QtSharedPointer::ExternalRefCountWithCustomDeleter<QWindowsStaticOpenGLContext,QtSharedPointer::NormalDeleter>::deleter	qsharedpointer_impl.h	214	0x56a122a5	
        39	QtSharedPointer::ExternalRefCountData::destroy	qsharedpointer_impl.h	154	0x56a01c33	
        40	QSharedPointer<QWindowsStaticOpenGLContext>::deref	qsharedpointer_impl.h	495	0x56a122f8	
        41	QSharedPointer<QWindowsStaticOpenGLContext>::deref	qsharedpointer_impl.h	488	0x56a122c3	
        42	QSharedPointer<QWindowsStaticOpenGLContext>::~QSharedPointer<QWindowsStaticOpenGLContext>	qsharedpointer_impl.h	309	0x56a1199f	
        43	QWindowsIntegrationPrivate::~QWindowsIntegrationPrivate	qwindowsintegration.cpp	236	0x56a10489	
        44	QWindowsIntegrationPrivate::`scalar deleting destructor'	qwindowsd		0x56a11e1f	
        45	QScopedPointerDeleter<QWindowsIntegrationPrivate>::cleanup	qscopedpointer.h	54	0x56a120d2	
        46	QScopedPointer<QWindowsIntegrationPrivate,QScopedPointerDeleter<QWindowsIntegrationPrivate>>::~QScopedPointer<QWindowsIntegrationPrivate,QScopedPointerDeleter<QWindowsIntegrationPrivate>>	qscopedpointer.h	101	0x56a1191a	
        47	QWindowsIntegration::~QWindowsIntegration	qwindowsintegration.cpp	253	0x56a0f5d5	
        48	QWindowsGdiIntegration::~QWindowsGdiIntegration	qwindowsgdiintegration.cpp	56	0x56a89ad3	
        49	QWindowsGdiIntegration::`scalar deleting destructor'	qwindowsd		0x56a89dbf	
        50	QGuiApplicationPrivate::~QGuiApplicationPrivate	qguiapplication.cpp	1444	0x577076d7	
        51	QApplicationPrivate::~QApplicationPrivate	qapplication.cpp	192	0x57e966b8	
        52	QApplicationPrivate::`vector deleting destructor'	Qt5Widgetsd		0x57ea1260	
        53	QScopedPointerDeleter<QObjectData>::cleanup	qscopedpointer.h	54	0x55cf0f66	
        54	QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>::~QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>	qscopedpointer.h	101	0x55cefc5a	
        55	QObject::~QObject	qobject.cpp	1042	0x55ce5023	
        56	QCoreApplication::~QCoreApplication	qcoreapplication.cpp	868	0x55c9debe	
        57	QGuiApplication::~QGuiApplication	qguiapplication.cpp	613	0x57705fe5	
        58	QApplication::~QApplication	qapplication.cpp	879	0x57e91e7b	
        59	main	main.cpp	56	0x984df1	
        60	WinMain	qtmain_win.cpp	113	0x98749d	
        61	__tmainCRTStartup	crtexe.c	618	0x98687f	
        62	WinMainCRTStartup	crtexe.c	466	0x98663d	
        63	BaseThreadInitThunk	kernel32		0x74b7337a	
        64	__RtlUserThreadStart	ntdll32		0x771b9882	
        65	_RtlUserThreadStart	ntdll32		0x771b9855	
        

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              rlohning Robert Löhning
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes