Initializing CEF on non main thread

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.

Initializing CEF on non main thread

Postby kramarb » Thu Aug 21, 2014 7:52 am

Hello,

if i try to initialize the framework on a non main thread the process quits with the following error
Code: Select all
[0821/144035:FATAL:set_process_title.cc(45)] Check failed: base::PlatformThread::CurrentId() == getpid() (20727 vs. 20726)


This happens on a 64bit machine running linux, on branches 1916 and 2062, but works on 1750. Why excactly is this required?

Thanks.
kramarb
Newbie
 
Posts: 4
Joined: Thu Aug 21, 2014 7:35 am

Re: Initializing CEF on non main thread

Postby magreenblatt » Thu Aug 21, 2014 9:44 am

I've emailed the author of that change. I'll update this thread once I get his response.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Initializing CEF on non main thread

Postby Nodrev » Wed Nov 19, 2014 1:47 pm

Any update on this issue (I have the same case)?
Nodrev
Newbie
 
Posts: 8
Joined: Wed May 02, 2012 12:17 pm

Re: Initializing CEF on non main thread

Postby magreenblatt » Wed Nov 19, 2014 2:27 pm

The response was:
I don't remember why exactly. It's checking to make sure SetProcessTitleFromCommandLine() is being called from the "main" thread for a given process, which seems reasonable to me.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 49 guests