Style Related crashes

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.

Style Related crashes

Postby johnh » Wed Aug 08, 2018 10:08 am

Hi all,

I keep receiving the following message:

FATAL:script_wrappable_visitor_verifier.h(36)] Write barrier missed for CSSStyleRule

It's being triggered by the JS code running in the browser/CEF.

Any ideas ?

The JS/TS code isn't using styles.. it's just the following:

Code: Select all

function init(): void {
    gViewInfo = UI.View.Create();
    requestAnimationFrame(render);                   // <-- if i remove this it works without error.
}

function render(): void {

    let context = gViewInfo.context;
    if (context) {
        context.fillStyle = "rgba(255,0,0,1.0)";
        context.fillRect(0, 0, gViewInfo.width, gViewInfo.height);
    }
    requestAnimationFrame(render);
}



If I remove the requestAnimationFrame(render); line it works without error, oddly I've tried using other html files I have which do the same sort of thing using html5 canvas render/requestAnimationFrame and they don't seem to have an issue either.
johnh
Techie
 
Posts: 44
Joined: Wed Aug 01, 2018 12:14 pm

Re: Style Related crashes

Postby magreenblatt » Wed Aug 08, 2018 11:34 am

What OS and CEF version? Does the problem reproduce in the cefclient sample application?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Style Related crashes

Postby johnh » Wed Aug 08, 2018 12:59 pm

Windows 10 x64 (1803)
CEF Version 3.3440.1803

It seems to be intermittent. I stopped working on my app for a few hours came back and now it's fine again.
I've not noticed it in Cefclient but to be honest I've not run it that much.
johnh
Techie
 
Posts: 44
Joined: Wed Aug 01, 2018 12:14 pm

Re: Style Related crashes

Postby magreenblatt » Wed Aug 08, 2018 1:04 pm

I would suggest creating a minimal HTML/JS reproduction case and testing it in cefclient and Google Chrome. If it reproduces in Google Chrome you can file a bug at https://crbug.com/new.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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