{"action":"opened","issue":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/2009","repository_url":"https://api.github.com/repos/zeromq/libzmq","labels_url":"https://api.github.com/repos/zeromq/libzmq/issues/2009/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/libzmq/issues/2009/comments","events_url":"https://api.github.com/repos/zeromq/libzmq/issues/2009/events","html_url":"https://github.com/zeromq/libzmq/issues/2009","id":156372987,"number":2009,"title":"UDP engine crashes and exhibits weird behaviour","user":{"login":"hitstergtd","id":15012549,"avatar_url":"https://avatars.githubusercontent.com/u/15012549?v=3","gravatar_id":"","url":"https://api.github.com/users/hitstergtd","html_url":"https://github.com/hitstergtd","followers_url":"https://api.github.com/users/hitstergtd/followers","following_url":"https://api.github.com/users/hitstergtd/following{/other_user}","gists_url":"https://api.github.com/users/hitstergtd/gists{/gist_id}","starred_url":"https://api.github.com/users/hitstergtd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitstergtd/subscriptions","organizations_url":"https://api.github.com/users/hitstergtd/orgs","repos_url":"https://api.github.com/users/hitstergtd/repos","events_url":"https://api.github.com/users/hitstergtd/events{/privacy}","received_events_url":"https://api.github.com/users/hitstergtd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zeromq/libzmq/labels/Critical","name":"Critical","color":"e11d21"},{"url":"https://api.github.com/repos/zeromq/libzmq/labels/Platform%20(linux/generic)","name":"Platform (linux/generic)","color":"bfd4f2"},{"url":"https://api.github.com/repos/zeromq/libzmq/labels/Runtime","name":"Runtime","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zeromq/libzmq/milestones/1","html_url":"https://github.com/zeromq/libzmq/milestones/master%20(4.2.0)","labels_url":"https://api.github.com/repos/zeromq/libzmq/milestones/1/labels","id":1744462,"number":1,"title":"master (4.2.0)","description":"Latest and greatest.","creator":{"login":"hitstergtd","id":15012549,"avatar_url":"https://avatars.githubusercontent.com/u/15012549?v=3","gravatar_id":"","url":"https://api.github.com/users/hitstergtd","html_url":"https://github.com/hitstergtd","followers_url":"https://api.github.com/users/hitstergtd/followers","following_url":"https://api.github.com/users/hitstergtd/following{/other_user}","gists_url":"https://api.github.com/users/hitstergtd/gists{/gist_id}","starred_url":"https://api.github.com/users/hitstergtd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitstergtd/subscriptions","organizations_url":"https://api.github.com/users/hitstergtd/orgs","repos_url":"https://api.github.com/users/hitstergtd/repos","events_url":"https://api.github.com/users/hitstergtd/events{/privacy}","received_events_url":"https://api.github.com/users/hitstergtd/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2016-05-03T10:03:45Z","updated_at":"2016-05-23T21:40:01Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-05-23T21:40:01Z","updated_at":"2016-05-23T21:40:01Z","closed_at":null,"body":"I came across these as part of adding throughput and latency tests. I maybe doing something messed, which is leading to these results, although I am fairly certain it's nothing unreasonable. :)\r\n\r\n**About the code:**\r\nThe linked gist is basically a variant of the `inproc_thr` benchmark:\r\n* It is modified to use RADIO/DISH sockets to send and receive messages over a single topic, aptly called `thr_test`.\r\n* Use of a separate sender thread was removed from this example. It basically sends N messages on the topic/group and then picks them up later.\r\n* The parameters are exactly like `inproc_thr`, i.e. `message-size` and `message-count`.\r\n\r\n**What works:**\r\n* `message-count <= 1000` AND `message-size >= 0` AND `message-size <= 8183`\r\n\r\n**What does NOT work:**\r\n* hangs indefinitely:\r\n  * `message-count > 1000` AND `message-size > 0` (1 in 10 chance of a core dump)\r\n  * `message-count = 4500` AND `message-size = 999` (sometimes, or dumps core as per below)\r\n* always dumps core:\r\n  * `message-count >= 1` AND `message-size = 50000`\r\n* dumps core (randomly) / double-free corruption message:\r\n  * `message-count = 1` AND `message-size = 16413` (try running this repeatedly)\r\n  * `message-count = 4499` AND `message-size = 999`\r\n* message of incorrect size received:\r\n  * `message-count = 1000` AND `message-size = 8184`\r\n  * `message-count = 1000` AND `message-size = 16413` (but one message dumps core!)\r\n\r\nCode to reproduce this is available at: \r\nhttps://gist.github.com/hitstergtd/68503600e353adb3155504982df54682.\r\n\r\nNot sure if these existed since day 1 or progressively over the last few months. I haven't tried the above scenarios on Windows, only on Linux 4.4.0-22 kernel (Ubuntu latest), so not sure if they're somehow quite poller dependent or not."}}
{"actor":{"display_login":"hitstergtd"}}