Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.5.0
-
None
Description
I am experiencing the following problem on Windows 7/64 bit, using Qt 5.5.0 32-bit MinGW distribution: when starting my application from the primary monitor (i.e when the Windows Explorer window with the .exe file resides on that monitor), everything works. When starting it from the secondary monitor, the program crashes during the following call:
engine.load(QUrl("qrc:///qml/my.qml"));
where engine is an instance of QQmlApplicationEngine. The QML file is as follows:
import QtQuick.Window 2.2
Window {}
The primary monitor is connected to Radeon HD 6950 adapter with the latest beta driver. The secondary monitor is connected to the on-board Intel HD 4600 adapter.
The minidump file says:
(ca0.122c): Access violation - code c0000005 (first/second chance not available) eax=00000000 ebx=0028e04c ecx=00000000 edx=0028e85c esi=00000002 edi=00000000 eip=773c01a9 esp=0028dffc ebp=0028e098 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00200246 ntdll!ZwWaitForMultipleObjects+0x15: 773c01a9 83c404 add esp,4
If I disable in Windows the monitor attached to the AMD card (the other monitor becomes primary), the problem disappears. If I attach both monitors to the AMD videocard, I get the following messages when starting the program from the secondary monitor:
QSGThreadedRenderLoop: expose event received for window QQuickWindowQmlImpl_QML_0(0x28dd3d68) with invalid geometry: QRect(2640,520 160x160) on QScreen(0x28d2de50) QSGThreadedRenderLoop: expose event received for window QQuickWindowQmlImpl_QML_0(0x28dd3d68) with invalid geometry: QRect(2640,520 160x160) on QScreen(0x28d2de50)
... but the program doesn't crash and works as expected.