-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pub-Proxy-Sub Mode,High frequency sending long message,easy to cause release error after cache application #877
Comments
Hey there. You'll likely get higher visibility / possible answers on https://github.com/zeromq/libzmq. What's your guess on why this is happening (or what's the specific errors under each case)? |
Yes, the program use the libzmq, coredump for 2 examples are as follows: Example 1: (gdb) info threads
Example 2:
|
In the program, the message sending length is more than 4K bytes and the frequency is more than 1 millisecond. After a long time of execution, it is easy to produce abort error.
Viewing the coredump information, it is easy to make mistakes when applying for or releasing the buffer size in the ZMQ API interface zmq_msg_init_size or zmq_msg_close. If the sending frequency remains unchanged, there will be no error when reducing the message length (such as 1K bytes).
Has anyone ever had a similar problem?
The text was updated successfully, but these errors were encountered: