implementation of OnSelectClientCertificate handler?

Having problems with building or using the JCEF Java binding? Ask your questions here.

Re: implementation of OnSelectClientCertificate handler?

Postby magreenblatt » Fri Jan 31, 2020 6:05 pm

Adding log messages is generally discouraged, unless they're temporary to help with your development. In that case you can use DLOG from include/base/cef_logging.h
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: implementation of OnSelectClientCertificate handler?

Postby darius » Sat Feb 01, 2020 6:32 pm

First full test on windows 64, i get the error below... is it ringing some bell ? how could i solve this issue that i didn't spot before ?

AppHandler.stateHasChanged: NEW
AppHandler.stateHasChanged: INITIALIZING
AppHandler.stateHasChanged: INITIALIZED
BrowserFrame.onAfterCreated id=1
[0202/002544.719:ERROR:stack_trace_win.cc(141)] SymInitialize failed: 87
[0202/002544.719:FATAL:thread_restrictions.cc(76)] Check failed: !g_blocking_disallowed.Get().Get(). Function marked as blocking was called from a scope that disallows blocking! If this task is running inside the ThreadPool, it needs to have MayBlock() in its TaskTraits. Otherwise, consider making this blocking work asynchronous or, as a last resort, you may use ScopedAllowBlocking (see its documentation for best practices).
g_blocking_disallowed currently set to true by
Error initializing symbols (87). Dumping unresolved backtrace:
00007FFA0EC2ABB2
00007FFA0DD1C122
00007FFA0DD924FD
00007FFA10E33E53
00007FFA10E33DC9
00007FFA0FDBE1CB
00007FFA0FDBE12D
darius
Techie
 
Posts: 16
Joined: Sun Jan 05, 2020 3:16 pm

Re: implementation of OnSelectClientCertificate handler?

Postby magreenblatt » Sat Feb 01, 2020 9:07 pm

What is the symbolized call stack for the thread_restrictions.cc error? You can download symbols at the same version and build (Debug/Release) from here and extract next to the CEF library.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: implementation of OnSelectClientCertificate handler?

Postby darius » Sun Feb 02, 2020 10:34 am

Being in debug release,I took this one ...http://opensource.spotify.com/cefbuilds ... ls.tar.bz2 which contains libcef.dll.pdb (put aside libcef.dll)
but it seems not be taken into acccount, i've still unresolved symbols

it's perhaps related to this stackoverflow topic
https://stackoverflow.com/questions/125 ... 0/12865322, isn't it ?

I'll switch to release mode... and i'll let you know
darius
Techie
 
Posts: 16
Joined: Sun Jan 05, 2020 3:16 pm

Re: implementation of OnSelectClientCertificate handler?

Postby darius » Sun Feb 02, 2020 11:02 am

Grrrr ...it seems that we have an Heisenbug ... this issue only occurs in Debug releases :-/
darius
Techie
 
Posts: 16
Joined: Sun Jan 05, 2020 3:16 pm

Re: implementation of OnSelectClientCertificate handler?

Postby darius » Sun Feb 02, 2020 5:59 pm

Ok for me ... this PR does exactly what i want (in Release mode).. Thank you for your help
darius
Techie
 
Posts: 16
Joined: Sun Jan 05, 2020 3:16 pm

Previous

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 14 guests