{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/4628","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/4628/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/4628/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/4628/events","html_url":"https://github.com/facebook/osquery/pull/4628","id":334991119,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODIzNzQ0","number":4628,"title":"Dont bring up any dispatcher controlled service in profile mode","user":{"login":"npamnani","id":16044266,"node_id":"MDQ6VXNlcjE2MDQ0MjY2","avatar_url":"https://avatars2.githubusercontent.com/u/16044266?v=4","gravatar_id":"","url":"https://api.github.com/users/npamnani","html_url":"https://github.com/npamnani","followers_url":"https://api.github.com/users/npamnani/followers","following_url":"https://api.github.com/users/npamnani/following{/other_user}","gists_url":"https://api.github.com/users/npamnani/gists{/gist_id}","starred_url":"https://api.github.com/users/npamnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npamnani/subscriptions","organizations_url":"https://api.github.com/users/npamnani/orgs","repos_url":"https://api.github.com/users/npamnani/repos","events_url":"https://api.github.com/users/npamnani/events{/privacy}","received_events_url":"https://api.github.com/users/npamnani/received_events","type":"User","site_admin":false},"labels":[{"id":196858822,"node_id":"MDU6TGFiZWwxOTY4NTg4MjI=","url":"https://api.github.com/repos/facebook/osquery/labels/cla%20signed","name":"cla signed","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-22T19:20:34Z","updated_at":"2018-06-22T22:01:15Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/4628","html_url":"https://github.com/facebook/osquery/pull/4628","diff_url":"https://github.com/facebook/osquery/pull/4628.diff","patch_url":"https://github.com/facebook/osquery/pull/4628.patch"},"body":"Dont bring up any dispatcher controlled service in profile mode.\r\n\r\nIO Service is coming up  in profile mode but join is not being called on the io service thread, which leads to the terminate getting called ( https://en.cppreference.com/w/cpp/thread/thread/~thread). Which makes valgrind think that there are memory leaks. \r\n\r\nHope this fix answers the question asked here -\r\nhttps://github.com/facebook/osquery/pull/4597\r\n\r\nAfter applying this fix \r\nnishant@nishant-VirtualBox:~/osquery_contri/osquery$ ./tools/analysis/profile.py --leaks\r\nAnalyzing leaks in query: SELECT * FROM crontab;\r\n  possibly: 0 bytes in 0 blocks; definitely: 0 bytes in 0 blocks; indirectly: 0 bytes in 0 blocks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/399594210","html_url":"https://github.com/facebook/osquery/pull/4628#issuecomment-399594210","issue_url":"https://api.github.com/repos/facebook/osquery/issues/4628","id":399594210,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTU5NDIxMA==","user":{"login":"theopolis","id":981645,"node_id":"MDQ6VXNlcjk4MTY0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/981645?v=4","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T22:01:15Z","updated_at":"2018-06-22T22:01:15Z","author_association":"CONTRIBUTOR","body":"ok to test"}}
{"actor":{"display_login":"theopolis"}}