My app is un-managed multithreaded app having one main STA ui thread and multiple threads running in a MTA apartment where releasing or creating FreeThreadedDOMDocument6.0 in a MTA crashes at some point. It looks like a timing issue, it is very hard to repro in deterministic way. When i analyzed call stack thru process explorer, it shows that msxml GC has been called, after that releasing DOM document throws AV in SlotAllocation::_
I will update the call stack later.
Anyone have experience this issue? Any feedback is greatly appreciated.