{"action":"created","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/939","labels_url":"https://api.github.com/repos/stedolan/jq/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/939/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/939/events","html_url":"https://github.com/stedolan/jq/pull/939","id":105122859,"number":939,"title":"Segmentation fault on Windows with long paths","user":{"login":"svnpenn","id":926619,"avatar_url":"https://avatars.githubusercontent.com/u/926619?v=3","gravatar_id":"","url":"https://api.github.com/users/svnpenn","html_url":"https://github.com/svnpenn","followers_url":"https://api.github.com/users/svnpenn/followers","following_url":"https://api.github.com/users/svnpenn/following{/other_user}","gists_url":"https://api.github.com/users/svnpenn/gists{/gist_id}","starred_url":"https://api.github.com/users/svnpenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svnpenn/subscriptions","organizations_url":"https://api.github.com/users/svnpenn/orgs","repos_url":"https://api.github.com/users/svnpenn/repos","events_url":"https://api.github.com/users/svnpenn/events{/privacy}","received_events_url":"https://api.github.com/users/svnpenn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/stedolan/jq/milestones/9","html_url":"https://github.com/stedolan/jq/milestones/1.5.1%20release","labels_url":"https://api.github.com/repos/stedolan/jq/milestones/9/labels","id":1301397,"number":9,"title":"1.5.1 release","description":"","creator":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2015-09-11T16:20:28Z","updated_at":"2015-09-11T16:36:53Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-09-06T23:24:45Z","updated_at":"2015-09-11T16:53:23Z","closed_at":"2015-09-11T04:33:21Z","pull_request":{"url":"https://api.github.com/repos/stedolan/jq/pulls/939","html_url":"https://github.com/stedolan/jq/pull/939","diff_url":"https://github.com/stedolan/jq/pull/939.diff","patch_url":"https://github.com/stedolan/jq/pull/939.patch"},"body":"Consider this script:\r\n\r\n~~~sh\r\n#!/bin/sh\r\nset 6789012345678901234567{,8,89}.json\r\necho '{\"delta\": 2}' | tee $*\r\njq . $1\r\njq . $2\r\njq . $3\r\n~~~\r\n\r\nWith JQ master, here is the result:\r\n\r\n~~~\r\n{\r\n  \"delta\": 2\r\n}\r\n\r\nSegmentation fault\r\n~~~\r\n\r\nSo path of 27 characters or less is good, 28 gives no output, and 29 or more is\r\nsegfault. Git bisect reveals 7811ef1e1746f0963deb960af2c9623fb53c24a5 to be the\r\nculprit:\r\n\r\n~~~\r\n7811ef1e1746f0963deb960af2c9623fb53c24a5 is the first bad commit\r\ncommit 7811ef1e1746f0963deb960af2c9623fb53c24a5\r\nAuthor: Nicolas Williams <nico@cryptonector.com>\r\nDate:   Fri Jun 19 17:10:45 2015 -0500\r\nFix #811: use CommandLineToArgvW() and _wfopen()\r\n~~~"},"comment":{"url":"https://api.github.com/repos/stedolan/jq/issues/comments/139597855","html_url":"https://github.com/stedolan/jq/pull/939#issuecomment-139597855","issue_url":"https://api.github.com/repos/stedolan/jq/issues/939","id":139597855,"user":{"login":"pkoppstein","id":172847,"avatar_url":"https://avatars.githubusercontent.com/u/172847?v=3","gravatar_id":"","url":"https://api.github.com/users/pkoppstein","html_url":"https://github.com/pkoppstein","followers_url":"https://api.github.com/users/pkoppstein/followers","following_url":"https://api.github.com/users/pkoppstein/following{/other_user}","gists_url":"https://api.github.com/users/pkoppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoppstein/subscriptions","organizations_url":"https://api.github.com/users/pkoppstein/orgs","repos_url":"https://api.github.com/users/pkoppstein/repos","events_url":"https://api.github.com/users/pkoppstein/events{/privacy}","received_events_url":"https://api.github.com/users/pkoppstein/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T16:53:23Z","updated_at":"2015-09-11T16:53:23Z","body":"I just noticed there is no 1.5 tag, which is consequential e.g. when using SourceTree:\r\n```\r\n$ git tag\r\njq-1.0\r\njq-1.1\r\njq-1.2\r\njq-1.3\r\njq-1.4\r\njq-1.5rc1\r\njq-1.5rc2\r\n$ \r\n```\r\n\r\n"}}