{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2863","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2863/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2863/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2863/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/2863","id":70463605,"number":2863,"title":"cpu: syscall implementation seem to have trouble if uart0 is not enabled","user":{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-23T17:12:13Z","updated_at":"2015-04-24T07:29:46Z","closed_at":null,"body":"I observed the same behavior now on different boards (e.g. 'airfy-beacon' or 'iot-lab_M3'): Applications using the shell are running fine if  the `uart0` module is enabled (is in the default app). But when running an application using the shell without `uart0` by reading input chars directly via the clibs `getchar()`, the boards do not react.\r\n\r\nNow interestingly, one you put a short output in the `_read_r()` function in the 'CPU/syscalls.c` file, all inputted characters are read to the shell just fine. \r\n\r\nI am not sure where this behavior comes from, my current guess is, that there is a concurrency problem when accessing the ringbuffer from both thread context (the shell thread) and the uart interrupt routine. Any ideas?"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/95834296","html_url":"https://github.com/RIOT-OS/RIOT/issues/2863#issuecomment-95834296","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2863","id":95834296,"user":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T07:29:46Z","updated_at":"2015-04-24T07:29:46Z","body":"Good point! Will use it then"}}