{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6307","repository_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6307/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6307/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6307/events","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/6307","id":299121415,"number":6307,"title":"Unaligned access in networking code causes unaligned exception on Nucleo-F429ZI","user":{"login":"therealprof","id":3321888,"avatar_url":"https://avatars2.githubusercontent.com/u/3321888?v=4","gravatar_id":"","url":"https://api.github.com/users/therealprof","html_url":"https://github.com/therealprof","followers_url":"https://api.github.com/users/therealprof/followers","following_url":"https://api.github.com/users/therealprof/following{/other_user}","gists_url":"https://api.github.com/users/therealprof/gists{/gist_id}","starred_url":"https://api.github.com/users/therealprof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealprof/subscriptions","organizations_url":"https://api.github.com/users/therealprof/orgs","repos_url":"https://api.github.com/users/therealprof/repos","events_url":"https://api.github.com/users/therealprof/events{/privacy}","received_events_url":"https://api.github.com/users/therealprof/received_events","type":"User","site_admin":false},"labels":[{"id":723804881,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/STM32","name":"STM32","color":"39a9db","default":false},{"id":845160834,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/area:%20Ethernet","name":"area: Ethernet","color":"ededed","default":false},{"id":700751655,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/area:%20Networking","name":"area: Networking","color":"c5def5","default":false},{"id":383053976,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/bug","name":"bug","color":"e99695","default":true},{"id":636351494,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/priority:%20medium","name":"priority: medium","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"erwango","id":18574308,"avatar_url":"https://avatars1.githubusercontent.com/u/18574308?v=4","gravatar_id":"","url":"https://api.github.com/users/erwango","html_url":"https://github.com/erwango","followers_url":"https://api.github.com/users/erwango/followers","following_url":"https://api.github.com/users/erwango/following{/other_user}","gists_url":"https://api.github.com/users/erwango/gists{/gist_id}","starred_url":"https://api.github.com/users/erwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwango/subscriptions","organizations_url":"https://api.github.com/users/erwango/orgs","repos_url":"https://api.github.com/users/erwango/repos","events_url":"https://api.github.com/users/erwango/events{/privacy}","received_events_url":"https://api.github.com/users/erwango/received_events","type":"User","site_admin":false},"assignees":[{"login":"erwango","id":18574308,"avatar_url":"https://avatars1.githubusercontent.com/u/18574308?v=4","gravatar_id":"","url":"https://api.github.com/users/erwango","html_url":"https://github.com/erwango","followers_url":"https://api.github.com/users/erwango/followers","following_url":"https://api.github.com/users/erwango/following{/other_user}","gists_url":"https://api.github.com/users/erwango/gists{/gist_id}","starred_url":"https://api.github.com/users/erwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwango/subscriptions","organizations_url":"https://api.github.com/users/erwango/orgs","repos_url":"https://api.github.com/users/erwango/repos","events_url":"https://api.github.com/users/erwango/events{/privacy}","received_events_url":"https://api.github.com/users/erwango/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones/25","html_url":"https://github.com/zephyrproject-rtos/zephyr/milestone/25","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones/25/labels","id":2786864,"number":25,"title":"v1.12.0","description":null,"creator":{"login":"zephyrbot","id":26360365,"avatar_url":"https://avatars1.githubusercontent.com/u/26360365?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrbot","html_url":"https://github.com/zephyrbot","followers_url":"https://api.github.com/users/zephyrbot/followers","following_url":"https://api.github.com/users/zephyrbot/following{/other_user}","gists_url":"https://api.github.com/users/zephyrbot/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrbot/subscriptions","organizations_url":"https://api.github.com/users/zephyrbot/orgs","repos_url":"https://api.github.com/users/zephyrbot/repos","events_url":"https://api.github.com/users/zephyrbot/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrbot/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":46,"state":"open","created_at":"2017-09-23T12:51:54Z","updated_at":"2018-05-04T06:45:36Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2018-02-21T20:43:02Z","updated_at":"2018-05-05T15:55:26Z","closed_at":null,"author_association":"NONE","body":"Trying to run some networking sample code (with the default configuration) on my new Nucleo-F429ZI board yields this interesting exception:\r\n\r\n> **** BOOTING ZEPHY***** USAGE FAULT *****\r\n>   Executing thread ID (thread): 0x200038ac\r\n>   Faulting instruction address:  0x80097e6\r\n>   Unaligned memory access\r\n> Fatal fault in essential thread! Spinning...\r\n\r\nVery much to my surprise it is somewhat obvious where that unaligned exception is coming from:\r\n\r\n```\r\n 80097e0:       689b            ldr     r3, [r3, #8]\r\n        dst->s6_addr[0]   = 0xFF;\r\n 80097e2:       f240 22ff       movw    r2, #767        ; 0x2ff\r\n        UNALIGNED_PUT(0, &dst->s6_addr16[1]);\r\n 80097e6:       e9c3 2506       strd    r2, r5, [r3, #24]\r\n        UNALIGNED_PUT(0, &dst->s6_addr16[3]);\r\n```\r\n\r\nIt's somewhat less obvious (to me at least) what to do about it..."},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments/386815115","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/6307#issuecomment-386815115","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6307","id":386815115,"user":{"login":"therealprof","id":3321888,"avatar_url":"https://avatars2.githubusercontent.com/u/3321888?v=4","gravatar_id":"","url":"https://api.github.com/users/therealprof","html_url":"https://github.com/therealprof","followers_url":"https://api.github.com/users/therealprof/followers","following_url":"https://api.github.com/users/therealprof/following{/other_user}","gists_url":"https://api.github.com/users/therealprof/gists{/gist_id}","starred_url":"https://api.github.com/users/therealprof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealprof/subscriptions","organizations_url":"https://api.github.com/users/therealprof/orgs","repos_url":"https://api.github.com/users/therealprof/repos","events_url":"https://api.github.com/users/therealprof/events{/privacy}","received_events_url":"https://api.github.com/users/therealprof/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T15:55:26Z","updated_at":"2018-05-05T15:55:26Z","author_association":"NONE","body":"That seems to be only available for Linux."}}
{"actor":{"display_login":"therealprof"}}