-
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
assert failure nbytes == sizeof (command_t) on OS X #161
Comments
Yes. That's a known problem. It seems that OSX sets the sockepair buffer limit rather low and thus the sockepairs used for internal communication between threads inside 0MQ are not able to withstand the load. Moreover, it looks like there's a bug in OSX when resizing socketpair buffers (the size of the buffer reported by getsockopt is bogus). Anyway, I have no OSX box, so I cannot help much here. Feel free to have a look at the actual case of the problem yourself. The code you should look at is mailbox_t::send() function. |
I know this has been addressed before but just want to put the note in for others that if you modify /etc/sysctl.conf and add: |
Issue zeromq#160: added cmake support
./configure && make && make check fails on OS X with an assertion failure "nbytes == sizeof (command_t)" at mailbox.cpp:193 during test_shutdown_stress
OS X intel, 10.6.6. Apple gcc 4.2.1. ZeroMQ 2.1.0 release and SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
The text was updated successfully, but these errors were encountered: