-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Assertion failed: _input_stopped #3596
Comments
I tried but failed to reproduce this problem with libzmq master. https://gist.github.com/brettviren/dde42c6f1c8078c07e0ce595dd619919 @jean-airoldie can you please check this code to see if it correctly reflects your steps to reproduce? |
I'm no longer using ZeroMq and I got rid of the reproduction code I'm afraid. I'm fine with closing this issue. |
My test has been happily printing "client" every three seconds for almost a day now so it seems there's no problem. @bluca can we close this issue? |
I'm hitting the same assertion in on DEALER connected to ROUTER over tcp (v4.3.2, macos 10.15.4)
|
Issue description
I get an assertion failure caused by: https://github.com/zeromq/libzmq/blob/latest_release/src/stream_engine.cpp#L467 while using
CLIENT
andSERVER
socket. Specifically the assertion occurs when theServer
socket is streaming to a slowCLIENT
that also has a very low recv high water mark and heartbeating turned on.Environment
Minimal test code / Steps to reproduce the issue
CLIENT
andSERVER
socket and connect them to each other via TCP.CLIENT
's heartbeat interval to 1 second and its recv high water mark to 1.CLIENT
to theSERVER
and retrieve the routingid of the
CLIENT
.SERVER
to a new thread and send empty messages to theCLIENT
using the routing id in a loop.CLIENT
where it receives a message then waits 3 seconds after receiving each message to simulate a slow client.What's the actual result? (include assertion message & call stack if applicable)
Note that I vendor the libzmq source in a rust package, which explains the naming.
Assertion
Assertion failed: _input_stopped (/home/maxence/.cargo/registry/src/github.com-1ecc6299db9ec823/zeromq-src-0.1.7+4.3.2/vendor/src/stream_engine.cpp:467)
Backtrace
What's the expected result?
The code should run forever without an assertion error.
The text was updated successfully, but these errors were encountered: