{"action":"created","issue":{"url":"https://api.github.com/repos/lttng/lttng-tools/issues/121","repository_url":"https://api.github.com/repos/lttng/lttng-tools","labels_url":"https://api.github.com/repos/lttng/lttng-tools/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/lttng/lttng-tools/issues/121/comments","events_url":"https://api.github.com/repos/lttng/lttng-tools/issues/121/events","html_url":"https://github.com/lttng/lttng-tools/pull/121","id":309771879,"number":121,"title":"Fix: use off_t type for lseek function return value to avoid overflow","user":{"login":"gleocadie","id":17292193,"avatar_url":"https://avatars3.githubusercontent.com/u/17292193?v=4","gravatar_id":"","url":"https://api.github.com/users/gleocadie","html_url":"https://github.com/gleocadie","followers_url":"https://api.github.com/users/gleocadie/followers","following_url":"https://api.github.com/users/gleocadie/following{/other_user}","gists_url":"https://api.github.com/users/gleocadie/gists{/gist_id}","starred_url":"https://api.github.com/users/gleocadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleocadie/subscriptions","organizations_url":"https://api.github.com/users/gleocadie/orgs","repos_url":"https://api.github.com/users/gleocadie/repos","events_url":"https://api.github.com/users/gleocadie/events{/privacy}","received_events_url":"https://api.github.com/users/gleocadie/received_events","type":"User","site_admin":false},"labels":[{"id":93451468,"url":"https://api.github.com/repos/lttng/lttng-tools/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"jgalar","id":1395184,"avatar_url":"https://avatars2.githubusercontent.com/u/1395184?v=4","gravatar_id":"","url":"https://api.github.com/users/jgalar","html_url":"https://github.com/jgalar","followers_url":"https://api.github.com/users/jgalar/followers","following_url":"https://api.github.com/users/jgalar/following{/other_user}","gists_url":"https://api.github.com/users/jgalar/gists{/gist_id}","starred_url":"https://api.github.com/users/jgalar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgalar/subscriptions","organizations_url":"https://api.github.com/users/jgalar/orgs","repos_url":"https://api.github.com/users/jgalar/repos","events_url":"https://api.github.com/users/jgalar/events{/privacy}","received_events_url":"https://api.github.com/users/jgalar/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgalar","id":1395184,"avatar_url":"https://avatars2.githubusercontent.com/u/1395184?v=4","gravatar_id":"","url":"https://api.github.com/users/jgalar","html_url":"https://github.com/jgalar","followers_url":"https://api.github.com/users/jgalar/followers","following_url":"https://api.github.com/users/jgalar/following{/other_user}","gists_url":"https://api.github.com/users/jgalar/gists{/gist_id}","starred_url":"https://api.github.com/users/jgalar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgalar/subscriptions","organizations_url":"https://api.github.com/users/jgalar/orgs","repos_url":"https://api.github.com/users/jgalar/repos","events_url":"https://api.github.com/users/jgalar/events{/privacy}","received_events_url":"https://api.github.com/users/jgalar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-29T14:14:49Z","updated_at":"2018-04-09T18:46:58Z","closed_at":"2018-04-09T18:46:58Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/lttng/lttng-tools/pulls/121","html_url":"https://github.com/lttng/lttng-tools/pull/121","diff_url":"https://github.com/lttng/lttng-tools/pull/121.diff","patch_url":"https://github.com/lttng/lttng-tools/pull/121.patch"},"body":"Context: LTTng is configured in live mode with only one channel, getting\r\ntraces for a long-running application (days of uptime)\r\n\r\nThe trace file gets bigger (many GBs), so the offset (bigger than\r\nint.MaxValue). When getting a packet for such offset, the lseek returns\r\nbigger value than int.MaxValue. This value is stored in a variable \"ret\" of\r\ntype int. This causes an overflow which leads to sending an error to the\r\nviewer (babeltrace), which stops.\r\n[error] get_data_packet: error.\r\n[error] get_data_packet failed\r\n[error] Unknown return code 0\r\n\r\nSigned-off-by: Gregory LEOCADIE <g.leocadie@criteo.com>"},"comment":{"url":"https://api.github.com/repos/lttng/lttng-tools/issues/comments/379854422","html_url":"https://github.com/lttng/lttng-tools/pull/121#issuecomment-379854422","issue_url":"https://api.github.com/repos/lttng/lttng-tools/issues/121","id":379854422,"user":{"login":"jgalar","id":1395184,"avatar_url":"https://avatars2.githubusercontent.com/u/1395184?v=4","gravatar_id":"","url":"https://api.github.com/users/jgalar","html_url":"https://github.com/jgalar","followers_url":"https://api.github.com/users/jgalar/followers","following_url":"https://api.github.com/users/jgalar/following{/other_user}","gists_url":"https://api.github.com/users/jgalar/gists{/gist_id}","starred_url":"https://api.github.com/users/jgalar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgalar/subscriptions","organizations_url":"https://api.github.com/users/jgalar/orgs","repos_url":"https://api.github.com/users/jgalar/repos","events_url":"https://api.github.com/users/jgalar/events{/privacy}","received_events_url":"https://api.github.com/users/jgalar/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T18:46:58Z","updated_at":"2018-04-09T18:46:58Z","author_association":"OWNER","body":"Merged in master, stable-2.10, and stable-2.9. Thanks!"}}
{"actor":{"display_login":"jgalar"}}