Re: C++ header files and crash issue

RenĂ© J.V. Bertin <[email protected]> Sat, 06 Jul 2019 10:50:23 +0200
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <1875680.YMMXldsgVk@bola>
On Friday July 05 2019 17:53:36 Steve the Fiddle wrote:

>Attempting to use kDevelop with the Audacity source code (
>https://github.com/audacity/audacity) on Xubuntu 18.04 (and 16.04).

I dabble with that too, and have been wondering if I shouldn't point KDevelop to the CMake file that is now included with Audacity. 

Let me guess, the consistent crash occurs in libclang, and usually doesn't allow DrKonqi to obtain a backtrace? That's something that's been happening more and more for me (and which seems to be related to interference from libclang's own internal crash handling). The only way I found around that is to launch kdevelop through a debugger (or attach one when kdevelop is just about to start loading/parsing the trouble project; that's usually faster). 

Not that you can do much with a backtrace that confirms an issue in libclang; KDevelop would have to start using an external parser process in order to prevent crashing itself when libclang goes down. Qt Creator does that; does it also crash on Audacity for you?

R.