Skip to content
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

The futex facility returned an unexpected error code when running ChakraCoreJsEngine on Linux #118

Open
haihai1999 opened this issue Apr 25, 2024 · 1 comment

Comments

@haihai1999
Copy link

1: Related information:
ChakraCoreJsEngine ver 3.24.1
Application. net 8
Server Ubuntu 22.4
2: Problems that arise
The code is as follows:
Var chakraCoreSet=new ChakraCoreSets
{
DisableEval=false,
Enabling ExperimentalFeatures=true,
DisableBackgroundWork=false
};
Using (var_engine=new ChakraCoreJsEngine (chakraCoreSet))
{
_engine Execute (jsCode)// JsCode is the executed JS code, with around 50 lines of code
}
When executing code, Linux directly reports the error The futex facility returned an unexpected error code service has been stopped.
When the configuration item DisableBackgroundWork in chakraCoreSet is changed to true, the above error will not occur.

@Taritsyn
Copy link
Owner

Hello!

ChakraCoreJsEngine ver 3.24.1

First, try updating to version 3.26.0. A similar error (“Futex_fatal_error in ./nptl/pthread_mutex_lock.c”) was recently fixed in the original library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants