{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5281","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5281/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5281/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5281/events","html_url":"https://github.com/neovim/neovim/issues/5281","id":174555043,"number":5281,"title":"Stack overflow when editing a text file","user":{"login":"youngec","id":20278686,"avatar_url":"https://avatars.githubusercontent.com/u/20278686?v=3","gravatar_id":"","url":"https://api.github.com/users/youngec","html_url":"https://github.com/youngec","followers_url":"https://api.github.com/users/youngec/followers","following_url":"https://api.github.com/users/youngec/following{/other_user}","gists_url":"https://api.github.com/users/youngec/gists{/gist_id}","starred_url":"https://api.github.com/users/youngec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngec/subscriptions","organizations_url":"https://api.github.com/users/youngec/orgs","repos_url":"https://api.github.com/users/youngec/repos","events_url":"https://api.github.com/users/youngec/events{/privacy}","received_events_url":"https://api.github.com/users/youngec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-01T15:31:45Z","updated_at":"2016-09-02T11:23:51Z","closed_at":null,"body":"- `nvim --version`: 0.1.5 Homebrew\r\n- Vim (version: 7.3 Apple) behaves differently? Does not crash, but opens up the search menu by itself when iTerm loses and regains focus. Vim also rings the bell.\r\n- Operating system/version: OSX 10.11.6\r\n- Terminal name/version: iTerm2 3.0.8\r\n- `$TERM`: xterm-256-color\r\n\r\n### Actual behaviour\r\nNeovim crashes when the visible portion of a restructuredText file (439 KiB) reaches a certain point. I cannot discern the culprit exactly. The hex editor does not show any data other than plain en_US.UTF-8. The issue is there with `nvim -u NORC`.\r\n\r\nOSX mentions that Neovim crashed with a stack overflow: [nvim_2016-09-01-165612.txt](https://github.com/neovim/neovim/files/450036/nvim_2016-09-01-165612.txt)\r\n\r\n### Expected behaviour\r\nNeovim should not crash or behave weirdly.\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\nUnfortunately, due to licensing issues with the given text, I cannot really upload it for reproduction of the issue. Sorry."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/244350140","html_url":"https://github.com/neovim/neovim/issues/5281#issuecomment-244350140","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5281","id":244350140,"user":{"login":"youngec","id":20278686,"avatar_url":"https://avatars.githubusercontent.com/u/20278686?v=3","gravatar_id":"","url":"https://api.github.com/users/youngec","html_url":"https://github.com/youngec","followers_url":"https://api.github.com/users/youngec/followers","following_url":"https://api.github.com/users/youngec/following{/other_user}","gists_url":"https://api.github.com/users/youngec/gists{/gist_id}","starred_url":"https://api.github.com/users/youngec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngec/subscriptions","organizations_url":"https://api.github.com/users/youngec/orgs","repos_url":"https://api.github.com/users/youngec/repos","events_url":"https://api.github.com/users/youngec/events{/privacy}","received_events_url":"https://api.github.com/users/youngec/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T11:23:51Z","updated_at":"2016-09-02T11:23:51Z","body":"So far, it seems to have to do with vim-spell. The file in question begins with the following modelines:\r\n\r\n```\r\n.. vim:spell\r\n.. vim:spelllang=en_us\r\n```\r\n\r\nIf I disable vim-spell or change the language to something else (ex. `spelllang=de_ch`), both Vim and Neovim behave normally. However, the faulty behaviour reappears if I use any other English language dictionary (ex. `spelllang=en_gb`). I suspect that it's something to do with my `en.utf-8.add` file. Its newest entry contains an entire sentence on one line (probably accidentally added) instead of just a word. The issue goes away if I remove that entry from the dictionary and rebuild the `spl`file. It also works with other full sentences.\r\n\r\nAttached files in [reproduction.zip](https://github.com/neovim/neovim/files/451863/reproduction.zip):\r\n\r\n- en.utf-8.add\r\n- en.utf-8.add.spl\r\n- repro.rst\r\n\r\n\r\n## Steps to reproduce using `nvim -u NORC`\r\n`cp en.utf-8.add* ~/.config/nvim/spell/`\r\n`nvim -u NORC repro.rst`"}}
{"actor":{"display_login":"youngec"}}