{"action":"opened","issue":{"url":"https://api.github.com/repos/gnzlbg/slice_deque/issues/57","repository_url":"https://api.github.com/repos/gnzlbg/slice_deque","labels_url":"https://api.github.com/repos/gnzlbg/slice_deque/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/gnzlbg/slice_deque/issues/57/comments","events_url":"https://api.github.com/repos/gnzlbg/slice_deque/issues/57/events","html_url":"https://github.com/gnzlbg/slice_deque/issues/57","id":386620997,"node_id":"MDU6SXNzdWUzODY2MjA5OTc=","number":57,"title":".pop_front() causing memory corruption (macOS)","user":{"login":"aldanor","id":2418513,"node_id":"MDQ6VXNlcjI0MTg1MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/2418513?v=4","gravatar_id":"","url":"https://api.github.com/users/aldanor","html_url":"https://github.com/aldanor","followers_url":"https://api.github.com/users/aldanor/followers","following_url":"https://api.github.com/users/aldanor/following{/other_user}","gists_url":"https://api.github.com/users/aldanor/gists{/gist_id}","starred_url":"https://api.github.com/users/aldanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldanor/subscriptions","organizations_url":"https://api.github.com/users/aldanor/orgs","repos_url":"https://api.github.com/users/aldanor/repos","events_url":"https://api.github.com/users/aldanor/events{/privacy}","received_events_url":"https://api.github.com/users/aldanor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-03T00:43:26Z","updated_at":"2018-12-03T00:43:26Z","closed_at":null,"author_association":"NONE","body":"This took me a long while to figure out, but I narrowed it down to just a single line:\r\n\r\n```rust\r\nprintln!(\"{:?}\", queue);\r\nqueue.pop_front();\r\nprintln!(\"{:?}\", queue);\r\n```\r\n\r\nThe elements are simple Clone/Copy structs; the first println outputs the queue in its normal state, whereas in the second all values are like 4294999990 or 123145302343606. This only happens in a quickcheck-like test suite where the queue is used super intensively, and pushes/pop are done thousands of times (it constantly fails at the same spot though).\r\n\r\nI could try running it through valgrind if it helps, not sure how else I could help. Is this a known issue perhaps?"}}
{"actor":{"display_login":"aldanor"}}