On Fri, Aug 16, 2019 at 5:34 PM Christian Beier <dontm...@sdf.org> wrote:
>
> Am Fri, 16 Aug 2019 16:08:09 +0800
> schrieb Shengjing Zhu <z...@debian.org>:
>
> > Could you confirm that ccls is working without emacs?
> > For example, you can try the test script from the package source[1],
> > run lsp-test from the tests directory.
>
> Works.
>
> > And you can try to run `ccls -index=.` in your project directory.
>
> This seems to work as well,  no crash.
>

That seems interesting. I have no clue, except debugging.

Here're some generic methods you can try.
1. compile ccls from upstream git repo, if it works, then there's
something wrong in packaging script.
2. install the dbgsym packages, to see the detail backtrace. You can
find the instruction at[1]
3. debug ccls itself, you can find instruction at[2]
4. if you find ccls crashed when you build it from upstream repo, you
can report it at upstream[3]. The author will have more knowledge
about it.

[1] https://wiki.debian.org/HowToGetABacktrace
[2] https://github.com/MaskRay/ccls/wiki/Debugging
[3] https://github.com/MaskRay/ccls/issues

-- 
Shengjing Zhu

Reply via email to