Closed roryschadler closed 7 months ago
1.11 release is going out. It might be worth trying with it.
You can find the pre-built binaries here: https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-node/pulsar-client-node-1.11.0-rc.1 (or wait a couple of days until the release is officially announced)
I'll do that tomorrow, thanks @merlimat!
Unfortunately it still occurs with the release candidate. Updated the repro repo accordingly.
@shibd Please take a look when you have the chance
This fix by #376
@roryschadler Can you update to 1.11.0-rc.3 to verify it?
npm i pulsar-client@1.11.0-rc.3 --pulsar_binary_host_mirror=https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-node
Verified! This resolves the segfault I was seeing. Thank you @shibd!
I found that when I created and immediately closed readers a couple times in a row, the client would fail with a segfault. I'm not familiar with the C++ lib underpinning this client, but it appears to be due to the listener callback.
Segfault stack:
(collected using https://www.npmjs.com/package/segfault-handler)
Reproduction: https://github.com/roryschadler/pulsar-client-segfault-repro