{"action":"created","issue":{"url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/1","repository_url":"https://api.github.com/repos/MarianoJT88/PD-Flow","labels_url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/1/comments","events_url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/1/events","html_url":"https://github.com/MarianoJT88/PD-Flow/issues/1","id":136650398,"number":1,"title":"Segmentation fault","user":{"login":"shakith","id":2685014,"avatar_url":"https://avatars.githubusercontent.com/u/2685014?v=3","gravatar_id":"","url":"https://api.github.com/users/shakith","html_url":"https://github.com/shakith","followers_url":"https://api.github.com/users/shakith/followers","following_url":"https://api.github.com/users/shakith/following{/other_user}","gists_url":"https://api.github.com/users/shakith/gists{/gist_id}","starred_url":"https://api.github.com/users/shakith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakith/subscriptions","organizations_url":"https://api.github.com/users/shakith/orgs","repos_url":"https://api.github.com/users/shakith/repos","events_url":"https://api.github.com/users/shakith/events{/privacy}","received_events_url":"https://api.github.com/users/shakith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-26T09:58:51Z","updated_at":"2016-02-26T16:07:18Z","closed_at":null,"body":"Hi Mariano,\r\n\r\nI am trying to use your real-time PD flow with Kinect and OpenNI to see the algorithm. Left side of the screen shot attached shows the error when trying to run Scene-Flow-Visualization. Right side of the screen shot attached shows the output when running the NIViwer. The NIViwer runs successfully with the Kinect. It seems Scene-Flow-Visualization causes a segmentation error at write_register: 0x0005 <= 0x01.\r\n![screenshot](https://cloud.githubusercontent.com/assets/2685014/13348956/ffc7ef18-dc76-11e5-8b66-6d5a51de6c2a.png)\r\n\r\nWhich version of the driver and openni are you using?\r\nI am using the version from here https://github.com/OpenKinect/libfreenect and here https://github.com/occipital/openni2.\r\n\r\nAny suggestions on where to debug this from?\r\n\r\nBest regards,\r\nShakith"},"comment":{"url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/comments/189344736","html_url":"https://github.com/MarianoJT88/PD-Flow/issues/1#issuecomment-189344736","issue_url":"https://api.github.com/repos/MarianoJT88/PD-Flow/issues/1","id":189344736,"user":{"login":"MarianoJT88","id":5909466,"avatar_url":"https://avatars.githubusercontent.com/u/5909466?v=3","gravatar_id":"","url":"https://api.github.com/users/MarianoJT88","html_url":"https://github.com/MarianoJT88","followers_url":"https://api.github.com/users/MarianoJT88/followers","following_url":"https://api.github.com/users/MarianoJT88/following{/other_user}","gists_url":"https://api.github.com/users/MarianoJT88/gists{/gist_id}","starred_url":"https://api.github.com/users/MarianoJT88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarianoJT88/subscriptions","organizations_url":"https://api.github.com/users/MarianoJT88/orgs","repos_url":"https://api.github.com/users/MarianoJT88/repos","events_url":"https://api.github.com/users/MarianoJT88/events{/privacy}","received_events_url":"https://api.github.com/users/MarianoJT88/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:07:18Z","updated_at":"2016-02-26T16:07:18Z","body":"Good, I am happy to hear that!\n\nDate: Fri, 26 Feb 2016 07:52:55 -0800\nFrom: notifications@github.com\nTo: PD-Flow@noreply.github.com\nCC: mjaimezt_mjt@hotmail.com\nSubject: Re: [PD-Flow] Segmentation fault (#1)\n\nFound the issue, I copied the commented value //2.f/sqrtf(dxudxu + dzudzu); directly to replace rhypotf. It should have been 2.f/sqrtf(dxu_2dxu_2 + dzu_2dzu_2).  Both line 767 and 772 in  https://github.com/MarianoJT88/PD-Flow/blob/master/pdflow_cudalib.cu\n\nThanks for the help. It is able to track the motion field now.\n\n\n—\nReply to this email directly or view it on GitHub.\n\n\n  \n  \n\n\n \t\t \t   \t\t  "}}