C++ header files and crash issue
René J.V. Bertin
rjvbertin at gmail.com
Sun Jul 7 13:00:34 BST 2019
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.
More information about the KDevelop
mailing list