-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for the race condition in bmalloc's BMScavenger caused by … #5315
Conversation
|
@binuinbaraj , would you please review this? |
@modeveci could you please review as well? |
…WebKitBrowser implementation unloading
fbcf4cd
to
1952311
Compare
@GlebNovodranPE , I will talk with browser team regarding this issue: What do you mean by this preventing? When Thunder framework deactives plugin, what will happen? @MFransen69 , could you please look at this PR? |
Could you please explain a bit more on what BMScavenger is (googled but could not find much, guess it is a issue/leak detection tooL)? What processes is it attached to? (is in instrumented in, in the build or just an external tool?) e.g. to the in process part of the plugin (Thunder/WPEFramework), the OOP part (WPEProcess) or the Webkit processes itself? |
@MFransen69 @GlebNovodranPE , I have talked with Marcel that bmalloc is coming from webkit. So questions regarding that area are clear. This is the ticket of WPEWebkit to get support for proper fix from browser team: WebPlatformForEmbedded/WPEWebKit#1342 |
4f5c480
… properly terminated threads Importyed changes from rdkcentral#5315
… properly terminated threads Importyed changes from rdkcentral#5315
…WebKitBrowser plugin implementation unloading.
Sometimes BMScavenger crashes with a SIGSEGV in __pthread_cond_timedwait after WebKitBrowserPlugin implementation is unloaded, as it retains an invalidated condition variable.
The crashed thread callstack usually looks like:
This workaround is to prevent the plugin implementation unloading.