{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5268","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5268/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5268/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5268/events","html_url":"https://github.com/neovim/neovim/issues/5268","id":173800175,"number":5268,"title":"Segfault using phpcd.vim","user":{"login":"khalidchawtany","id":1681606,"avatar_url":"https://avatars.githubusercontent.com/u/1681606?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidchawtany","html_url":"https://github.com/khalidchawtany","followers_url":"https://api.github.com/users/khalidchawtany/followers","following_url":"https://api.github.com/users/khalidchawtany/following{/other_user}","gists_url":"https://api.github.com/users/khalidchawtany/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidchawtany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidchawtany/subscriptions","organizations_url":"https://api.github.com/users/khalidchawtany/orgs","repos_url":"https://api.github.com/users/khalidchawtany/repos","events_url":"https://api.github.com/users/khalidchawtany/events{/privacy}","received_events_url":"https://api.github.com/users/khalidchawtany/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"f9d0c4"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/10","html_url":"https://github.com/neovim/neovim/milestones/0.2","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/10/labels","id":1183808,"number":10,"title":"0.2","description":"codename: \"keanu\"","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":137,"closed_issues":146,"state":"open","created_at":"2015-06-27T19:05:24Z","updated_at":"2016-08-29T17:39:33Z","due_on":"2016-09-30T04:00:00Z","closed_at":null},"comments":9,"created_at":"2016-08-29T15:22:07Z","updated_at":"2016-08-30T19:32:47Z","closed_at":null,"body":"- `nvim --version`: NVIM v0.1.6-22-g97c6d80\r\n- Operating system/version: OS X 10.11.6\r\n- Terminal name/version: iTerm2 nightly\r\n- `$TERM`: xterm-256color\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\nI cannot since I updated all of my plugins and changed my vimrc significantly to avoid it :smile: since I had a to do my work :(\r\n\r\nI used FZF finder to open a *.php file and then I would get the following error message:\r\n![screen shot 2016-08-27 at 4 18 48 pm](https://cloud.githubusercontent.com/assets/1681606/18056257/d23de80c-6e13-11e6-928e-42f7ee0c1a5a.png)\r\n\r\n\r\nAfter this error message I would get a segfault if I did another FZF action (eg: `:Files`) or doing a `:call dein#update()`. Then the two *php* instances used by **phpcd.vim** would go crazy (%100 CPU usage).\r\n\r\nThese are all backtraces of the segfault:\r\n[bt1.txt](https://github.com/neovim/neovim/files/442697/bt1.txt)\r\n[bt2.txt](https://github.com/neovim/neovim/files/442698/bt2.txt)\r\n[bt3.txt](https://github.com/neovim/neovim/files/442699/bt3.txt)\r\n[bt4.txt](https://github.com/neovim/neovim/files/442700/bt4.txt)\r\n[bt5.txt](https://github.com/neovim/neovim/files/442701/bt5.txt)\r\n[bt6.txt](https://github.com/neovim/neovim/files/442702/bt6.txt)\r\n[bt7.txt](https://github.com/neovim/neovim/files/442703/bt7.txt)\r\n[bt8.txt](https://github.com/neovim/neovim/files/442704/bt8.txt)\r\n\r\n\r\nI know this does not qualify as an issue as I am no more able to reproduce. However, I just wanted to give you a head up just  in case ...    So , feel free to close it.\r\n\r\n\r\n[This issue](https://github.com/phpvim/phpcd.vim/issues/50#event-770210272) in the **phpcd.vim** looks very similar to the errors I would get.\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/243553063","html_url":"https://github.com/neovim/neovim/issues/5268#issuecomment-243553063","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5268","id":243553063,"user":{"login":"khalidchawtany","id":1681606,"avatar_url":"https://avatars.githubusercontent.com/u/1681606?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidchawtany","html_url":"https://github.com/khalidchawtany","followers_url":"https://api.github.com/users/khalidchawtany/followers","following_url":"https://api.github.com/users/khalidchawtany/following{/other_user}","gists_url":"https://api.github.com/users/khalidchawtany/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidchawtany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidchawtany/subscriptions","organizations_url":"https://api.github.com/users/khalidchawtany/orgs","repos_url":"https://api.github.com/users/khalidchawtany/repos","events_url":"https://api.github.com/users/khalidchawtany/events{/privacy}","received_events_url":"https://api.github.com/users/khalidchawtany/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T19:32:47Z","updated_at":"2016-08-30T19:32:47Z","body":"@justinmk  is the following correct? I could not get gdb to work with Mac OS X core dumps. I had to use lldb.\r\n```\r\n* thread #1: tid = 0x0000, 0x000000010b9b183e nvim`arena_dalloc_bin_locked_impl(tsdn=<unavailable>, arena=<unavailable>, chunk=<unavailable>, ptr=<unavailable>, bitselm=<unavailable>, junked=<unavailable>) + 382 at arena.c:2904, stop reason = signal SIGSTOP\r\n  * frame #0: 0x000000010b9b183e nvim`arena_dalloc_bin_locked_impl(tsdn=<unavailable>, arena=<unavailable>, chunk=<unavailable>, ptr=<unavailable>, bitselm=<unavailable>, junked=<unavailable>) + 382 at arena.c:2904\r\n    frame #1: 0x000000010b9cc4b5 nvim`je_tcache_bin_flush_small(tsd=0x000000000bc0d008, tcache=<unavailable>, tbin=0x000000000bc0e1e8, binind=14, rem=2) + 421 at tcache.c:134\r\n    frame #2: 0x000000010b9cc299 nvim`je_tcache_event_hard(tsd=<unavailable>, tcache=0x000000000bc0e000) + 89 at tcache.c:45\r\n    frame #3: 0x000000010b9a4d6a nvim`je_free(ptr=<unavailable>) + 106 at jemalloc.c:1933\r\n    frame #4: 0x000000010b81b455 nvim`xfree(ptr=0x000000000bea95b0) + 21 at memory.c:105\r\n    frame #5: 0x000000010b874c5f nvim`clear_string_option(pp=0x000000000be120f8) + 47 at option.c:2189\r\n    frame #6: 0x000000010b877f4a nvim`clear_winopt(wop=0x000000000be12030) + 138 at option.c:5506\r\n    frame #7: 0x000000010b6f02bc nvim`buflist_setfpos(buf=0x000000000bc49800, win=0x000000000bc2e000, lnum=0, col=12, copy_options=true) + 300 at buffer.c:2043\r\n    frame #8: 0x000000010b6ef820 nvim`close_buffer(win=0x000000000bc2e000, buf=0x000000000bc49800, action=0, abort_if_last=0) + 416 at buffer.c:338\r\n    frame #9: 0x000000010b7749d9 nvim`do_ecmd(fnum=0, ffname=\"/Volumes/Home/Development/Projects/PHP/younesagha/younesagha/resources/assets/sass/app.scss\", sfname=\"resources/assets/sass/app.scss\", eap=0x00007fff545304f8, newlnum=0, flags=1, oldwin=0x000000000bc2e000) + 2057 at ex_cmds.c:2256\r\n    frame #10: 0x000000010b794658 nvim`do_exedit(eap=0x00007fff545304f8, old_curwin=0x0000000000000000) + 1080 at ex_docmd.c:6743\r\n    frame #11: 0x000000010b799429 nvim`ex_edit(eap=0x00007fff545304f8) + 25 at ex_docmd.c:6666\r\n    frame #12: 0x000000010b78caef nvim`do_one_cmd(cmdlinep=0x00007fff54530800, sourcing=1, cstack=0x00007fff54530808, fgetline=(nvim`get_func_line at eval.c:21465), cookie=0x000000000bd03200) + 12543 at ex_docmd.c:2195\r\n    frame #13: 0x000000010b7886fe nvim`do_cmdline(cmdline=\"edit resources/assets/sass/app.scss\", fgetline=(nvim`get_func_line at eval.c:21465), cookie=0x000000000bd03200, flags=3) + 2734 at ex_docmd.c:602\r\n    frame #14: 0x000000010b730726 nvim`ex_execute(eap=0x00007fff54530fe8) + 646 at eval.c:19531\r\n    frame #15: 0x000000010b78caef nvim`do_one_cmd(cmdlinep=0x00007fff545312f0, sourcing=1, cstack=0x00007fff545312f8, fgetline=(nvim`get_func_line at eval.c:21465), cookie=0x000000000bd03200) + 12543 at ex_docmd.c:2195\r\n    frame #16: 0x000000010b7886fe nvim`do_cmdline(cmdline=0x0000000000000000, fgetline=(nvim`get_func_line at eval.c:21465), cookie=0x000000000bd03200, flags=7) + 2734 at ex_docmd.c:602\r\n    frame #17: 0x000000010b72cef3 nvim`call_user_func(fp=0x000000000c2adcc0, argcount=2, argvars=0x00007fff54531d70, rettv=0x00007fff54531d60, firstline=12, lastline=12, selfdict=0x000000000bec0580) + 3235 at eval.c:21128\r\n    frame #18: 0x000000010b755580 nvim`on_job_event(ev=0x00007fff54531e10) + 320 at eval.c:22437\r\n    frame #19: 0x000000010b7553d4 nvim`process_job_event(data=0x000000000bc9e600, callback=0x000000000c2adcc0, type=\"exit\", buf=0x0000000000000000, count=0, status=0) + 324 at eval.c:22294\r\n    frame #20: 0x000000010b7551c1 nvim`on_process_exit(proc=0x000000000bc9e600, status=0, d=0x000000000bc9e600) + 273 at eval.c:22353\r\n    frame #21: 0x000000010b76ba4d nvim`process_close_event(argv=0x00007fff54531f38) + 109 at process.c:286\r\n    frame #22: 0x000000010b76c4d2 nvim`queue_process_events(queue=0x000000000bc17240) + 162 at queue.c:142\r\n    frame #23: 0x000000010b94a00e nvim`terminal_execute(state=0x00007fff54532068, key=-25341) + 558 at terminal.c:448\r\n    frame #24: 0x000000010b92d12b nvim`state_enter(s=0x00007fff54532068) + 331 at state.c:56\r\n    frame #25: 0x000000010b94995e nvim`terminal_enter + 382 at terminal.c:393\r\n    frame #26: 0x000000010b70a4c4 nvim`edit(cmdchar=105, startln=false, count=1) + 116 at edit.c:1295\r\n    frame #27: 0x000000010b8562fc nvim`normal_finish_command(s=0x00007fff545321e8) + 764 at normal.c:957\r\n    frame #28: 0x000000010b8499b6 nvim`normal_execute(state=0x00007fff545321e8, key=58) + 2070 at normal.c:1147\r\n    frame #29: 0x000000010b92d12b nvim`state_enter(s=0x00007fff545321e8) + 331 at state.c:56\r\n    frame #30: 0x000000010b8419aa nvim`normal_enter(cmdwin=false, noexmode=false) + 154 at normal.c:464\r\n    frame #31: 0x000000010b7f8ebd nvim`main(argc=1, argv=0x00007fff545324a8) + 2669 at main.c:544\r\n    frame #32: 0x00007fff8ebb25ad libdyld.dylib`start + 1\r\n    frame #33: 0x00007fff8ebb25ad libdyld.dylib`start + 1\r\n\r\n  thread #2: tid = 0x0001, 0x00007fff92ffceca libsystem_kernel.dylib`kevent + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff92ffceca libsystem_kernel.dylib`kevent + 10\r\n    frame #1: 0x000000010b97f1a1 nvim`uv__io_poll(loop=0x00007000000807b0, timeout=<unavailable>) + 721 at kqueue.c:142\r\n    frame #2: 0x000000010b96f6d8 nvim`uv_run(loop=0x00007000000807b0, mode=UV_RUN_ONCE) + 456 at core.c:351\r\n    frame #3: 0x000000010b769d2e nvim`loop_poll_events(loop=0x00007000000807b0, ms=-1) + 142 at loop.c:49\r\n    frame #4: 0x000000010b94eb50 nvim`tui_main(bridge=0x000000000be16880, ui=0x000000000bcd39c0) + 496 at tui.c:232\r\n    frame #5: 0x000000010b954c7b nvim`ui_thread_run(data=0x000000000be16880) + 59 at ui_bridge.c:90\r\n    frame #6: 0x000000010b97a899 nvim`uv__thread_start(arg=<unavailable>) + 25 at thread.c:49\r\n    frame #7: 0x00007fff8b5e499d libsystem_pthread.dylib`_pthread_body + 131\r\n    frame #8: 0x00007fff8b5e491a libsystem_pthread.dylib`_pthread_start + 168\r\n    frame #9: 0x00007fff8b5e2351 libsystem_pthread.dylib`thread_start + 13\r\n\r\n  thread #3: tid = 0x0002, 0x00007fff92ffc07a libsystem_kernel.dylib`__select + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff92ffc07a libsystem_kernel.dylib`__select + 10\r\n    frame #1: 0x000000010b9780da nvim`uv__stream_osx_select(arg=0x000000000c023128) + 314 at stream.c:169\r\n    frame #2: 0x000000010b97a899 nvim`uv__thread_start(arg=<unavailable>) + 25 at thread.c:49\r\n    frame #3: 0x00007fff8b5e499d libsystem_pthread.dylib`_pthread_body + 131\r\n    frame #4: 0x00007fff8b5e491a libsystem_pthread.dylib`_pthread_start + 168\r\n    frame #5: 0x00007fff8b5e2351 libsystem_pthread.dylib`thread_start + 13\r\n```"}}
{"actor":{"display_login":"khalidchawtany"}}