-
Notifications
You must be signed in to change notification settings - Fork 86
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
Client segfaults when creating/destroying readers with listener callbacks repeatedly #374
Comments
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?
|
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
The text was updated successfully, but these errors were encountered: