{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/2947","repository_url":"https://api.github.com/repos/Microsoft/pxt","labels_url":"https://api.github.com/repos/Microsoft/pxt/issues/2947/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt/issues/2947/comments","events_url":"https://api.github.com/repos/Microsoft/pxt/issues/2947/events","html_url":"https://github.com/Microsoft/pxt/issues/2947","id":257872541,"number":2947,"title":"Heap corruption 030 when using array.removeAt() in radio receive","user":{"login":"DavidWhaleMEF","id":25079586,"avatar_url":"https://avatars1.githubusercontent.com/u/25079586?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidWhaleMEF","html_url":"https://github.com/DavidWhaleMEF","followers_url":"https://api.github.com/users/DavidWhaleMEF/followers","following_url":"https://api.github.com/users/DavidWhaleMEF/following{/other_user}","gists_url":"https://api.github.com/users/DavidWhaleMEF/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWhaleMEF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWhaleMEF/subscriptions","organizations_url":"https://api.github.com/users/DavidWhaleMEF/orgs","repos_url":"https://api.github.com/users/DavidWhaleMEF/repos","events_url":"https://api.github.com/users/DavidWhaleMEF/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWhaleMEF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-14T22:15:20Z","updated_at":"2017-09-14T22:51:10Z","closed_at":null,"author_association":"NONE","body":"I'm nose up to the wall getting a resource/demo finished, but wanted to note this here for now. Will try to build a repro case soon. But my workaround was to use array.removeElement() instead.\r\n\r\nIf I use array.removeAt() of a known index, in a radio receive handler, inside a custom namespace function, it seems to mess up the garbage collection somewhere. I get a panic 030. I also sometimes get 3 LEDs on very bright (which means the micro:bit has completely crashed as the display driver is no longer updating presumably interrupts have stopped?)\r\n\r\nWill repro as soon as I can, but wanted to lodge this here so people know it's a problem, and know there is a workaround.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/comments/329630097","html_url":"https://github.com/Microsoft/pxt/issues/2947#issuecomment-329630097","issue_url":"https://api.github.com/repos/Microsoft/pxt/issues/2947","id":329630097,"user":{"login":"abchatra","id":6107272,"avatar_url":"https://avatars2.githubusercontent.com/u/6107272?v=4","gravatar_id":"","url":"https://api.github.com/users/abchatra","html_url":"https://github.com/abchatra","followers_url":"https://api.github.com/users/abchatra/followers","following_url":"https://api.github.com/users/abchatra/following{/other_user}","gists_url":"https://api.github.com/users/abchatra/gists{/gist_id}","starred_url":"https://api.github.com/users/abchatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abchatra/subscriptions","organizations_url":"https://api.github.com/users/abchatra/orgs","repos_url":"https://api.github.com/users/abchatra/repos","events_url":"https://api.github.com/users/abchatra/events{/privacy}","received_events_url":"https://api.github.com/users/abchatra/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T22:51:10Z","updated_at":"2017-09-14T22:51:10Z","author_association":"CONTRIBUTOR","body":"@DavidWhaleMEF Can you share your program? "}}
{"actor":{"display_login":"abchatra"}}