{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/azmq/issues/68","labels_url":"https://api.github.com/repos/zeromq/azmq/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/azmq/issues/68/comments","events_url":"https://api.github.com/repos/zeromq/azmq/issues/68/events","html_url":"https://github.com/zeromq/azmq/issues/68","id":59347124,"number":68,"title":"Crash on high rate send","user":{"login":"ahundt","id":55744,"avatar_url":"https://avatars.githubusercontent.com/u/55744?v=3","gravatar_id":"","url":"https://api.github.com/users/ahundt","html_url":"https://github.com/ahundt","followers_url":"https://api.github.com/users/ahundt/followers","following_url":"https://api.github.com/users/ahundt/following{/other_user}","gists_url":"https://api.github.com/users/ahundt/gists{/gist_id}","starred_url":"https://api.github.com/users/ahundt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahundt/subscriptions","organizations_url":"https://api.github.com/users/ahundt/orgs","repos_url":"https://api.github.com/users/ahundt/repos","events_url":"https://api.github.com/users/ahundt/events{/privacy}","received_events_url":"https://api.github.com/users/ahundt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-28T16:20:11Z","updated_at":"2015-03-06T16:48:45Z","closed_at":null,"body":"I created a test that rapidly sends messages on the loopback interface. This test crashes unless I add a 1ms delay between messages. I tried several situations:\r\n\r\ntest                                                    |   result\r\n------------------------------------------------------- | ---------\r\n two sockets one sending the other receiving, 1ms delay | ok\r\n one socket both sending an receiving, 1ms delay        | ok\r\n 1ms delay between each send                            | ok\r\n no delay between sends                                 | crash\r\n 1ms delay for first 5 sends then no delay thereafter   | crash\r\n \r\nThe messages I am sending are fairly small, around 48 bytes. This is definitely a problem in either AZMQ or ZMQ, because I've implemented pure asio async socket interfaces in the past without encountering these issues. \r\n\r\nKey Info\r\n-----------\r\n[sleep line in main](https://github.com/ahundt/robone/blob/develop/src/AzmqFlatbufferTest.cpp#L53)\r\n[key header implementing send and receive](https://github.com/ahundt/robone/blob/develop/include/robone/AzmqFlatbuffer.hpp)\r\n[gist containing stack trace](https://gist.github.com/ahundt/97c7af569718de837c05)\r\n"},"comment":{"url":"https://api.github.com/repos/zeromq/azmq/issues/comments/77591870","html_url":"https://github.com/zeromq/azmq/issues/68#issuecomment-77591870","issue_url":"https://api.github.com/repos/zeromq/azmq/issues/68","id":77591870,"user":{"login":"rodgert","id":120839,"avatar_url":"https://avatars.githubusercontent.com/u/120839?v=3","gravatar_id":"","url":"https://api.github.com/users/rodgert","html_url":"https://github.com/rodgert","followers_url":"https://api.github.com/users/rodgert/followers","following_url":"https://api.github.com/users/rodgert/following{/other_user}","gists_url":"https://api.github.com/users/rodgert/gists{/gist_id}","starred_url":"https://api.github.com/users/rodgert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodgert/subscriptions","organizations_url":"https://api.github.com/users/rodgert/orgs","repos_url":"https://api.github.com/users/rodgert/repos","events_url":"https://api.github.com/users/rodgert/events{/privacy}","received_events_url":"https://api.github.com/users/rodgert/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T16:48:45Z","updated_at":"2015-03-06T16:48:45Z","body":"I have also no tried this on OSX as well, not able to reproduce. If you can get a minimal standalone test case that reproduces the behavior I will look into it further.\r\n\r\nThanks."}}