We are building a Microsoft Outlook AddIn using C#.
From some of our customers we get reports that Outlook unexpectedly crashes (complete process restart).
So far it has been impossible to reproduce, we can only analyze the logs after the fact.
We have our own logging and tracing, but our logs of course cannot catch the actual crashing, because when Outlook.exe crashes, our AddIn is gone.
We ran Time Travel debugging with WinDbg as well as run SARA, but nothing suspicious came up.
Ofcourse only thing we can see is that Outlook.exe crashes in Windows EventViewer. All it shows is Error ID 1000 with the faulting module pointing to KERNELBASE.dll, wwlib.dll, opmapi32.dll etc... but nothing concrete.
We are convinced the problem occurs inside our code because as soon as our add-in is turned off, the crashes stop.
We tried all the basics of upgrading to latest Office-build, new profile, regenerate OST-file... all of it.
We are at our wits end here and I'm making this post to ask you all here if there's any tools that you know of that can help us analyze this issue further. Does anyone have a good suggestion about process crash, Office crash tool that can help investigate what is happening? Or has anyone experienced similar problems with another add-in and what ended up being the resolution?
Hope anyone can help us.