{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1081","repository_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1081/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1081/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1081/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/1081","id":135915363,"number":1081,"title":"Crash with current dev branch","user":{"login":"pjsg","id":1508813,"avatar_url":"https://avatars.githubusercontent.com/u/1508813?v=3","gravatar_id":"","url":"https://api.github.com/users/pjsg","html_url":"https://github.com/pjsg","followers_url":"https://api.github.com/users/pjsg/followers","following_url":"https://api.github.com/users/pjsg/following{/other_user}","gists_url":"https://api.github.com/users/pjsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pjsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjsg/subscriptions","organizations_url":"https://api.github.com/users/pjsg/orgs","repos_url":"https://api.github.com/users/pjsg/repos","events_url":"https://api.github.com/users/pjsg/events{/privacy}","received_events_url":"https://api.github.com/users/pjsg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-24T00:53:58Z","updated_at":"2016-02-26T22:39:20Z","closed_at":"2016-02-26T22:39:20Z","body":"I was trying to do something a bit evil:\r\n\r\n```Lua\r\n     function asyncDelay(ms)\r\n         local co = coroutine.create(function() \r\n           tmr.alarm(0, ms, 0, function()\r\n             coroutine.yield()\r\n           end)\r\n         end)\r\n         coroutine.resume(co)\r\n     end\r\n     \r\n     asyncDelay(1000)\r\n```\r\n\r\nAnyway, it doesn't work. However, if you run this from the command line a few times, then the nodemcu locks up or traps. It doesn't seem to do this if I wrap it in a function. It seems a bit sensitive to the conditions....."},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/189512980","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/1081#issuecomment-189512980","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1081","id":189512980,"user":{"login":"TerryE","id":690173,"avatar_url":"https://avatars.githubusercontent.com/u/690173?v=3","gravatar_id":"","url":"https://api.github.com/users/TerryE","html_url":"https://github.com/TerryE","followers_url":"https://api.github.com/users/TerryE/followers","following_url":"https://api.github.com/users/TerryE/following{/other_user}","gists_url":"https://api.github.com/users/TerryE/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryE/subscriptions","organizations_url":"https://api.github.com/users/TerryE/orgs","repos_url":"https://api.github.com/users/TerryE/repos","events_url":"https://api.github.com/users/TerryE/events{/privacy}","received_events_url":"https://api.github.com/users/TerryE/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T22:39:20Z","updated_at":"2016-02-26T22:39:20Z","body":"This specific issues has been addressed by @dnc40085's recent PR #1083, but we are now aware of the underlying issue.  Thanks for the example, Philip."}}