{"action":"created","issue":{"url":"https://api.github.com/repos/newsboat/newsboat/issues/159","repository_url":"https://api.github.com/repos/newsboat/newsboat","labels_url":"https://api.github.com/repos/newsboat/newsboat/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/newsboat/newsboat/issues/159/comments","events_url":"https://api.github.com/repos/newsboat/newsboat/issues/159/events","html_url":"https://github.com/newsboat/newsboat/issues/159","id":310449788,"number":159,"title":"Test suite faillure on sparc64","user":{"login":"tsipinakis","id":18189112,"avatar_url":"https://avatars2.githubusercontent.com/u/18189112?v=4","gravatar_id":"","url":"https://api.github.com/users/tsipinakis","html_url":"https://github.com/tsipinakis","followers_url":"https://api.github.com/users/tsipinakis/followers","following_url":"https://api.github.com/users/tsipinakis/following{/other_user}","gists_url":"https://api.github.com/users/tsipinakis/gists{/gist_id}","starred_url":"https://api.github.com/users/tsipinakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsipinakis/subscriptions","organizations_url":"https://api.github.com/users/tsipinakis/orgs","repos_url":"https://api.github.com/users/tsipinakis/repos","events_url":"https://api.github.com/users/tsipinakis/events{/privacy}","received_events_url":"https://api.github.com/users/tsipinakis/received_events","type":"User","site_admin":false},"labels":[{"id":694985401,"url":"https://api.github.com/repos/newsboat/newsboat/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-02T10:20:12Z","updated_at":"2018-04-11T11:35:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Newsboat version (copy from `newsboat -v`)**: 2.11.1\r\n\r\nThe test suite fails to run on the sparc64 architecture log follows(from debian [buildd](https://buildd.debian.org/status/fetch.php?pkg=newsboat&arch=sparc64&ver=2.11.1-1&stamp=1522519925&raw=0)):\r\n```\r\ncd test && LC_ALL=C.UTF-8 TERM=dumb ./test --order rand\r\nBus error\r\nmake[1]: *** [debian/rules:24: override_dh_auto_test] Error 138\r\nmake[1]: Leaving directory '/<<PKGBUILDDIR>>'\r\nmake: *** [debian/rules:12: build-arch] Error 2\r\ndpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2\r\n```\r\n\r\nFrom the [BTS bug report](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884895) `Bus error` on sparc typically indicates unaligned memory access."},"comment":{"url":"https://api.github.com/repos/newsboat/newsboat/issues/comments/380420816","html_url":"https://github.com/newsboat/newsboat/issues/159#issuecomment-380420816","issue_url":"https://api.github.com/repos/newsboat/newsboat/issues/159","id":380420816,"user":{"login":"jacwah","id":3816754,"avatar_url":"https://avatars3.githubusercontent.com/u/3816754?v=4","gravatar_id":"","url":"https://api.github.com/users/jacwah","html_url":"https://github.com/jacwah","followers_url":"https://api.github.com/users/jacwah/followers","following_url":"https://api.github.com/users/jacwah/following{/other_user}","gists_url":"https://api.github.com/users/jacwah/gists{/gist_id}","starred_url":"https://api.github.com/users/jacwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacwah/subscriptions","organizations_url":"https://api.github.com/users/jacwah/orgs","repos_url":"https://api.github.com/users/jacwah/repos","events_url":"https://api.github.com/users/jacwah/events{/privacy}","received_events_url":"https://api.github.com/users/jacwah/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T11:35:25Z","updated_at":"2018-04-11T11:35:25Z","author_association":"NONE","body":"Looking closer at the code, I think the misalignment actually happens in `Scanner::CreateToken` and `Scanner::AppendVal`. `AppendVal` can change `heapTop` to any multiple of `sizeof(wchar_t)`, which will in turn misalign it for writing `Token`s.\r\n\r\nAll the heap code seems a bit suspect, I think it would be easier to deal with (and perhaps run on sparc) if there are separate blocks for tokens and their values.\r\n\r\n---\r\n\r\nHehe, I realize now that this is generated code. As far as I can tell, it does not seem like Coco/R was written to run on architectures with strict alignment requirements."}}
{"actor":{"display_login":"jacwah"}}