-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Test suite fails with OTP 21.2 #1837
Comments
I checked the release notes for 21.2., and didn't see anything obviously related to changes in nifs. |
I wonder if it is this commit: erlang/otp@d15bd6b#diff-2d07be10f253f2c53640f98f104b3f23 It landed in the 21.1.x series sometimes in Nov 13. 21.1 was released in Sep. The crashing line is: erlang/otp@d15bd6b#diff-2d07be10f253f2c53640f98f104b3f23R387 enif_send say that it either fails if calling env process is dead or the that prim_file (the destination) is dead. I suspect it is the sending process that's dead. But then also wonder how come it wasn't crashing in routine tests, as a process with an open handle dying would trigger this issue... |
Confirmed it's an Erlang/OTP bug. Filed it as: https://bugs.erlang.org/browse/ERL-821 |
This is resolved - you need a minimum of |
When we upgrade .travis.yml
otp_release
from21.1
to21.2
, we get a test failure. On closer examination, it looks like a nif is crashing the BEAM.Expected Behavior
make javascript
should passCurrent Behavior
make javascript
fails with:However, when run on it's own
make javascript suites=config
passes, as doesmake javascript suites=compact
. However, looking at the couch logs for the latter, there is this suspicious entry:My hypothesis is that during the full suite run, the nif crashes the BEAM at the end of compact.js after it passes, but then config.js fails to run because the db process crashed from the previous test.
Possible Solution
Steps to Reproduce (for bugs)
brew install erlang
will do that on a mac)make javascript
Context
Discovered when attempting to upgrade .travis.yml but reproducible locally on a mac.
Your Environment
The text was updated successfully, but these errors were encountered: