{"action":"closed","number":156,"pull_request":{"url":"https://api.github.com/repos/01org/libva/pulls/156","id":155201233,"html_url":"https://github.com/01org/libva/pull/156","diff_url":"https://github.com/01org/libva/pull/156.diff","patch_url":"https://github.com/01org/libva/pull/156.patch","issue_url":"https://api.github.com/repos/01org/libva/issues/156","number":156,"state":"closed","locked":false,"title":"trace: init mutex before attempting to lock it","user":{"login":"uartie","id":677859,"avatar_url":"https://avatars1.githubusercontent.com/u/677859?v=4","gravatar_id":"","url":"https://api.github.com/users/uartie","html_url":"https://github.com/uartie","followers_url":"https://api.github.com/users/uartie/followers","following_url":"https://api.github.com/users/uartie/following{/other_user}","gists_url":"https://api.github.com/users/uartie/gists{/gist_id}","starred_url":"https://api.github.com/users/uartie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uartie/subscriptions","organizations_url":"https://api.github.com/users/uartie/orgs","repos_url":"https://api.github.com/users/uartie/repos","events_url":"https://api.github.com/users/uartie/events{/privacy}","received_events_url":"https://api.github.com/users/uartie/received_events","type":"User","site_admin":false},"body":"Call pthread_mutex_init before any calls to pthread_mutex_lock.\r\n\r\nva_TraceInit(...) calls start_tracing2log_file(...) which\r\ncalls pthread_mutex_lock on the pva_trace->resource_mutex.\r\nThus, we need to ensure the mutex is initialized properly via\r\npthread_mutex_init before attempting to lock it.\r\n\r\nSigned-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>","created_at":"2017-11-28T22:32:10Z","updated_at":"2017-12-01T17:57:18Z","closed_at":"2017-12-01T17:57:18Z","merged_at":"2017-12-01T17:57:18Z","merge_commit_sha":"21704c3eeb99c818e2eeaa7cdb68958dbd12fcf7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/01org/libva/pulls/156/commits","review_comments_url":"https://api.github.com/repos/01org/libva/pulls/156/comments","review_comment_url":"https://api.github.com/repos/01org/libva/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/libva/issues/156/comments","statuses_url":"https://api.github.com/repos/01org/libva/statuses/d2496d21e77c17cb8b330714b0345cf38719adeb","head":{"label":"uartie:mutex-init","ref":"mutex-init","sha":"d2496d21e77c17cb8b330714b0345cf38719adeb","user":{"login":"uartie","id":677859,"avatar_url":"https://avatars1.githubusercontent.com/u/677859?v=4","gravatar_id":"","url":"https://api.github.com/users/uartie","html_url":"https://github.com/uartie","followers_url":"https://api.github.com/users/uartie/followers","following_url":"https://api.github.com/users/uartie/following{/other_user}","gists_url":"https://api.github.com/users/uartie/gists{/gist_id}","starred_url":"https://api.github.com/users/uartie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uartie/subscriptions","organizations_url":"https://api.github.com/users/uartie/orgs","repos_url":"https://api.github.com/users/uartie/repos","events_url":"https://api.github.com/users/uartie/events{/privacy}","received_events_url":"https://api.github.com/users/uartie/received_events","type":"User","site_admin":false},"repo":{"id":80227915,"name":"libva","full_name":"uartie/libva","owner":{"login":"uartie","id":677859,"avatar_url":"https://avatars1.githubusercontent.com/u/677859?v=4","gravatar_id":"","url":"https://api.github.com/users/uartie","html_url":"https://github.com/uartie","followers_url":"https://api.github.com/users/uartie/followers","following_url":"https://api.github.com/users/uartie/following{/other_user}","gists_url":"https://api.github.com/users/uartie/gists{/gist_id}","starred_url":"https://api.github.com/users/uartie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uartie/subscriptions","organizations_url":"https://api.github.com/users/uartie/orgs","repos_url":"https://api.github.com/users/uartie/repos","events_url":"https://api.github.com/users/uartie/events{/privacy}","received_events_url":"https://api.github.com/users/uartie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uartie/libva","description":"Libva is an implementation for VA-API (VIdeo Acceleration API)","fork":true,"url":"https://api.github.com/repos/uartie/libva","forks_url":"https://api.github.com/repos/uartie/libva/forks","keys_url":"https://api.github.com/repos/uartie/libva/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uartie/libva/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uartie/libva/teams","hooks_url":"https://api.github.com/repos/uartie/libva/hooks","issue_events_url":"https://api.github.com/repos/uartie/libva/issues/events{/number}","events_url":"https://api.github.com/repos/uartie/libva/events","assignees_url":"https://api.github.com/repos/uartie/libva/assignees{/user}","branches_url":"https://api.github.com/repos/uartie/libva/branches{/branch}","tags_url":"https://api.github.com/repos/uartie/libva/tags","blobs_url":"https://api.github.com/repos/uartie/libva/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uartie/libva/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uartie/libva/git/refs{/sha}","trees_url":"https://api.github.com/repos/uartie/libva/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uartie/libva/statuses/{sha}","languages_url":"https://api.github.com/repos/uartie/libva/languages","stargazers_url":"https://api.github.com/repos/uartie/libva/stargazers","contributors_url":"https://api.github.com/repos/uartie/libva/contributors","subscribers_url":"https://api.github.com/repos/uartie/libva/subscribers","subscription_url":"https://api.github.com/repos/uartie/libva/subscription","commits_url":"https://api.github.com/repos/uartie/libva/commits{/sha}","git_commits_url":"https://api.github.com/repos/uartie/libva/git/commits{/sha}","comments_url":"https://api.github.com/repos/uartie/libva/comments{/number}","issue_comment_url":"https://api.github.com/repos/uartie/libva/issues/comments{/number}","contents_url":"https://api.github.com/repos/uartie/libva/contents/{+path}","compare_url":"https://api.github.com/repos/uartie/libva/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uartie/libva/merges","archive_url":"https://api.github.com/repos/uartie/libva/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uartie/libva/downloads","issues_url":"https://api.github.com/repos/uartie/libva/issues{/number}","pulls_url":"https://api.github.com/repos/uartie/libva/pulls{/number}","milestones_url":"https://api.github.com/repos/uartie/libva/milestones{/number}","notifications_url":"https://api.github.com/repos/uartie/libva/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uartie/libva/labels{/name}","releases_url":"https://api.github.com/repos/uartie/libva/releases{/id}","deployments_url":"https://api.github.com/repos/uartie/libva/deployments","created_at":"2017-01-27T17:11:47Z","updated_at":"2017-01-27T17:11:50Z","pushed_at":"2017-11-28T22:30:23Z","git_url":"git://github.com/uartie/libva.git","ssh_url":"git@github.com:uartie/libva.git","clone_url":"https://github.com/uartie/libva.git","svn_url":"https://github.com/uartie/libva","homepage":"https://01.org/linuxmedia","size":3588,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"01org:master","ref":"master","sha":"df544cd5a31e54d4cbd33a391795a8747ddaf789","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars1.githubusercontent.com/u/1635439?v=4","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":16745233,"name":"libva","full_name":"01org/libva","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars1.githubusercontent.com/u/1635439?v=4","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/libva","description":"Libva is an implementation for VA-API (VIdeo Acceleration API)","fork":false,"url":"https://api.github.com/repos/01org/libva","forks_url":"https://api.github.com/repos/01org/libva/forks","keys_url":"https://api.github.com/repos/01org/libva/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/libva/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/libva/teams","hooks_url":"https://api.github.com/repos/01org/libva/hooks","issue_events_url":"https://api.github.com/repos/01org/libva/issues/events{/number}","events_url":"https://api.github.com/repos/01org/libva/events","assignees_url":"https://api.github.com/repos/01org/libva/assignees{/user}","branches_url":"https://api.github.com/repos/01org/libva/branches{/branch}","tags_url":"https://api.github.com/repos/01org/libva/tags","blobs_url":"https://api.github.com/repos/01org/libva/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/libva/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/libva/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/libva/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/libva/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/libva/languages","stargazers_url":"https://api.github.com/repos/01org/libva/stargazers","contributors_url":"https://api.github.com/repos/01org/libva/contributors","subscribers_url":"https://api.github.com/repos/01org/libva/subscribers","subscription_url":"https://api.github.com/repos/01org/libva/subscription","commits_url":"https://api.github.com/repos/01org/libva/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/libva/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/libva/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/libva/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/libva/contents/{+path}","compare_url":"https://api.github.com/repos/01org/libva/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/libva/merges","archive_url":"https://api.github.com/repos/01org/libva/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/libva/downloads","issues_url":"https://api.github.com/repos/01org/libva/issues{/number}","pulls_url":"https://api.github.com/repos/01org/libva/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/libva/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/libva/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/libva/labels{/name}","releases_url":"https://api.github.com/repos/01org/libva/releases{/id}","deployments_url":"https://api.github.com/repos/01org/libva/deployments","created_at":"2014-02-11T20:57:42Z","updated_at":"2017-12-01T17:20:27Z","pushed_at":"2017-12-01T17:57:18Z","git_url":"git://github.com/01org/libva.git","ssh_url":"git@github.com:01org/libva.git","clone_url":"https://github.com/01org/libva.git","svn_url":"https://github.com/01org/libva","homepage":"https://01.org/linuxmedia","size":3934,"stargazers_count":57,"watchers_count":57,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":60,"open_issues":17,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/libva/pulls/156"},"html":{"href":"https://github.com/01org/libva/pull/156"},"issue":{"href":"https://api.github.com/repos/01org/libva/issues/156"},"comments":{"href":"https://api.github.com/repos/01org/libva/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/libva/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/libva/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/libva/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/01org/libva/statuses/d2496d21e77c17cb8b330714b0345cf38719adeb"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"xhaihao","id":24284137,"avatar_url":"https://avatars0.githubusercontent.com/u/24284137?v=4","gravatar_id":"","url":"https://api.github.com/users/xhaihao","html_url":"https://github.com/xhaihao","followers_url":"https://api.github.com/users/xhaihao/followers","following_url":"https://api.github.com/users/xhaihao/following{/other_user}","gists_url":"https://api.github.com/users/xhaihao/gists{/gist_id}","starred_url":"https://api.github.com/users/xhaihao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhaihao/subscriptions","organizations_url":"https://api.github.com/users/xhaihao/orgs","repos_url":"https://api.github.com/users/xhaihao/repos","events_url":"https://api.github.com/users/xhaihao/events{/privacy}","received_events_url":"https://api.github.com/users/xhaihao/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"xhaihao"}}