{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/247","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/247/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/247/events","html_url":"https://github.com/intel-iot-devkit/mraa/issues/247","id":98050296,"number":247,"title":"mraa causing nodejs script to crash, cannot kill proccess","user":{"login":"leonyuhanov","id":7405342,"avatar_url":"https://avatars.githubusercontent.com/u/7405342?v=3","gravatar_id":"","url":"https://api.github.com/users/leonyuhanov","html_url":"https://github.com/leonyuhanov","followers_url":"https://api.github.com/users/leonyuhanov/followers","following_url":"https://api.github.com/users/leonyuhanov/following{/other_user}","gists_url":"https://api.github.com/users/leonyuhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/leonyuhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonyuhanov/subscriptions","organizations_url":"https://api.github.com/users/leonyuhanov/orgs","repos_url":"https://api.github.com/users/leonyuhanov/repos","events_url":"https://api.github.com/users/leonyuhanov/events{/privacy}","received_events_url":"https://api.github.com/users/leonyuhanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-29T23:27:24Z","updated_at":"2015-09-21T06:11:44Z","closed_at":"2015-08-01T14:38:31Z","body":"I posted this on the Intel support forum as well:\r\nI have an Edison with a Mini Breakout Board. Running the latest IOT image with whatever version of mraa it comes with.\r\nAt completely random intervals, initiating or using the SPI module in my code causes my app to become dormant. I can not kill it via the terminal and have to reboot the board.\r\n\r\nThe process looks like this after its dead in TOP:\r\n\r\n365   351 root     D    37760   4%   0% node main.js \r\n\r\nand this pops up in the console after a minute or so:\r\n\r\nroot@edison:/node_app_slot# node main.js  \r\n[  240.618710] INFO: task node:365 blocked for more than 120 seconds.  \r\n[  240.618800] \"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\" disables this message.  \r\nThis repeats, i can no longer run any node apps, and i have to reboot the device!\r\n\r\nThis occurs ONLY when i implement the MRAA module.\r\nAll i have to do is is include these 2 lines:\r\n\r\nvar m = require('mraa');  \r\nx = new m.Spi(0);  \r\n\r\nAnd 90% of the time the script just dies as above"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments/141884600","html_url":"https://github.com/intel-iot-devkit/mraa/issues/247#issuecomment-141884600","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/247","id":141884600,"user":{"login":"leonyuhanov","id":7405342,"avatar_url":"https://avatars.githubusercontent.com/u/7405342?v=3","gravatar_id":"","url":"https://api.github.com/users/leonyuhanov","html_url":"https://github.com/leonyuhanov","followers_url":"https://api.github.com/users/leonyuhanov/followers","following_url":"https://api.github.com/users/leonyuhanov/following{/other_user}","gists_url":"https://api.github.com/users/leonyuhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/leonyuhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonyuhanov/subscriptions","organizations_url":"https://api.github.com/users/leonyuhanov/orgs","repos_url":"https://api.github.com/users/leonyuhanov/repos","events_url":"https://api.github.com/users/leonyuhanov/events{/privacy}","received_events_url":"https://api.github.com/users/leonyuhanov/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T06:11:44Z","updated_at":"2015-09-21T06:11:44Z","body":"And here is where i opened a support request with intel\r\nhttps://communities.intel.com/thread/77705?sr=inbox\r\n"}}