在ITfMessagePump上查询接口时WPF崩溃。如何调试它?
当WPF(.NET 4.8)试图控制文本服务框架消息泵时,我会遇到随机崩溃,我还没有得到太多的信息 我曾尝试通过关闭对它的支持来禁用它,但没有办法 我如何调试这个?WPF工作正常,呈现良好,直到它停止在这里(我猜文本服务框架接口加载并最终停止工作)在ITfMessagePump上查询接口时WPF崩溃。如何调试它?,wpf,windows,Wpf,Windows,当WPF(.NET 4.8)试图控制文本服务框架消息泵时,我会遇到随机崩溃,我还没有得到太多的信息 我曾尝试通过关闭对它的支持来禁用它,但没有办法 我如何调试这个?WPF工作正常,呈现良好,直到它停止在这里(我猜文本服务框架接口加载并最终停止工作) > KernelBase.dll!RaiseException() Unknown combase.dll!SendReport(HRESULT error, unsigned int cchMax, const wchar_t *
> KernelBase.dll!RaiseException() Unknown
combase.dll!SendReport(HRESULT error, unsigned int cchMax, const wchar_t * message, unsigned short pSid, void * pExceptionObject, IUnknown *) Line 433 C++
combase.dll!RoOriginateErrorW(HRESULT error, unsigned int cchMax, const wchar_t * message) Line 569 C++
[Inline Frame] combase.dll!OriginateErrorUsingFormattedResource(HRESULT) Line 83 C++
combase.dll!CRIFTable::GetPSClsidHelper(const _GUID & riid, bool suppressErrorOrigination, _GUID * pclsid, CRIFTable::tagRIFEntry * * ppEntry) Line 1816 C++
[Inline Frame] combase.dll!CRIFTable::GetPSClsidAndObject(const _GUID &) Line 1656 C++
combase.dll!GetPSFactoryInternal(unsigned long dwContext, const _GUID & riid, IPSFactoryBuffer * * ppFactory) Line 2492 C++
combase.dll!GetPSFactory(const _GUID & riid, IPSFactoryBuffer * * ppFactory) Line 2611 C++
combase.dll!CStdWrapper::CreateIFaceEntry(const _GUID & riid, void * pServer, IFaceEntry * * ppEntry) Line 1097 C++
combase.dll!CrossCtxQIFn(void * pv) Line 1513 C++
combase.dll!EnterForCallback(tagRPCOLEMESSAGE * pMessage, CPolicySet * pPS, HRESULT(*)(void *) pfnCallback, void * pv, const _GUID & riid, unsigned long) Line 2073 C++
combase.dll!SwitchForCallback(CPolicySet * pPS, HRESULT(*)(void *) pfnCallback, void * pv, const _GUID & riid, unsigned long iMethod, IUnknown * pUnk) Line 1705 C++
combase.dll!CStdWrapper::CrossCtxQI(CPolicySet * pPS, const _GUID & riid, IFaceEntry * * ppEntry) Line 3524 C++
combase.dll!CStdWrapper::InternalQI(const _GUID & riid, void * * ppv, int pWrapperEntry, int) Line 2296 C++
combase.dll!CStdWrapper::QueryInterface(const _GUID & riid, void * * ppv) Line 2391 C++
[Managed to Native Transition]
WindowsBase.dll!System.Windows.Threading.Dispatcher.GetMessagePump() Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.GetMessage(ref System.Windows.Interop.MSG msg, System.IntPtr hwnd, int minMessage, int maxMessage) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) Unknown
PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) Unknown
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) Unknown
MyApp.exe!MyApp.UI.App.Main() Unknown
[Native to Managed Transition]
mscoreei.dll!_CorExeMain() Unknown
mscoree.dll!_CorExeMain_Exported() Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown