Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

UIAutomation WPF COM Access Violation Exception

$
0
0

Hi, 

I am using UIAutomation to test a WPF app where I have created a few of my own peers. Occasionally I get an exception in the COM layer which completely crashes my application under test. I have managed to get a crash dump but it doesn't seem to relate to any of my code. Does anyone know what might be causing this? Or anyway to get more information?  

Event Viewer

2018-05-11 10:18:13,000 Level=2 Faulting application name: XXXXX.exe, version: XXXX, time stamp: 0x5af43754
Faulting module name: UIAutomationCore.dll, version: 7.0.0.0, time stamp: 0x4a5bdb1d
Exception code: 0xc0000005
Fault offset: 0x00008f23
Faulting process id: 0x2254
Faulting application start time: 0x01d3e9086fc10688
Faulting application path: C:\XXXX.exe
Faulting module path: C:\Windows\system32\UIAutomationCore.dll
Report Id: 3a3a7f26-54fc-11e8-951f-6c626de989be

Dump Stack

Call stack below ---
 # ChildEBP RetAddr  Args to Child              
00 242ceb50 19390992 00000000 11dd1b38 11e275d0 UIAutomationCore!QI<IRawElementProviderSimple>+0x9 (FPO: [Non-Fpo])
01 242ceb78 193bc4c9 18f12a94 00000000 00000001 UIAutomationCore!UiaNode::CrossProcess_SetFocus+0x11c (FPO: [Non-Fpo])
02 242ceba0 193bd562 11e275d0 193ed740 11dd1b38 UIAutomationCore!RemoteUiaNodeStub::Incoming_SetFocus+0x46 (FPO: [Non-Fpo])
03 242cebbc 193b7b4b 11e275d0 193ed740 11dd1b38 UIAutomationCore!RemoteUiaNodeStub::OnMessage+0x93 (FPO: [Non-Fpo])
04 242cebdc 193b27e2 242cebf8 242cec14 193b7b94 UIAutomationCore!InvokeOnCorrectContext2_Callback+0x1c (FPO: [Non-Fpo])
05 242cebe8 193b7b94 193b7b2f 242cebf8 193bd4cf UIAutomationCore!NullInvoker::CallTarget+0xb (FPO: [Non-Fpo])
06 242cec14 193b8aac 193bd4cf 11e275d0 193ed740 UIAutomationCore!InvokeOnCorrectContext+0x40 (FPO: [Non-Fpo])
07 242cec58 193b8f7a 242cec70 242cec84 11dd1b38 UIAutomationCore!ProcessIncomingRequest+0x142 (FPO: [Non-Fpo])
08 242cfc9c 193b6c64 242d0060 00000006 11dc8578 UIAutomationCore!ChannelBasedServerConnection::OnData+0x52 (FPO: [Non-Fpo])
09 242cfccc 193b67b8 242cfce4 00000000 00000000 UIAutomationCore!ReadWriteChannelInfo::Service+0x178 (FPO: [Non-Fpo])
0a 242cfcec 193b69d2 242cfd00 75d2343d 193ed7c8 UIAutomationCore!OverlappedIOManager::IoThreadProc+0x27 (FPO: [Non-Fpo])
0b 242cfcf4 75d2343d 193ed7c8 242cfd40 773c9832 UIAutomationCore!OverlappedIOManager::StaticIoThreadProc+0xd (FPO: [Non-Fpo])
0c 242cfd00 773c9832 193ed7c8 14efdeeb 00000000 KERNEL32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])
0d 242cfd40 773c9805 193b69c5 193ed7c8 00000000 ntdll!__RtlUserThreadStart+0x70 (FPO: [Non-Fpo])
0e 242cfd58 00000000 193b69c5 193ed7c8 00000000 ntdll!_RtlUserThreadStart+0x1b (FPO: [Non-Fpo])

Thanks 

Ronnie




Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>