-
Notifications
You must be signed in to change notification settings - Fork 74
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
random crashes during await Pool.acquire from an async function #152
Comments
Could you please test with v2.0 ? I tested only on Darwin, no errors. If build from source complicated in your environment, I will can provide you a Windows binary. |
No worries @bsrdjan - it's nothing that Unfortunately v2.0's CMakeLists.txt assumes tar groks --force-local - Windows OS' tar.exe doesn't. build reports:
I fork-fixed it by removing --force-local - please see submitted PR#154. Here's a log of successful v2-pre build with PR#154:
and here's the updated code using v2 Pool with a lot more concurrency (as in infinite!):
And here's the successful test run:
Really thank you for your work on this library - one of the most useful things out there. I am closing the issue as it's fixed in v2. |
Hello @bsrdjan,
I get random crashes (or not) when executing await on Pool.acquire in an async function. I am running up-to-date Window 10 x64, latest SAP NWRFC SDK 7.50 PL6 (rfcexec.exe works correctly), latest node v14.5.0, and latest node-rfc module v1.2.0. I created a short crash3.js to demo the problem, and you can run it like this:
node crash3 & echo node process exit code: %errorlevel%
crash3.js:
When I don't use pooling but straight up Client, things work like a charm.
Here's npm install log:
I've attached a crash3.txt output from multiple repeated runs showing randomness of crashes, exit codes, and output sequences if any.
thanks,
Nik
The text was updated successfully, but these errors were encountered: