Closed trivalik closed 8 years ago
Second stack trace shows that it also the same issue as in #373 - broken map structure
I applied only the following code from lanfeust69 and this fixes all problems:
MSG_SendVisitPoints_Request* ProfilerCommunication::GetVisitMapForOSThread(ULONG osThreadID){
ATL::CComCritSecLock<ATL::CComAutoCriticalSection> lock(m_critThreads);
return m_visitmap[osThreadID];
}
@trivalik thanks for the update
Can you try this release to see if it corrects your issue https://www.nuget.org/packages/OpenCover/4.6.247-rc https://github.com/OpenCover/opencover/releases/tag/4.6.247-rc
I installed the version today.
Since installation of prerelease 4.6.261 no problems anymore. Thanks.
thanks for testing
Today I got this assertion on our system. I followed this time the windows with the taskmgr and Profile dll is loaded by Nunit agent.
Now I found the complete stacktrace in a the create dump file.
FYI, CallHiddenMethod, uses MethodInfo object to call any hidden method. Maybe is this also the cause for sometimes getting an AccessViolationException! So would think here is something strange.
Edit: was wrong callstack
I can provide you also a debugview log, but there you see only many TheradCreate, ThreadAssignToOSThread and ThreadDestroy.