{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/158","repository_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK","labels_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/158/comments","events_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/158/events","html_url":"https://github.com/espressif/ESP8266_RTOS_SDK/issues/158","id":308176911,"number":158,"title":"SDK 2.0-dev crashes with simple program","user":{"login":"THKDev","id":22724407,"avatar_url":"https://avatars0.githubusercontent.com/u/22724407?v=4","gravatar_id":"","url":"https://api.github.com/users/THKDev","html_url":"https://github.com/THKDev","followers_url":"https://api.github.com/users/THKDev/followers","following_url":"https://api.github.com/users/THKDev/following{/other_user}","gists_url":"https://api.github.com/users/THKDev/gists{/gist_id}","starred_url":"https://api.github.com/users/THKDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/THKDev/subscriptions","organizations_url":"https://api.github.com/users/THKDev/orgs","repos_url":"https://api.github.com/users/THKDev/repos","events_url":"https://api.github.com/users/THKDev/events{/privacy}","received_events_url":"https://api.github.com/users/THKDev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-23T20:58:32Z","updated_at":"2018-03-29T08:39:27Z","closed_at":null,"author_association":"NONE","body":"Since [commit](https://github.com/espressif/ESP8266_RTOS_SDK/commit/eb91560c0c697381dbeb20d2fa8335e2952007a6) any program compiled with PlatformIO environment will crash. The program will run for 3 seconds, than hang and reboot. Before this commit same programs run fine without any problem.\r\nWhat has changed with this commit?\r\n\r\nLog from simple program which does nothing.\r\n\r\n```\r\nets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x40100000, len 30364, room 16\r\ntail 12\r\nchksum 0x21\r\nho 0 tail 12 room 4\r\nload 0x3ffe8000, len 2008, room 12\r\ntail 12\r\nchksum 0x5e\r\nho 0 tail 12 room 4\r\nload 0x3ffe87e0, len 568, room 12\r\ntail 12\r\nchksum 0x32\r\ncsum 0x32\r\nmode: QI␏5\r\nOS SDK ver: 2.0-dev(9ec59b5) compiled @ Feb 12 2018 11:02:32\r\nphy ver: 1055_1, pp ver: 10.7\r\n\r\nrf cal sector: 1019\r\ntcpip_task_hdl : 40107a28, prio:10,stack:512\r\nidle_task_hdl : 40107ad8,prio:0, stack:384\r\ntim_task_hdl : 40107c20, prio:2,stack:512\r\nentering user_init\r\nleaving user_init\r\nmode : null\r\n..........␂@�Z-nP␙␕␓�M␌%��Z     %Y␎+Q\r\n        �E␋XÈ␀��␂��I\r\n␑\\␓␑␑   )n@␑��B�[\r\n␑␁!LO@␕)        K�T␑�␋�V␑1␎\\␓��␏␑)�␑Z�\r\n␑␑@�\\␕␑ 5␏␓�␂�NRA␌␋�ؚ�P9J)�C␄1␌T␑��Y\r\n␑␀�R␅␄R��␗�     )l�␕    5Y\r\n␓�␂�NR�␕\r\nʳ␏␑␅    J�\r\n␑Zq��Q\r\n␁␌␎5\r\nOS SDK ver: 2.0-dev(9ec59b5) compiled @ Feb 12 2018 11:02:32\r\nphy ver: 1055_1, pp ver: 10.7\r\n```\r\n[sdktest.zip](https://github.com/espressif/ESP8266_RTOS_SDK/files/1843470/sdktest.zip)\r\n\r\nKind regards\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/comments/377165114","html_url":"https://github.com/espressif/ESP8266_RTOS_SDK/issues/158#issuecomment-377165114","issue_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/158","id":377165114,"user":{"login":"27-301","id":8952552,"avatar_url":"https://avatars2.githubusercontent.com/u/8952552?v=4","gravatar_id":"","url":"https://api.github.com/users/27-301","html_url":"https://github.com/27-301","followers_url":"https://api.github.com/users/27-301/followers","following_url":"https://api.github.com/users/27-301/following{/other_user}","gists_url":"https://api.github.com/users/27-301/gists{/gist_id}","starred_url":"https://api.github.com/users/27-301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/27-301/subscriptions","organizations_url":"https://api.github.com/users/27-301/orgs","repos_url":"https://api.github.com/users/27-301/repos","events_url":"https://api.github.com/users/27-301/events{/privacy}","received_events_url":"https://api.github.com/users/27-301/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T08:39:27Z","updated_at":"2018-03-29T08:39:27Z","author_association":"NONE","body":"Tried platformio with this demo, it halted then crash, very strange, by using SDK directly, it works well. From the commit message, it's `feat(lib): Use gcc to compile all internal libs`. It maybe relate with the Makefile used by platform, can you check with PlatfomIO guys?"}}
{"actor":{"display_login":"27-301"}}