We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The s_rkt rkt shared reference is not destroyed when msg_new() in producev() fails, typically due to QUEUE_FULL.
The lost reference potentially triggers hang-on-termination.
This was originally reported by @fede1024
Set low queue.buffering.max.messages or construct a too large message and call producev() until it fails.
The text was updated successfully, but these errors were encountered:
Fix memory leak when producev() fails (#1478)
0f30aec
I can confirm that after the fix I don't see the memory leak in valgrind anymore (see output before and after the fix).
Sorry, something went wrong.
No branches or pull requests
Description
The s_rkt rkt shared reference is not destroyed when msg_new() in producev() fails, typically due to QUEUE_FULL.
The lost reference potentially triggers hang-on-termination.
This was originally reported by @fede1024
How to reproduce
Set low queue.buffering.max.messages or construct a too large message and call producev() until it fails.
The text was updated successfully, but these errors were encountered: