{"action":"created","issue":{"url":"https://api.github.com/repos/open-mpi/ompi-release/issues/754","labels_url":"https://api.github.com/repos/open-mpi/ompi-release/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/open-mpi/ompi-release/issues/754/comments","events_url":"https://api.github.com/repos/open-mpi/ompi-release/issues/754/events","html_url":"https://github.com/open-mpi/ompi-release/pull/754","id":116156382,"number":754,"title":"opal_free_list: fix strange size check","user":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-mpi/ompi-release/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/open-mpi/ompi-release/milestones/7","html_url":"https://github.com/open-mpi/ompi-release/milestones/v2.0.0","labels_url":"https://api.github.com/repos/open-mpi/ompi-release/milestones/7/labels","id":1136176,"number":7,"title":"v2.0.0","description":"","creator":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":232,"state":"open","created_at":"2015-05-27T14:23:44Z","updated_at":"2015-11-10T17:21:46Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-10T17:21:18Z","updated_at":"2015-11-10T18:09:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-mpi/ompi-release/pulls/754","html_url":"https://github.com/open-mpi/ompi-release/pull/754","diff_url":"https://github.com/open-mpi/ompi-release/pull/754.diff","patch_url":"https://github.com/open-mpi/ompi-release/pull/754.patch"},"body":"OPAL free lists can be initialized with a fragment size that differs\r\nfrom the size of objects from a class. This allows the free list code\r\nto support OPAL objects that have flexible array members.\r\n\r\nUnfortunately the free list code will throw out the desired length in\r\nsome cases. The code in question was committed in\r\nopen-mpi/ompi@90fb58de. The side effects of this are varied and can\r\ncause segmentation faults, assert failures, hangs, etc. This commit\r\nadds a check to ensure the requested size is at least as large as the\r\nclass size and makes opal_free_list allocations always honor the\r\nrequested fragment size (as long as it is larger than the class\r\nsize).\r\n\r\n(cherry picked from open-mpi/ompi@2c022943892c7ef153cbfc293dce25e7c25654ef)\r\n\r\nSigned-off-by: Nathan Hjelm <hjelmn@lanl.gov>"},"comment":{"url":"https://api.github.com/repos/open-mpi/ompi-release/issues/comments/155517482","html_url":"https://github.com/open-mpi/ompi-release/pull/754#issuecomment-155517482","issue_url":"https://api.github.com/repos/open-mpi/ompi-release/issues/754","id":155517482,"user":{"login":"mellanox-github","id":9459943,"avatar_url":"https://avatars.githubusercontent.com/u/9459943?v=3","gravatar_id":"","url":"https://api.github.com/users/mellanox-github","html_url":"https://github.com/mellanox-github","followers_url":"https://api.github.com/users/mellanox-github/followers","following_url":"https://api.github.com/users/mellanox-github/following{/other_user}","gists_url":"https://api.github.com/users/mellanox-github/gists{/gist_id}","starred_url":"https://api.github.com/users/mellanox-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mellanox-github/subscriptions","organizations_url":"https://api.github.com/users/mellanox-github/orgs","repos_url":"https://api.github.com/users/mellanox-github/repos","events_url":"https://api.github.com/users/mellanox-github/events{/privacy}","received_events_url":"https://api.github.com/users/mellanox-github/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T18:09:32Z","updated_at":"2015-11-10T18:09:32Z","body":"Test PASSed.\nSee http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1003/ for details.\n"}}