{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1403","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1403/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1403/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1403/events","html_url":"https://github.com/esp8266/Arduino/issues/1403","id":125844786,"number":1403,"title":"AttachInterrupt random crashes","user":{"login":"DedeHai","id":6280424,"avatar_url":"https://avatars.githubusercontent.com/u/6280424?v=3","gravatar_id":"","url":"https://api.github.com/users/DedeHai","html_url":"https://github.com/DedeHai","followers_url":"https://api.github.com/users/DedeHai/followers","following_url":"https://api.github.com/users/DedeHai/following{/other_user}","gists_url":"https://api.github.com/users/DedeHai/gists{/gist_id}","starred_url":"https://api.github.com/users/DedeHai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DedeHai/subscriptions","organizations_url":"https://api.github.com/users/DedeHai/orgs","repos_url":"https://api.github.com/users/DedeHai/repos","events_url":"https://api.github.com/users/DedeHai/events{/privacy}","received_events_url":"https://api.github.com/users/DedeHai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-10T20:43:49Z","updated_at":"2016-01-12T21:13:01Z","closed_at":null,"body":"Is it possible that there is an issue using the AttachInterrupt function?\r\nI have a setup where I attach a pin to an external signal that triggers approximately every 20ms. In parallel I send data to a server (Thingspeak) every 15 seconds. I get random crashes always at the point where data needs to be sent out. If I deactivate the updates to the server, everything runs smoothly. The crashes happen at random times, sometimes after just one minute, sometimes after 30 minutes or even longer.\r\nAny explanation for this behaviour? \r\nThe interrupt shoud be fairly short, it does some calculations but no loops."},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/171056159","html_url":"https://github.com/esp8266/Arduino/issues/1403#issuecomment-171056159","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1403","id":171056159,"user":{"login":"alltheblinkythings","id":16182145,"avatar_url":"https://avatars.githubusercontent.com/u/16182145?v=3","gravatar_id":"","url":"https://api.github.com/users/alltheblinkythings","html_url":"https://github.com/alltheblinkythings","followers_url":"https://api.github.com/users/alltheblinkythings/followers","following_url":"https://api.github.com/users/alltheblinkythings/following{/other_user}","gists_url":"https://api.github.com/users/alltheblinkythings/gists{/gist_id}","starred_url":"https://api.github.com/users/alltheblinkythings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alltheblinkythings/subscriptions","organizations_url":"https://api.github.com/users/alltheblinkythings/orgs","repos_url":"https://api.github.com/users/alltheblinkythings/repos","events_url":"https://api.github.com/users/alltheblinkythings/events{/privacy}","received_events_url":"https://api.github.com/users/alltheblinkythings/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T21:13:01Z","updated_at":"2016-01-12T21:13:01Z","body":"The interrupt handler and everything it might call into need to be in RAM.\n\nYou can verify whether the attribute worked by running objdump again;\nfunctions in RAM will have addresses like 0x401xxxxx.\n"}}