{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/12","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/12/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/12/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/12","id":10639301,"number":12,"title":"Vim segfaults with plugin on Arch 64. :-/","user":{"login":"wting","id":622170,"avatar_url":"https://avatars.githubusercontent.com/u/622170?v=3","gravatar_id":"","url":"https://api.github.com/users/wting","html_url":"https://github.com/wting","followers_url":"https://api.github.com/users/wting/followers","following_url":"https://api.github.com/users/wting/following{/other_user}","gists_url":"https://api.github.com/users/wting/gists{/gist_id}","starred_url":"https://api.github.com/users/wting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wting/subscriptions","organizations_url":"https://api.github.com/users/wting/orgs","repos_url":"https://api.github.com/users/wting/repos","events_url":"https://api.github.com/users/wting/events{/privacy}","received_events_url":"https://api.github.com/users/wting/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2013-02-05T06:22:08Z","updated_at":"2015-03-31T18:41:29Z","closed_at":"2013-02-05T22:41:14Z","body":"I finished building the plugin correctly:\r\n\r\n```\r\n[ 85%] Building CXX object BoostParts/CMakeFiles/BoostParts.dir/libs/thread/src/pthread/once.cpp.o\r\n[ 86%] Building CXX object BoostParts/CMakeFiles/BoostParts.dir/libs/thread/src/pthread/thread.cpp.o\r\nLinking CXX static library libBoostParts.a\r\n[ 86%] Built target BoostParts\r\nScanning dependencies of target ycm_core\r\n[ 87%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Candidate.cpp.o\r\n[ 88%] Building CXX object ycm/CMakeFiles/ycm_core.dir/CandidateRepository.cpp.o\r\n[ 89%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangCompleter.cpp.o\r\n[ 89%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangResultsCache.cpp.o\r\n[ 91%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangUtils.cpp.o\r\n[ 92%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/CompilationDatabase.cpp.o\r\n[ 93%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/CompletionData.cpp.o\r\n[ 93%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/TranslationUnit.cpp.o\r\n[ 94%] Building CXX object ycm/CMakeFiles/ycm_core.dir/CustomAssert.cpp.o\r\n[ 95%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierCompleter.cpp.o\r\n[ 96%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierUtils.cpp.o\r\n[ 96%] Building CXX object ycm/CMakeFiles/ycm_core.dir/LetterNode.cpp.o\r\n[ 97%] Building CXX object ycm/CMakeFiles/ycm_core.dir/LetterNodeListMap.cpp.o\r\n[ 98%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Result.cpp.o\r\n[100%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Utils.cpp.o\r\n[100%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ycm_core.cpp.o\r\nLinking CXX shared library /home/ting/.vim/bundle/YouCompleteMe/python/ycm_core.so\r\n[100%] Built target ycm_core\r\n╭─ting@noa ~/build ‹python-2.7.3› ‹ruby-1.9.3› \r\n╰─➤  cd ~/.vim/bundle/YouCompleteMe\r\n╭─ting@noa ~/.vim/bundle/YouCompleteMe ‹python-2.7.3› ‹ruby-1.9.3› ‹master› \r\n╰─➤  find . -iname \"*.so\"                                                                                                                        2013.02.05 00:20:12 CST \r\n./python/libclang.so\r\n./python/ycm_core.so\r\n╭─ting@noa ~/.vim/bundle/YouCompleteMe ‹python-2.7.3› ‹ruby-1.9.3› ‹master› \r\n╰─➤  \\vim                                                                                                                                  139 ↵ 2013.02.05 00:21:33 CST \r\nVim: Caught deadly signal SEGV\r\nVim: Finished.\r\n\r\n[1]    18418 segmentation fault (core dumped)  \\vim\r\n                                                   %                                                                                                                      ╭─ting@noa ~/.vim/bundle/YouCompleteMe ‹python-2.7.3› ‹ruby-1.9.3› ‹master› \r\n╰─➤                                                                                                                                        139 ↵ 2013.02.05 00:21:48 CST \r\n```"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/88203477","html_url":"https://github.com/Valloric/YouCompleteMe/issues/12#issuecomment-88203477","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/12","id":88203477,"user":{"login":"paprykarz","id":5355567,"avatar_url":"https://avatars.githubusercontent.com/u/5355567?v=3","gravatar_id":"","url":"https://api.github.com/users/paprykarz","html_url":"https://github.com/paprykarz","followers_url":"https://api.github.com/users/paprykarz/followers","following_url":"https://api.github.com/users/paprykarz/following{/other_user}","gists_url":"https://api.github.com/users/paprykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/paprykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paprykarz/subscriptions","organizations_url":"https://api.github.com/users/paprykarz/orgs","repos_url":"https://api.github.com/users/paprykarz/repos","events_url":"https://api.github.com/users/paprykarz/events{/privacy}","received_events_url":"https://api.github.com/users/paprykarz/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T18:41:29Z","updated_at":"2015-03-31T18:41:29Z","body":"I had similar problem as @orva and solved it by manual assigning path name to EXTERNAL_LIBCLANG_PATH in `CMakeCache.txt`:\r\n\r\n\r\n    EXTERNAL_LIBCLANG_PATH:PATH=/home/paprykarz/.vim/bundle/YouCompleteMe/third_party/ycmd/libclang.so\r\n\r\nWith this change `make` finished without errors, ycm_core.so was properly linked to libclang.so and YCM works. "}}