When running automation tests with selenium, I have been getting this error routinely, but not always, after a test passes. After a pass, it tries to destroy the driver but stalls, and this is not acceptable when running many tests back to back. Seems to happen in tests that switch the iframe often, but I cannot figure out a solution. I tried switching to defaultcontent, which I saw as a fix somewhere else, and it does not work. I am running windows 7 and internet explorer 10, but the issue persists in XP Mode on IE 8 as well.
IE Driver 2.32.3.0
It fails when:
if (driver != null)
{
Driver.Quit();
driver = null;
}
The issue also seems to happen after I use a foreach loop through a table that has 60+ rows. Perhaps it is just a memory issue.
I clicked debug on the error and got this in a new instance of visual studio:
Unhandled exception at 0x771a15de in IEDriverServer.exe: 0xC00000FD: Stack overflow.