-
Notifications
You must be signed in to change notification settings - Fork 77
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
'openFile' fails due to race condition created by initialization of ZSTD library (nodejs) #318
Comments
While ZSTD decoding can be invoked from different places, ensure that initialization performed properly.
Can you try master branch of JSROOT? |
Hi, thank you for the quick fix! |
While ZSTD decoding can be invoked from different places, ensure that initialization performed properly.
I backport fix to 7.7 branch. |
There is no rush for me now. I downgraded my deployment to using JSROOT 7.5.5 and I am ok with waiting until the next JSROOT release |
Resolved in 7.7.3 release |
Hi,
I am writing about an issue with how the initialization of selected ZSTD library ZSTD is done in io.mjs which causes a race condition (for
ZstdInit()
which in turn makes JSROOT unable to plot any objects due to bad initialization which makes the subsequent decompression method fail all the time.Replicate Environment:
v20.11
andv20.12
7.6.0
and onwardsSteps to replicate in a NodeJS script:
openFile
methodimport { openFile } from 'jsroot';
openFile
method without waiting one on another to open 2 files.ZstdInit()
is called two times without having the chance to finish.openFile
Error in NPM project using JSROOT:
The text was updated successfully, but these errors were encountered: