Description
This low-level error will crash the Node process, preventing handling of the exception. I would assume it's related to something happening inside libcouchbase when disconnect is called during exception handling.
Windows Error Message (Node 8.9.4):
Assertion failed: handle->type == UV_PREPARE, file src\win\loop-watcher.c, line 120
Linux Error Message (Node 8.9.4 on Alpine Linux in Docker container):
Segmentation fault
Steps to Reproduce:
- Download this repo: https://github.com/brantburnett/couchnode-error-repro
- Run `npm install`
- Run `npm test`
Docker Steps to Reproduce:
- Download the same repo
- Run `docker-compose up --build`
Attachments
For Gerrit Dashboard: JSCBC-452 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
90090,4 | JSCBC-452: Don't immediately close connecting buckets. | master | couchnode | Status: MERGED | +2 | +1 |