{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4578","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4578/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4578/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4578/events","html_url":"https://github.com/neovim/neovim/issues/4578","id":148466740,"number":4578,"title":"Segfault/crash in do_search after jumping across files","user":{"login":"riannucci","id":133821,"avatar_url":"https://avatars.githubusercontent.com/u/133821?v=3","gravatar_id":"","url":"https://api.github.com/users/riannucci","html_url":"https://github.com/riannucci","followers_url":"https://api.github.com/users/riannucci/followers","following_url":"https://api.github.com/users/riannucci/following{/other_user}","gists_url":"https://api.github.com/users/riannucci/gists{/gist_id}","starred_url":"https://api.github.com/users/riannucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riannucci/subscriptions","organizations_url":"https://api.github.com/users/riannucci/orgs","repos_url":"https://api.github.com/users/riannucci/repos","events_url":"https://api.github.com/users/riannucci/events{/privacy}","received_events_url":"https://api.github.com/users/riannucci/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/11","html_url":"https://github.com/neovim/neovim/milestones/0.3","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/11/labels","id":1183890,"number":11,"title":"0.3","description":"beta release, codename: \"red pill\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":13,"state":"open","created_at":"2015-06-27T22:05:13Z","updated_at":"2016-04-15T03:40:57Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-04-14T20:01:14Z","updated_at":"2016-04-15T07:51:56Z","closed_at":null,"body":"- Neovim version: NVIM v0.1.4-36-g01eafc0 (built via homebrew-neovim @ HEAD)\r\n- Operating system/version: OS X 10.11.4 (15E65)\r\n- Terminal name/version: iTerm 2 2.1.4\r\n- `$TERM`: xterm-256color\r\n\r\n### Actual behaviour\r\nAfter running a BufWritePost operation that populates the Location list (Syntastic running the standard `go` hooks in a directory with some errors), moving to the location list and selecting an error not present in the current buffer (e.g. a different file) will _sometimes_ segfault neovim with the following (extracted from core dump):\r\n```\r\n* thread #1: tid = 0x0000, 0x000000010536fbf0 nvim`do_search + 384, stop reason = signal SIGSTOP\r\n  * frame #0: 0x000000010536fbf0 nvim`do_search + 384\r\n    frame #1: 0x000000010533e9f5 nvim`qf_jump + 2142\r\n    frame #2: 0x000000010529e539 nvim`do_cmdline + 6806\r\n    frame #3: 0x0000000105315ef3 nvim`normal_execute + 4217\r\n    frame #4: 0x000000010539f541 nvim`state_enter + 173\r\n    frame #5: 0x0000000105310676 nvim`normal_enter + 163\r\n    frame #6: 0x00000001052e71f0 nvim`main + 8556\r\n    frame #7: 0x00007fff9328c5ad libdyld.dylib`start + 1\r\n    frame #8: 0x00007fff9328c5ad libdyld.dylib`start + 1\r\n```\r\n\r\nWhen it doesn't crash, it loads the file in question, but it always puts the cursor at the bottom of the file.\r\n\r\n### Expected behaviour\r\nIt jumps to the correct location in the file and doesn't crash :)\r\n\r\n### Steps to reproduce using `nvim -u NONE`\r\n\r\nI tried to make a minimal repro for this one, but I wasn't able to :(. I can get this to happen fairly reliably though, so if there's other information I can extract, please let me know.\r\n\r\nedit: typo"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/210343489","html_url":"https://github.com/neovim/neovim/issues/4578#issuecomment-210343489","issue_url":"https://api.github.com/repos/neovim/neovim/issues/4578","id":210343489,"user":{"login":"riannucci","id":133821,"avatar_url":"https://avatars.githubusercontent.com/u/133821?v=3","gravatar_id":"","url":"https://api.github.com/users/riannucci","html_url":"https://github.com/riannucci","followers_url":"https://api.github.com/users/riannucci/followers","following_url":"https://api.github.com/users/riannucci/following{/other_user}","gists_url":"https://api.github.com/users/riannucci/gists{/gist_id}","starred_url":"https://api.github.com/users/riannucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riannucci/subscriptions","organizations_url":"https://api.github.com/users/riannucci/orgs","repos_url":"https://api.github.com/users/riannucci/repos","events_url":"https://api.github.com/users/riannucci/events{/privacy}","received_events_url":"https://api.github.com/users/riannucci/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T07:51:56Z","updated_at":"2016-04-15T07:51:56Z","body":"Oh, and this stack is actually from 4eb58273cde14f360c41ad98461b423a87ba3fd1"}}