C++ header files and crash issue

René J.V. Bertin rjvbertin at gmail.com
Sat Jul 6 09:50:23 BST 2019


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.



More information about the KDevelop mailing list