Re: C++ header files and crash issue

RenĂ© J.V. Bertin <[email protected]> Sun, 07 Jul 2019 14:00:34 +0200
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <2872849.lQEqmHAd9A@bola>
On Sunday July 07 2019 12:10:05 Steve the Fiddle wrote:
>Running in gdb, I see this error on crash (full output attached):
>
>---- Parsing FAILED ----
>libclang: crash detected during parsing: {
[snip]

That's exactly what I meant. There isn't much KDevelop can do about this, other than experimenting with compiler options to see if the crash is related to a non-crucial feature (the spell-checker could be a prime candidate for that).

I have the succinct impression that libclang 6.0 (like you're using) is more crash-prone than 5.0, at least I started seeing less of these after rebuilding KDevelop against libclang 5. The other day I ran into a crasher myself (one of DrKonqi's bugzilla tests) so decided to give libclang 8 a chance since LLVM are kind enough to provide a build for my distro. The crashing stopped.