{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/7790","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/7790/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/7790/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/7790/events","html_url":"https://github.com/ceph/ceph/pull/7790","id":136277040,"number":7790,"title":"log: segv in a portable way","user":{"login":"tchaikov","id":59071,"avatar_url":"https://avatars.githubusercontent.com/u/59071?v=3","gravatar_id":"","url":"https://api.github.com/users/tchaikov","html_url":"https://github.com/tchaikov","followers_url":"https://api.github.com/users/tchaikov/followers","following_url":"https://api.github.com/users/tchaikov/following{/other_user}","gists_url":"https://api.github.com/users/tchaikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaikov/subscriptions","organizations_url":"https://api.github.com/users/tchaikov/orgs","repos_url":"https://api.github.com/users/tchaikov/repos","events_url":"https://api.github.com/users/tchaikov/events{/privacy}","received_events_url":"https://api.github.com/users/tchaikov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/tests","name":"tests","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-25T04:26:41Z","updated_at":"2016-02-25T23:25:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/7790","html_url":"https://github.com/ceph/ceph/pull/7790","diff_url":"https://github.com/ceph/ceph/pull/7790.diff","patch_url":"https://github.com/ceph/ceph/pull/7790.patch"},"body":"this piece of code creates a SEGV from logging code to verify a\r\nbug fix at e3fe18a.\r\n\r\nclang will delete the null-referencing code. so we need to either\r\n- pass -Wnonull-dereference to $(CC)\r\n- or use  __builtin_trap() offered by GCC/clang\r\n- or use `volatile`\r\nseems volatile is easier and probably more portable.\r\n\r\nFixes: #14856\r\nSigned-off-by: Kefu Chai <kchai@redhat.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/189033146","html_url":"https://github.com/ceph/ceph/pull/7790#issuecomment-189033146","issue_url":"https://api.github.com/repos/ceph/ceph/issues/7790","id":189033146,"user":{"login":"wjwithagen","id":16081914,"avatar_url":"https://avatars.githubusercontent.com/u/16081914?v=3","gravatar_id":"","url":"https://api.github.com/users/wjwithagen","html_url":"https://github.com/wjwithagen","followers_url":"https://api.github.com/users/wjwithagen/followers","following_url":"https://api.github.com/users/wjwithagen/following{/other_user}","gists_url":"https://api.github.com/users/wjwithagen/gists{/gist_id}","starred_url":"https://api.github.com/users/wjwithagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjwithagen/subscriptions","organizations_url":"https://api.github.com/users/wjwithagen/orgs","repos_url":"https://api.github.com/users/wjwithagen/repos","events_url":"https://api.github.com/users/wjwithagen/events{/privacy}","received_events_url":"https://api.github.com/users/wjwithagen/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T23:25:51Z","updated_at":"2016-02-25T23:25:51Z","body":"@tchaikov \r\nlgtm\r\ncompiles without further warning "}}