{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/openj9/issues/1419","repository_url":"https://api.github.com/repos/eclipse/openj9","labels_url":"https://api.github.com/repos/eclipse/openj9/issues/1419/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/openj9/issues/1419/comments","events_url":"https://api.github.com/repos/eclipse/openj9/issues/1419/events","html_url":"https://github.com/eclipse/openj9/issues/1419","id":304315946,"number":1419,"title":"omrvmem.c asserts with hugepages in Docker","user":{"login":"JamesKingdon","id":26579150,"avatar_url":"https://avatars1.githubusercontent.com/u/26579150?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesKingdon","html_url":"https://github.com/JamesKingdon","followers_url":"https://api.github.com/users/JamesKingdon/followers","following_url":"https://api.github.com/users/JamesKingdon/following{/other_user}","gists_url":"https://api.github.com/users/JamesKingdon/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesKingdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesKingdon/subscriptions","organizations_url":"https://api.github.com/users/JamesKingdon/orgs","repos_url":"https://api.github.com/users/JamesKingdon/repos","events_url":"https://api.github.com/users/JamesKingdon/events{/privacy}","received_events_url":"https://api.github.com/users/JamesKingdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T10:30:34Z","updated_at":"2018-03-13T10:26:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I noticed that when I had 1G hugepages configured in the host OS, running the JVM in Docker (in this case as part of the build) failed with an assert:\r\n\r\n01:51:38.216 0x23c8a00 omrport.0      *   ** ASSERTION FAILED ** at ../../omr/port/linux/omrvmem.c:694: ((params->startAddress <= params->endAddress))\r\n\r\nThis is likely being caused by some sort of configuration problem with Docker (the Docker container was created before the hugepages were configured in the host OS), but it would be nice if we could handle the situation more gracefully.\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/openj9/issues/comments/372617869","html_url":"https://github.com/eclipse/openj9/issues/1419#issuecomment-372617869","issue_url":"https://api.github.com/repos/eclipse/openj9/issues/1419","id":372617869,"user":{"login":"JamesKingdon","id":26579150,"avatar_url":"https://avatars1.githubusercontent.com/u/26579150?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesKingdon","html_url":"https://github.com/JamesKingdon","followers_url":"https://api.github.com/users/JamesKingdon/followers","following_url":"https://api.github.com/users/JamesKingdon/following{/other_user}","gists_url":"https://api.github.com/users/JamesKingdon/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesKingdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesKingdon/subscriptions","organizations_url":"https://api.github.com/users/JamesKingdon/orgs","repos_url":"https://api.github.com/users/JamesKingdon/repos","events_url":"https://api.github.com/users/JamesKingdon/events{/privacy}","received_events_url":"https://api.github.com/users/JamesKingdon/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T10:26:32Z","updated_at":"2018-03-13T10:26:32Z","author_association":"CONTRIBUTOR","body":"I started hitting this outside of Docker with a prototype build that can use multiple hugepage sizes. It's possible there is a failure path that isn't being handled correctly when shmget calls fail to return memory (or possibly my very hacky prototype has just broken something and it's a complete coincidence that it falls over at the same assert)"}}
{"actor":{"display_login":"JamesKingdon"}}