Clicking on QWebEngineView causes Designer.exe to crash and exit
Unsolved
Qt for Python
-
I use PySide's Designer on Windows 11, I can drag and drop other widgets normally, but once I click QWebEngineView, designer.exe will exit immediately, you can see an Application Error in eventvwr.msc, the module name is d3d11.dll,code is 0xc0000005. I have tried other operating systems and encountered the same problem. There is a similar problem on Reddit but there is no answer.
What can I do? Thank you !The following is the summary information of the event.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Version>0</Version> <Level>2</Level> <Task>100</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2022-02-03T06:10:57.7644585Z" /> <EventRecordID>106886</EventRecordID> <Correlation /> <Execution ProcessID="22876" ThreadID="0" /> <Channel>Application</Channel> <Computer>*.org</Computer> <Security /> </System> <EventData> <Data>designer.exe</Data> <Data>6.2.2.0</Data> <Data>619ec261</Data> --错误偏移量 <Data>d3d11.dll</Data> <Data>10.0.22000.120</Data> --错误模块名称 <Data>4deb176a</Data> <Data>c0000005</Data> --异常代码 <Data>000000000001d6dd</Data> --错误偏移量 <Data>620c</Data> --错误进程 ID
Other information:
Microsoft (R) Windows Debugger Version 10.0.22473.1005 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\*\AppData\Local\CrashDumps\designer.exe.37808.dmp] User Mini Dump File: Only registers, stack and portions of memory are available ************* Path validation summary ************** Response Time (ms) Location Deferred srv* Symbol search path is: srv* Executable search path is: Windows 10 Version 22000 MP (12 procs) Free x64 Product: WinNt, suite: SingleUserTS Edition build lab: 22000.1.amd64fre.co_release.210604-1628 Machine Name: Debug session time: Thu Feb 3 13:49:11.000 2022 (UTC + 8:00) System Uptime: not available Process Uptime: 0 days 2:27:55.000 ................................................................ ................................................................ ....................... Loading unloaded module list ...................................... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (93b0.2a80): Access violation - code c0000005 (first/second chance not available) For analysis of this file, run !analyze -v ntdll!NtWaitForMultipleObjects+0x14: 00007ffc`72fc3eb4 c3 ret 0:000> !analyze -v ******************************************************************************* * * * Exception Analysis * * * ******************************************************************************* KEY_VALUES_STRING: 1 Key : AV.Dereference Value: NullClassPtr Key : AV.Fault Value: Read Key : Analysis.CPU.mSec Value: 1937 Key : Analysis.DebugAnalysisManager Value: Create Key : Analysis.Elapsed.mSec Value: 6765 Key : Analysis.Init.CPU.mSec Value: 390 Key : Analysis.Init.Elapsed.mSec Value: 87241 Key : Analysis.Memory.CommitPeak.Mb Value: 273 Key : Timeline.Process.Start.DeltaSec Value: 8875 Key : WER.OS.Branch Value: co_release Key : WER.OS.Timestamp Value: 2021-06-04T16:28:00Z Key : WER.OS.Version Value: 10.0.22000.1 Key : WER.Process.Version Value: 6.2.2.0 FILE_IN_CAB: designer.exe.37808.dmp NTGLOBALFLAG: 0 PROCESS_BAM_CURRENT_THROTTLED: 0 PROCESS_BAM_PREVIOUS_THROTTLED: 0 APPLICATION_VERIFIER_FLAGS: 0 CONTEXT: (.ecxr) rax=0000000000000000 rbx=000001d66b1f69d0 rcx=000001d66b6717b0 rdx=0000000000000001 rsi=000001d66b700460 rdi=0000000000000001 rip=00007ffc5936d6dd rsp=0000007766cf9270 rbp=000001d66b4edfe0 r8=0000007766cf9350 r9=000001d66b1f6a30 r10=0000000000000001 r11=000001d66b6717b0 r12=0000007766cf9e60 r13=000001d66b2cf0a0 r14=000001d669a7c0e0 r15=0000007766cf9e60 iopl=0 nv up ei pl nz na pe nc cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202 d3d11!CDevice::CreateShaderResourceView_Worker+0x3d: 00007ffc`5936d6dd 0fbf82bc000000 movsx eax,word ptr [rdx+0BCh] ds:00000000`000000bd=???? Resetting default scope EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 00007ffc5936d6dd (d3d11!CDevice::CreateShaderResourceView_Worker+0x000000000000003d) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000000 Parameter[1]: 00000000000000bd Attempt to read from address 00000000000000bd PROCESS_NAME: designer.exe READ_ADDRESS: 00000000000000bd ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p 0x%p %s EXCEPTION_CODE_STR: c0000005 EXCEPTION_PARAMETER1: 0000000000000000 EXCEPTION_PARAMETER2: 00000000000000bd STACK_TEXT: 00000077`66cf9270 00007ffc`5936d692 : 000001d6`6b2cf0a0 00000077`66cf9e60 000001d6`6b6ff950 000001d6`6b6ff960 : d3d11!CDevice::CreateShaderResourceView_Worker+0x3d 00000077`66cf92e0 00007ffc`209d5659 : 000001d6`69a91090 00007ffc`72f20000 000001d6`69a7c000 00000000`00000001 : d3d11!CDevice::CreateShaderResourceView+0x12 00000077`66cf9320 00007ffc`209d0b03 : 00000000`00000001 000001d6`6b2cf0a0 00000000`00000001 00000000`00000001 : Qt6Gui!QNativeInterface::QWGLContext::openGLModuleHandle+0xf159 00000077`66cf93d0 00007ffc`10f367c4 : 000001d6`6b1f69d0 00000000`00000001 00000077`66cf9458 000001d6`6b36a940 : Qt6Gui!QNativeInterface::QWGLContext::openGLModuleHandle+0xa603 00000077`66cf9410 00007ffc`10f87b75 : 000001d6`6b380500 000001d6`69a7c0e0 00000000`00000000 00000000`00000001 : Qt6Quick!QQuickRenderTargetPrivate::resolve+0x174 00000077`66cf94a0 00007ffc`10f8c96e : 00000000`00000001 000001d6`6b36a940 00000077`66cf9e60 000001d6`69a7c0e0 : Qt6Quick!QQuickWindowPrivate::ensureCustomRenderTarget+0x65 00000077`66cf94d0 00007ffc`10f35ad5 : 00000000`00000016 00000000`00000000 000001d6`6b2b6d70 00007ffc`10f35364 : Qt6Quick!QQuickWindowPrivate::syncSceneGraph+0x1e 00000077`66cf9530 00007ffc`3b0767d0 : 000001d6`69a7c0e0 00000000`00000001 00000000`00000001 00007ffc`72f4822a : Qt6Quick!QQuickRenderControl::sync+0xb5 00000077`66cf9580 00007ffc`3b076b0b : 00000000`00000000 00000077`66cf9719 000001d6`69a7c0e0 000001d6`6b2cf0a0 : Qt6QuickWidgets!QQuickWidget::quickWindow+0x400 00000077`66cf95f0 00007ffc`39cd95ff : 00000077`66cf97d0 00007ffc`11da1bf4 00000077`66cf9719 000001d6`69aa0580 : Qt6QuickWidgets!QQuickWidget::resizeEvent+0x10b 00000077`66cf9670 00007ffc`2139d052 : 00000077`66cf9e60 000001d6`69b0e3d0 00000077`66cf9e60 000001d6`69b0e3d0 : Qt6WebEngineWidgets!QWebEngineView::zoomFactor+0x1a4f 00000077`66cf96a0 00007ffc`3b074599 : 0000af5b`5294bcfa 00007ffc`213b100e 000001d6`60903cc0 00000077`66cf9e60 : Qt6Widgets!QWidget::event+0x512 00000077`66cf9780 00007ffc`213621fd : 000001d6`6b2cf0a0 000001d6`608e08a0 000001d6`60903cc0 00000077`66cf9e60 : Qt6QuickWidgets!QQuickWidget::event+0x359 00000077`66cf98d0 00007ffc`213612eb : 00000000`00000000 00000077`66cf9a00 00000000`00000000 000001d6`60903cc0 : Qt6Widgets!QApplicationPrivate::notify_helper+0x10d 00000077`66cf9900 00007ffc`11d9a034 : 00000077`66cff700 000001d6`6b2cf0a0 00000077`66cf9e60 00000000`00000000 : Qt6Widgets!QApplication::notify+0x18db 00000077`66cf9dd0 00007ffc`213a7846 : 000001d6`6b2cf0a0 000001d6`6b371100 000001d6`6b2cf0a0 00000000`00000000 : Qt6Core!QCoreApplication::notifyInternal2+0xc4 00000077`66cf9e40 00007ffc`213a789e : ffffffff`ffffffff 000000c8`0000012c 00000000`00000002 00007ffc`72f48b8a : Qt6Widgets!QWidgetPrivate::sendPendingMoveAndResizeEvents+0x256 00000077`66cf9eb0 00007ffc`213a789e : ffffffff`ffffffff 000000c8`0000012c 00000000`00000000 000001d6`6b3ec120 : Qt6Widgets!QWidgetPrivate::sendPendingMoveAndResizeEvents+0x2ae 00000077`66cf9f20 00007ffc`2139e8f8 : ffffffff`ffffffff 000000c8`0000012c 000001d6`69d18750 000001d6`697d85b0 : Qt6Widgets!QWidgetPrivate::sendPendingMoveAndResizeEvents+0x2ae 00000077`66cf9f90 00007ffc`2404ad70 : 000001d6`6b0e15e0 000001d6`69b0e3d0 000001d6`6b3ee200 000001d6`69b0e3d0 : Qt6Widgets!QWidget::grab+0x48 00000077`66cfa060 00007ffc`2404c0d7 : fffffff6`fffffff6 00000077`66cfa2a0 00000077`66cfa2c0 000001d6`6b3ee200 : Qt6Designer!qdesigner_internal::QDesignerMimeData::QDesignerMimeData+0x3d0 00000077`66cfa1f0 00007ffc`2c9ff346 : 00000077`66cfa2c0 00000077`66cfa2c0 000001d6`6b3ee200 00000000`00000000 : Qt6Designer!qdesigner_internal::QDesignerMimeData::execDrag+0x77 00000077`66cfa270 00007ffc`2c9ff519 : 000001d6`696f4450 00000000`00000001 000001d6`697dd010 00000000`00000000 : Qt6DesignerComponents!QDesignerComponents::operator=+0xbdb56 00000077`66cfa2d0 00007ffc`11dd1751 : ffffffff`ffffffff 00000077`66cf0000 00000077`00000002 00000000`00002a80 : Qt6DesignerComponents!QDesignerComponents::operator=+0xbdd29 00000077`66cfa310 00007ffc`11dd38e4 : 000001d6`697d85b0 000001d6`0000001a 00000000`0000001a 00000077`66cfa501 : Qt6Core!QObject::qt_static_metacall+0x1321 00000077`66cfa460 00007ffc`2c926700 : 000001d6`6986fa10 00000077`66cfa630 00000000`00000001 000001d6`69b0e480 : Qt6Core!QMetaObject::activate+0x84 00000077`66cfa490 00007ffc`2c9ff519 : 00000077`66cfa5e9 00000000`00000000 00000000`00000000 00007ffc`11d72a27 : Qt6DesignerComponents+0x6700 00000077`66cfa4f0 00007ffc`11dd1751 : 00000077`66cfa5d0 0000506f`be1ce819 000001d6`69bec220 00007ffc`11d84b6b : Qt6DesignerComponents!QDesignerComponents::operator=+0xbdd29 00000077`66cfa530 00007ffc`11dd38e4 : 000001d6`67dcb5b0 00007ffc`00000010 00000000`0000000f 00000077`66cfa801 : Qt6Core!QObject::qt_static_metacall+0x1321 00000077`66cfa680 00007ffc`2c9266a3 : 00000077`66cfa748 00000077`66cfa870 000001d6`67dcb5b0 00000000`00000000 : Qt6Core!QMetaObject::activate+0x84 00000077`66cfa6b0 00007ffc`2ca02db2 : 00000077`66cfa8a0 000001d6`67dcb5b0 00000077`66cfa780 00000000`00000000 : Qt6DesignerComponents+0x66a3 00000077`66cfa710 00007ffc`11dd1751 : 000001d6`6988f1d0 000001d6`6985be40 000003ea`00000062 000001d6`6986ed80 : Qt6DesignerComponents!QDesignerComponents::operator=+0xc15c2 00000077`66cfa770 00007ffc`11dd38e4 : 000001d6`67dcb5b0 00007ffc`00000007 00000000`00000007 00000000`00000001 : Qt6Core!QObject::qt_static_metacall+0x1321 00000077`66cfa8c0 00007ffc`215c67d5 : 00000000`00000003 00000077`66cfa9f0 000001d6`67dcb5b0 000001d6`67dcb5b0 : Qt6Core!QMetaObject::activate+0x84 00000077`66cfa8f0 00007ffc`2139cc83 : 00000000`00000003 000001d6`67dcb5b0 000001d6`00000020 000001d6`69b0e220 : Qt6Widgets!QAbstractItemView::mousePressEvent+0x4f5 00000077`66cfaaa0 00007ffc`2142a9f0 : 000001d6`69903400 00007ff7`5742a5e0 000001d6`67dcb5b0 00000077`66cfb710 : Qt6Widgets!QWidget::event+0x143 00000077`66cfab80 00007ffc`215ce33b : 000001d6`697e04a0 000001d6`67dcb5b0 00000000`00000000 00000000`00000000 : Qt6Widgets!QFrame::event+0x30 00000077`66cfabb0 00007ffc`11d9c717 : 00000000`00000003 00000000`00000030 000001d6`6986f140 00000000`00000000 : Qt6Widgets!QAbstractItemView::viewportEvent+0x3ab 00000077`66cfad10 00007ffc`213621e2 : 000001d6`60903cc0 000001d6`608e08a0 00000077`66cfb710 000001d6`6986f140 : Qt6Core!QCoreApplicationPrivate::sendThroughObjectEventFilters+0xd7 00000077`66cfad70 00007ffc`21360218 : 00000077`66cfb710 00000077`66cfaea0 000001d6`699b66d0 000001d6`699b66d0 : Qt6Widgets!QApplicationPrivate::notify_helper+0xf2 00000077`66cfada0 00007ffc`11d9a034 : 00000077`00000000 000001d6`6986f140 00000077`66cfb710 00000000`00000001 : Qt6Widgets!QApplication::notify+0x808 00000077`66cfb270 00007ffc`21364d2f : 3ff00000`00000000 00000000`00000000 00007ffc`218ae328 00000000`00000000 : Qt6Core!QCoreApplication::notifyInternal2+0xc4 00000077`66cfb2e0 00007ffc`213bc313 : 00000000`00000000 00000000`00000000 000001d6`6986f140 00000000`00000000 : Qt6Widgets!QApplicationPrivate::sendMouseEvent+0x3ef 00000077`66cfb400 00007ffc`213b9ce2 : 000001d6`608e08a0 00007ffc`21446240 000001d6`60903cc0 00000077`66cfc1c0 : Qt6Widgets!QWidgetPrivate::shouldDiscardSyncRequest+0x3ee3 00000077`66cfb8e0 00007ffc`213621fd : 000001d6`60903cc0 000001d6`608e08a0 000001d6`60903cc0 000001d6`699be790 : Qt6Widgets!QWidgetPrivate::shouldDiscardSyncRequest+0x18b2 00000077`66cfb9f0 00007ffc`213612eb : 00000000`00000000 00000077`66cfbb20 00000000`00000000 000001d6`60903cc0 : Qt6Widgets!QApplicationPrivate::notify_helper+0x10d 00000077`66cfba20 00007ffc`11d9a034 : 00000077`66cff700 000001d6`699be790 00000077`66cfc1c0 000001d6`699be790 : Qt6Widgets!QApplication::notify+0x18db 00000077`66cfbef0 00007ffc`2075651e : 000001d6`60937dd0 000001d6`697743d0 000001d6`60937dd0 00007ffc`70dc189e : Qt6Core!QCoreApplication::notifyInternal2+0xc4 00000077`66cfbf60 00007ffc`20795e78 : 000001d6`60937cd0 00000000`00000001 000001d6`69774dc0 000001d6`60937cd0 : Qt6Gui!QGuiApplicationPrivate::processMouseEvent+0x7ae 00000077`66cfc480 00007ffc`11ee8552 : 00000000`00000024 000001d6`608db600 000001d6`608db600 00000078`000001ff : Qt6Gui!QWindowSystemInterface::sendWindowSystemEvents+0xe8 00000077`66cfc4b0 00007ffc`209c6349 : 00000000`00000000 00000000`00000000 000001d6`699eb8b0 000001d6`60937cd0 : Qt6Core!QEventDispatcherWin32::processEvents+0x72 00000077`66cff5e0 00007ffc`11d9ed4e : 00000000`00000000 00000000`00000000 000001d6`699eb8b0 000001d6`60903cc0 : Qt6Gui!QWindowsGuiEventDispatcher::processEvents+0x19 00000077`66cff610 00007ffc`11d980fb : 00000077`66cff6d0 00000000`00000000 00000000`00000000 00000000`00000000 : Qt6Core!QEventLoop::exec+0x19e 00000077`66cff6b0 00007ff7`573fe198 : 000001d6`60903a40 000001d6`609026f0 000001d6`62b24460 000001d6`60903d00 : Qt6Core!QCoreApplication::exec+0x15b 00000077`66cff710 00007ff7`57423637 : 00000000`00000001 00000000`00000000 000001d6`609026f0 00000000`00000000 : designer+0x1e198 00000077`66cff7c0 00007ff7`57422c02 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : designer+0x43637 00000077`66cff850 00007ffc`719154e0 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : designer+0x42c02 00000077`66cff890 00007ffc`72f2485b : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x10 00000077`66cff8c0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2b SYMBOL_NAME: d3d11!CDevice::CreateShaderResourceView_Worker+3d MODULE_NAME: d3d11 IMAGE_NAME: d3d11.dll STACK_COMMAND: ~0s ; .ecxr ; kb FAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_d3d11.dll!CDevice::CreateShaderResourceView_Worker OS_VERSION: 10.0.22000.1 BUILDLAB_STR: co_release OSPLATFORM_TYPE: x64 OSNAME: Windows 10 IMAGE_VERSION: 10.0.22000.120 FAILURE_ID_HASH: {5c2e88b5-a5e8-f47f-4e82-6b3f55ead629} Followup: MachineOwner --------- <Data>01d818c4cbd6e796</Data> <Data>C:\*\Python\Lib\site-packages\PySide6\designer.exe</Data> <Data>C:\WINDOWS\SYSTEM32\d3d11.dll</Data> <Data>a654a617-d487-402f-909f-1b5e6129b838</Data> <Data> </Data> <Data> </Data> </EventData> </Event>