EasyClangComplete: plugin_host crashing

With the fixing of #44 , I see libclang being properly loaded. However, the first time I save a C++ source file after starting Sublime Text 3dev, the plugin host crashes:

error: plugin_host has exited unexpectedly, plugin functionality won’t be available until Sublime Text has been restarted

I’m not sure if it happens with every source file, but I’m seeing it consistently on some large-ish source files I have. Nothing suspicious is showing up with "verbose": true in the config.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

I don’t feel very comfortable with python, but if I have an idea, I’ll tell you. Maybe it is a compatibility problem between the version of Python embedded with Sublime Text and the version of the python binding for libclang. Is it possible ?

EDIT : Works well for me when I use the clang binary, and it isn’t too slow. I’ll stick with this solution for now, but if you want me to test with libclang, tell me. I will do it if it can help you solve the problem.

EDIT 2 : Thanks for your fast answer, I am very happy to see that the project is well-maintained. 😃

Thanks @mehdidou99 The issues with libclang and Windows are my top priority at the moment. I am slightly under-qualified for solving this just yet, but you can help by spreading the word about stack overflow question here. There is an example that runs from command line but not from withing sublime text, so I feel that this is the key. Also, you can read through #4