If the iframe is dynamic, something does not have time to be processed and everything crashes with memory access denial. It occurs when calling get_source method respectively and other similar methods. Could you handle it somehow? Maybe here make an additional check for the existence of the frame.
void CefFrameImpl::GetSource(CefRefPtr<CefStringVisitor> visitor) {
CEF_REQUIRE_RT_RETURN_VOID();
if (frame_) {
CefString content;
string_util::GetCefString(blink_glue::DumpDocumentMarkup(frame_), content);
visitor->Visit(content);
}
}
But most likely the error occurs somewhere around here.