{"action":"created","issue":{"url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/1322","repository_url":"https://api.github.com/repos/MRtrix3/mrtrix3","labels_url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/1322/labels{/name}","comments_url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/1322/comments","events_url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/1322/events","html_url":"https://github.com/MRtrix3/mrtrix3/issues/1322","id":319833169,"number":1322,"title":"tckstats crashes if track file is empty","user":{"login":"LeeReidCSIRO","id":26998292,"avatar_url":"https://avatars1.githubusercontent.com/u/26998292?v=4","gravatar_id":"","url":"https://api.github.com/users/LeeReidCSIRO","html_url":"https://github.com/LeeReidCSIRO","followers_url":"https://api.github.com/users/LeeReidCSIRO/followers","following_url":"https://api.github.com/users/LeeReidCSIRO/following{/other_user}","gists_url":"https://api.github.com/users/LeeReidCSIRO/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeReidCSIRO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeReidCSIRO/subscriptions","organizations_url":"https://api.github.com/users/LeeReidCSIRO/orgs","repos_url":"https://api.github.com/users/LeeReidCSIRO/repos","events_url":"https://api.github.com/users/LeeReidCSIRO/events{/privacy}","received_events_url":"https://api.github.com/users/LeeReidCSIRO/received_events","type":"User","site_admin":false},"labels":[{"id":96478020,"url":"https://api.github.com/repos/MRtrix3/mrtrix3/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"Lestropie","id":5637955,"avatar_url":"https://avatars2.githubusercontent.com/u/5637955?v=4","gravatar_id":"","url":"https://api.github.com/users/Lestropie","html_url":"https://github.com/Lestropie","followers_url":"https://api.github.com/users/Lestropie/followers","following_url":"https://api.github.com/users/Lestropie/following{/other_user}","gists_url":"https://api.github.com/users/Lestropie/gists{/gist_id}","starred_url":"https://api.github.com/users/Lestropie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lestropie/subscriptions","organizations_url":"https://api.github.com/users/Lestropie/orgs","repos_url":"https://api.github.com/users/Lestropie/repos","events_url":"https://api.github.com/users/Lestropie/events{/privacy}","received_events_url":"https://api.github.com/users/Lestropie/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lestropie","id":5637955,"avatar_url":"https://avatars2.githubusercontent.com/u/5637955?v=4","gravatar_id":"","url":"https://api.github.com/users/Lestropie","html_url":"https://github.com/Lestropie","followers_url":"https://api.github.com/users/Lestropie/followers","following_url":"https://api.github.com/users/Lestropie/following{/other_user}","gists_url":"https://api.github.com/users/Lestropie/gists{/gist_id}","starred_url":"https://api.github.com/users/Lestropie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lestropie/subscriptions","organizations_url":"https://api.github.com/users/Lestropie/orgs","repos_url":"https://api.github.com/users/Lestropie/repos","events_url":"https://api.github.com/users/Lestropie/events{/privacy}","received_events_url":"https://api.github.com/users/Lestropie/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-03T08:43:57Z","updated_at":"2018-05-05T13:19:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\ntckstats will crash if a file provided has no tracks. \r\n\r\nto reproduce:\r\n```\r\ntckgen fod.mif.gz empty.tck -select 0 -seeds 1 -seed_image roi1.nii.gz -include roi2_it_wont_reach.nii.gz\r\n\r\ntckstats empty.tck\r\n\r\n```\r\noutput:\r\n_tckstats: [SYSTEM FATAL CODE: SIGSEGV (11)] Segmentation fault: Invalid memory access_\r\n\r\n\r\nApologies if this is fixed in the up to date version: I'm locked into a few-months-old version at the moment but did search for the issue here and didn't find it.\r\n\r\ntckinfo seems to work fine.\r\n\r\nCheers,\r\nLee\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/comments/386805194","html_url":"https://github.com/MRtrix3/mrtrix3/issues/1322#issuecomment-386805194","issue_url":"https://api.github.com/repos/MRtrix3/mrtrix3/issues/1322","id":386805194,"user":{"login":"Lestropie","id":5637955,"avatar_url":"https://avatars2.githubusercontent.com/u/5637955?v=4","gravatar_id":"","url":"https://api.github.com/users/Lestropie","html_url":"https://github.com/Lestropie","followers_url":"https://api.github.com/users/Lestropie/followers","following_url":"https://api.github.com/users/Lestropie/following{/other_user}","gists_url":"https://api.github.com/users/Lestropie/gists{/gist_id}","starred_url":"https://api.github.com/users/Lestropie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lestropie/subscriptions","organizations_url":"https://api.github.com/users/Lestropie/orgs","repos_url":"https://api.github.com/users/Lestropie/repos","events_url":"https://api.github.com/users/Lestropie/events{/privacy}","received_events_url":"https://api.github.com/users/Lestropie/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T13:19:12Z","updated_at":"2018-05-05T13:19:12Z","author_association":"OWNER","body":"@LeeReidCSIRO: Another good pickup, thanks for the report :+1:\r\n\r\nThe problem's there even in the development branch, so it's not just an out-of-date installation. It's just not the sort of command I'd spend a lot of time on trying to think of all possible use cases to cover off. #1326 fixes the issue for me, and should hopefully get onto `dev` and then `master` in fairly quick succession."}}
{"actor":{"display_login":"Lestropie"}}