{"action":"created","issue":{"url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/4","labels_url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/4/comments","events_url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/4/events","html_url":"https://github.com/HdrHistogram/hdr_histogram_erl/issues/4","id":59245376,"number":4,"title":"Assertion crash","user":{"login":"saleyn","id":272543,"avatar_url":"https://avatars.githubusercontent.com/u/272543?v=3","gravatar_id":"","url":"https://api.github.com/users/saleyn","html_url":"https://github.com/saleyn","followers_url":"https://api.github.com/users/saleyn/followers","following_url":"https://api.github.com/users/saleyn/following{/other_user}","gists_url":"https://api.github.com/users/saleyn/gists{/gist_id}","starred_url":"https://api.github.com/users/saleyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleyn/subscriptions","organizations_url":"https://api.github.com/users/saleyn/orgs","repos_url":"https://api.github.com/users/saleyn/repos","events_url":"https://api.github.com/users/saleyn/events{/privacy}","received_events_url":"https://api.github.com/users/saleyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"darach","id":229042,"avatar_url":"https://avatars.githubusercontent.com/u/229042?v=3","gravatar_id":"","url":"https://api.github.com/users/darach","html_url":"https://github.com/darach","followers_url":"https://api.github.com/users/darach/followers","following_url":"https://api.github.com/users/darach/following{/other_user}","gists_url":"https://api.github.com/users/darach/gists{/gist_id}","starred_url":"https://api.github.com/users/darach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darach/subscriptions","organizations_url":"https://api.github.com/users/darach/orgs","repos_url":"https://api.github.com/users/darach/repos","events_url":"https://api.github.com/users/darach/events{/privacy}","received_events_url":"https://api.github.com/users/darach/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-27T14:49:53Z","updated_at":"2015-02-27T18:41:19Z","closed_at":null,"body":"Below check should be handled gracefully as an exception:\r\n```erlang\r\n1> f(R), {ok, R} = hdr_histogram:open(10, 1).\r\n2> hdr_histogram:record(R, 100).\r\nbeam.smp: c_src/hdr_histogram.c:54: counts_index: Assertion `bucket_index < h->bucket_count' failed.\r\nAborted (core dumped)\r\n```"},"comment":{"url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/comments/76448012","html_url":"https://github.com/HdrHistogram/hdr_histogram_erl/issues/4#issuecomment-76448012","issue_url":"https://api.github.com/repos/HdrHistogram/hdr_histogram_erl/issues/4","id":76448012,"user":{"login":"mikeb01","id":309215,"avatar_url":"https://avatars.githubusercontent.com/u/309215?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeb01","html_url":"https://github.com/mikeb01","followers_url":"https://api.github.com/users/mikeb01/followers","following_url":"https://api.github.com/users/mikeb01/following{/other_user}","gists_url":"https://api.github.com/users/mikeb01/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeb01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeb01/subscriptions","organizations_url":"https://api.github.com/users/mikeb01/orgs","repos_url":"https://api.github.com/users/mikeb01/repos","events_url":"https://api.github.com/users/mikeb01/events{/privacy}","received_events_url":"https://api.github.com/users/mikeb01/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T18:41:19Z","updated_at":"2015-02-27T18:41:19Z","body":"This is a bug in the C code, which I fixed.  See: https://github.com/HdrHistogram/HdrHistogram_c/issues/6"}}