alderlopez / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

crash when using custom scheme api on multi-thread #536

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. register custom scheme on non-UI thread 
2. use custom scheme on another thread
3. crash!

What is the expected output? What do you see instead?
I thought custom scheme api is thread safe, but not worked properly.

What version of the product are you using? On what operating system?
revision 275, windows 7

Please provide any additional information below.
I'm not sure that it was fixed already at higher version.
Registration and iteration of custom scheme is not thread-safe.
Sometimes I could see error messages about "std::vector iteration exception".
So I inspected CEF source code and found out that registration of custom scheme 
uses pending-operations when caller-thread is not UI thread.

Original issue reported on code.google.com by bugs...@nate.com on 29 Feb 2012 at 9:09

GoogleCodeExporter commented 9 years ago
What is the call stack when you see the "std::vector iteration exception" 
message?

Original comment by magreenb...@gmail.com on 2 Apr 2012 at 5:09

GoogleCodeExporter commented 9 years ago
Closing this issue due to lack of submitter feedback.

Original comment by magreenb...@gmail.com on 3 Oct 2012 at 5:38