Fast reload of page sometimes will crash cef

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Fast reload of page sometimes will crash cef

Postby tom » Fri Jan 22, 2010 12:19 pm

I have found a bug if you reload the page really fast it will crash.

It will crash in browser_resource_loader_bridge.cc


void AsyncCancel() {
// This can be null in cases where the request is already done.
if (!resource_stream_.get() && !request_.get())
return;

request_->Cancel(); // <--- crashes here
Done();
}


To fix it change

if (!resource_stream_.get() && !request_.get()) to if (!resource_stream_.get() || !request_.get())
tom
Techie
 
Posts: 12
Joined: Thu Nov 05, 2009 10:05 am

Re: Fast reload of page sometimes will crash cef

Postby magreenblatt » Fri Jan 22, 2010 3:43 pm

Please create an issue for this on the CEF issue tracker.

Thanks,
Marshall
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: Fast reload of page sometimes will crash cef

Postby tom » Fri Jan 22, 2010 4:06 pm

I have made an ticket at http://code.google.com/p/chromiumembedd ... tail?id=70


Many Thanks


Tom
tom
Techie
 
Posts: 12
Joined: Thu Nov 05, 2009 10:05 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 34 guests