{"action":"closed","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/3089","labels_url":"https://api.github.com/repos/neovim/neovim/issues/3089/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3089/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/3089/events","html_url":"https://github.com/neovim/neovim/issues/3089","id":96847619,"number":3089,"title":"Segfault with fzf and ardagnir/united-front","user":{"login":"rtwo","id":20068,"avatar_url":"https://avatars.githubusercontent.com/u/20068?v=3","gravatar_id":"","url":"https://api.github.com/users/rtwo","html_url":"https://github.com/rtwo","followers_url":"https://api.github.com/users/rtwo/followers","following_url":"https://api.github.com/users/rtwo/following{/other_user}","gists_url":"https://api.github.com/users/rtwo/gists{/gist_id}","starred_url":"https://api.github.com/users/rtwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtwo/subscriptions","organizations_url":"https://api.github.com/users/rtwo/orgs","repos_url":"https://api.github.com/users/rtwo/repos","events_url":"https://api.github.com/users/rtwo/events{/privacy}","received_events_url":"https://api.github.com/users/rtwo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T16:03:59Z","updated_at":"2015-07-23T17:24:33Z","closed_at":"2015-07-23T17:24:33Z","body":"This is probably not very important since united-front isn't working with neovim anyway, but its a segfault... \r\n\r\nCommit: 0e65caa40ed9dbd1e06d023cd7eadce16f444f30  \r\n\r\nCompilation: /usr/bin/cc -Wconversion -Og -g -Wall -Wextra -pedantic -Wno-unused-par\r\nameter -Wstrict-prototypes -std=gnu99 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG\r\n_H -I/home/martin/src/neovim/config -I/home/martin/src/neovim/src -I/usr/include -I/\r\nusr/include -I/usr/include/luajit-2.0 -I/home/martin/src/neovim/.deps/usr/include -I\r\n/home/martin/src/neovim/.deps/usr/include -I/usr/include -I/usr/include -I/usr/inclu\r\nde -I/home/martin/src/neovim/src/nvim/auto -I/home/martin/src/neovim/include        \r\n                                                                                    \r\nOptional features included (+) or not (-): +acl   +iconv    +jemalloc\r\n\r\n\r\n```\r\nPlug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \\| ./install' }\r\nPlug 'ardagnir/united-front'\r\nnnoremap <Leader>ff :call fzf#run({\r\n            \\'source': 'git ls-files \\| grep -v node_modules',\r\n            \\'sink' : 'e',\r\n            \\'options' : '-m',\r\n            \\'down' : '20',\r\n            \\'window' : 'vertical',\r\n            \\})<Cr>\r\n```\r\n\r\n1. Open nvim\r\n2. <leader>ff\r\n4. change window\r\n5. change window back to the terminal\r\n6. :q\r\n\r\nAfter that it crashes very often but not always.\r\n\r\nI'v got a number of different segfaults from this:\r\n\r\n```\r\n [Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\nCore was generated by `nvim'.\r\nProgram terminated with signal SIGSEGV, Segmentation fault.\r\n#0  0x000000000048f4ad in free_unref_items (copyID=copyID@entry=6)\r\n    at /home/martin/src/neovim/src/nvim/eval.c:5573\r\n5573\t    if ((dd->dv_copyID & COPYID_MASK) != (copyID & COPYID_MASK)\r\n(gdb) bt\r\n#0  0x000000000048f4ad in free_unref_items (copyID=copyID@entry=6)\r\n    at /home/martin/src/neovim/src/nvim/eval.c:5573\r\n#1  0x000000000048f6b2 in garbage_collect () at /home/martin/src/neovim/src/nvim/eval.c:5537\r\n#2  0x00000000005417e7 in before_blocking () at /home/martin/src/neovim/src/nvim/getchar.c:1334\r\n#3  0x000000000056e5b2 in os_inchar (buf=buf@entry=0x7f34d871e94f \"\", maxlen=maxlen@entry=64, \r\n    ms=ms@entry=-1, tb_change_cnt=tb_change_cnt@entry=164)\r\n    at /home/martin/src/neovim/src/nvim/os/input.c:97\r\n#4  0x0000000000541a8b in inchar (buf=0x7f34d871e94f \"\", maxlen=194, wait_time=-1, \r\n    tb_change_cnt=164) at /home/martin/src/neovim/src/nvim/getchar.c:2460\r\n#5  0x00000000005437e9 in vgetorpeek (advance=advance@entry=1)\r\n    at /home/martin/src/neovim/src/nvim/getchar.c:2280\r\n#6  0x00000000005439f4 in vgetc () at /home/martin/src/neovim/src/nvim/getchar.c:1395\r\n#7  0x0000000000543dd8 in safe_vgetc () at /home/martin/src/neovim/src/nvim/getchar.c:1515\r\n#8  0x0000000000550145 in normal_cmd (oap=oap@entry=0x7ffd782c7fa0, toplevel=toplevel@entry=true)\r\n    at /home/martin/src/neovim/src/nvim/normal.c:491\r\n#9  0x0000000000533428 in main_loop (cmdwin=cmdwin@entry=0, noexmode=noexmode@entry=0)\r\n    at /home/martin/src/neovim/src/nvim/main.c:747\r\n#10 0x000000000053435e in main (argc=<optimized out>, argv=<optimized out>)\r\n    at /home/martin/src/neovim/src/nvim/main.c:534\r\n```\r\n\r\nhttp://pastebin.com/nQJV7U8E \r\n\r\nI can provide more bts if needed."}}