Summary: | kdevelop crashes when parsing wxWidgets source files | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | nmset <nmset> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | igorkuo, mail |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
nmset
2023-03-06 21:13:54 UTC
Created attachment 157068 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
This workaround no longer works : https://bugs.kde.org/show_bug.cgi?id=438249#c4 (In reply to nmset from comment #2) > This workaround no longer works : > > https://bugs.kde.org/show_bug.cgi?id=438249#c4 In my version of KDevelop (master), plugins/clang/duchain/builder.cpp:1157 points to the line `decl->setBitWidth(clang_getFieldDeclBitWidth(cursor));`. If the line of code is the same in your version, then the workaround *must* work and this is a duplicate of Bug 438249. The fix is being actively reviewed here: https://reviews.llvm.org/D130303. So there is a good chance the bug will be gone in LLVM/Clang version 17. (In reply to Igor Kushnir from comment #3) > the workaround *must* > work Self-built kdevelop with 'decl->setBitWidth(-1)' does not crash while loading a wxWidgets project if : - the built binaries are packaged using Arch's utility (makepkg), - the package is installed system wide using Arch's package manager (pacman). Self-built kdevelop with 'decl->setBitWidth(-1)' still crashes if : - it is run inside the build tree (./bin/kdevelop), - Arch's stock kdevelop package is installed system wide (without which, kdevcmakemanager is reported missing when a project is loaded from the menu, which is on top of an empty window). So the patch is efficient. I can do this way until the fix is generally available. Thank you for your reply. Yeah, because your self-built KDevelop will load the system one's plugins. You can fix that by uninstalling the system version and setting the QT_PLUGIN_PATH environment variable to your local installation's .../qt/plugins/ folder. *** This bug has been marked as a duplicate of bug 438249 *** |