Summary: | Crash in MacroNavigationContext destructor. | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | bungeman |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, l.jirkovsky |
Priority: | VHI | Keywords: | drkonqi |
Version: | 4.5.60 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/a8859089ddac283ef0a3b2d886609cc4705e87ff | Version Fixed In: | |
Attachments: | New crash information added by DrKonqi |
Description
bungeman
2013-10-23 01:15:09 UTC
Created attachment 83079 [details]
New crash information added by DrKonqi
kdevelop (4.5.60) on KDE Platform 4.11.2 using Qt 4.8.5
- What I was doing when the application crashed:
I didn't do much. I've opened a file, renamed a function, started compile to find out where it is used and bam, kdevelop crashed.
-- Backtrace (Reduced):
#6 0x00007f386bdcaecf in Cpp::MacroNavigationContext::~MacroNavigationContext (this=0x8094290, __in_chrg=<optimized out>) at /var/abs/local/NOTAUR/kdevelop-git/src/kdevelop/languages/cpp/cppduchain/navigation/macronavigationcontext.cpp:99
#7 0x00007f386bdcb1c9 in Cpp::MacroNavigationContext::~MacroNavigationContext (this=0x8094290, __in_chrg=<optimized out>) at /var/abs/local/NOTAUR/kdevelop-git/src/kdevelop/languages/cpp/cppduchain/navigation/macronavigationcontext.cpp:101
#8 0x00007f3979abef38 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#9 0x00007f3978e4b12c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f3978e516f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
This seems to be new and more and more people hit it. We should investigate. Guys, can you make sure that you properly rebuild everything after the recent API changes in kdevplatform? Not that this is some strange bug due to BIC? I did a completely fresh build today, including the git clone. I have been able to hit it every time I hover over assert() macro. I have it as well, I've been investigating and the bug is because AbstractNavigationContext is now a QObject and KSharedObject, trying to figure out what's the exact problem. Git commit a8859089ddac283ef0a3b2d886609cc4705e87ff by Aleix Pol. Committed on 24/10/2013 at 15:53. Pushed by apol into branch 'master'. Make the AbstractNavigationContext a KShared instead of KSharedObject Fixes crash when hovering a preprocessor macro, the tooltip destruction would crash. M +1 -2 language/duchain/navigation/abstractnavigationcontext.cpp M +1 -1 language/duchain/navigation/abstractnavigationcontext.h http://commits.kde.org/kdevplatform/a8859089ddac283ef0a3b2d886609cc4705e87ff Aleix: The fix seems to break the kdev-control-flow-graph build Check eg https://build.opensuse.org/package/live_build_log/KDE:Unstable:Extra/kdevelop4-plugin-control-flow-graph/openSUSE_Factory_KDE_Distro_Factory/x86_64 |