{"action":"created","issue":{"url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/597","labels_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/597/comments","events_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/597/events","html_url":"https://github.com/GRIFFINCollaboration/GRSISort/issues/597","id":115938195,"number":597,"title":"Crashes when sorting fragment tree from different directory without -q option.","user":{"login":"gdemand","id":10143283,"avatar_url":"https://avatars.githubusercontent.com/u/10143283?v=3","gravatar_id":"","url":"https://api.github.com/users/gdemand","html_url":"https://github.com/gdemand","followers_url":"https://api.github.com/users/gdemand/followers","following_url":"https://api.github.com/users/gdemand/following{/other_user}","gists_url":"https://api.github.com/users/gdemand/gists{/gist_id}","starred_url":"https://api.github.com/users/gdemand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdemand/subscriptions","organizations_url":"https://api.github.com/users/gdemand/orgs","repos_url":"https://api.github.com/users/gdemand/repos","events_url":"https://api.github.com/users/gdemand/events{/privacy}","received_events_url":"https://api.github.com/users/gdemand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-09T18:39:48Z","updated_at":"2015-11-09T20:21:42Z","closed_at":null,"body":"When creating an analysis tree from a fragment tree in a different directory and keeping grsisort open after sorting, grsisort crashes (segmentation violation) on line 96 of TGRSIint.cxx (printf(\"\\tfile %s opened as _file%i\\n\",file->GetName(),x); ) (file is NULL).\r\n\r\nExample command:\r\ngrsisort -al test/fragment02131_000.root\r\n\r\nI suspect that the directory needs to be removed from the call in line 95:\r\n      TFile *file = (TFile*)gROOT->FindObject(TGRSIOptions::GetInputRoot().at(x).c_str());\r\n"},"comment":{"url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/comments/155181633","html_url":"https://github.com/GRIFFINCollaboration/GRSISort/issues/597#issuecomment-155181633","issue_url":"https://api.github.com/repos/GRIFFINCollaboration/GRSISort/issues/597","id":155181633,"user":{"login":"VinzenzBildstein","id":7277216,"avatar_url":"https://avatars.githubusercontent.com/u/7277216?v=3","gravatar_id":"","url":"https://api.github.com/users/VinzenzBildstein","html_url":"https://github.com/VinzenzBildstein","followers_url":"https://api.github.com/users/VinzenzBildstein/followers","following_url":"https://api.github.com/users/VinzenzBildstein/following{/other_user}","gists_url":"https://api.github.com/users/VinzenzBildstein/gists{/gist_id}","starred_url":"https://api.github.com/users/VinzenzBildstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VinzenzBildstein/subscriptions","organizations_url":"https://api.github.com/users/VinzenzBildstein/orgs","repos_url":"https://api.github.com/users/VinzenzBildstein/repos","events_url":"https://api.github.com/users/VinzenzBildstein/events{/privacy}","received_events_url":"https://api.github.com/users/VinzenzBildstein/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:21:42Z","updated_at":"2015-11-09T20:21:42Z","body":"Please check that this works for you as well, @gdemand, I've only tested this on nessa, not on Mac OS."}}