{"action":"closed","issue":{"url":"https://api.github.com/repos/kevinlawler/kona/issues/404","repository_url":"https://api.github.com/repos/kevinlawler/kona","labels_url":"https://api.github.com/repos/kevinlawler/kona/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/kevinlawler/kona/issues/404/comments","events_url":"https://api.github.com/repos/kevinlawler/kona/issues/404/events","html_url":"https://github.com/kevinlawler/kona/issues/404","id":127952561,"number":404,"title":"Nray.k no longer works","user":{"login":"tavmem","id":1459367,"avatar_url":"https://avatars.githubusercontent.com/u/1459367?v=3","gravatar_id":"","url":"https://api.github.com/users/tavmem","html_url":"https://github.com/tavmem","followers_url":"https://api.github.com/users/tavmem/followers","following_url":"https://api.github.com/users/tavmem/following{/other_user}","gists_url":"https://api.github.com/users/tavmem/gists{/gist_id}","starred_url":"https://api.github.com/users/tavmem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavmem/subscriptions","organizations_url":"https://api.github.com/users/tavmem/orgs","repos_url":"https://api.github.com/users/tavmem/repos","events_url":"https://api.github.com/users/tavmem/events{/privacy}","received_events_url":"https://api.github.com/users/tavmem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kevinlawler/kona/labels/bug","name":"bug","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-21T15:40:55Z","updated_at":"2016-03-23T03:44:28Z","closed_at":"2016-03-23T03:44:28Z","body":"the Nray.k script documented at https://github.com/tavmem/nsl now segfaults:\r\n```\r\n  \\cat Nray.k\r\nU:{x%_sqrt x _dot x}                                                                             /unit vector\r\nS:{[r;s]:[0>d:_sqr[s 1]+_sqr[b:v _dot r 1]-v _dot v:s[0]-*r;0i;0>t:b+e:_sqrt d;0i;0<u:b-e;u;t]}  /ray_sphere\r\nI:{[r;h;o]:[~4:*o;:[~S[r;*o]<*h;h;h _f[r]/o 1];~h[0]>l:S[r]o;h;(l;U r[0]-o[0]-l*r 1)]}           /intersect\r\nT:{[r;o;d;z;l]:[0i=*h:I[r;z]o;0.;~0>g:h[1]_dot l;0.;0i=*I[(r[0]+(r[1]**h)+d*h 1;-l);z]o;-g;0.]}  /ray_trace\r\nV:{(1_|{ _ y % x}[x]\\y)!x}                                                                       /vs_prime\r\nN:{[n;o;i]0{x+T[(0 0 -4.;U(i+(y%4.)-n%2.),n);o;_sqrt 2^-42;0i,,3#0.]U -1 -3 2.}/!4 4}            /inner loop\r\nC:{[k;c;r]:[k=1;(c;r);((c;r*3);(,(c;r)),C[k-1;;r%2.]'+c+-3 3[V[2;2 3 6 7]]*r%_sqrt 12)]}         /create scene\r\nR:{[k;n]\"P5\\n\",(5:n,n),\"\\n255\\n\",_ci _.5+15.9375*N[n*1.;C[k;0 -1 0.]1.]'+|@[+!n,n;0;|:]}         /outer loop\r\n\r\n/R[3]32   /test command for execution\r\n  \r\n  \\l Nray\r\n  \r\n  R[3]32\r\nrlwrap: warning: k killed by SIGSEGV.\r\nrlwrap has not crashed, but for transparency,\r\nit will now kill itself (without dumping core)with the same signal\r\n\r\nSegmentation fault\r\n```"}}