| Summary: | Crash when class member is renamed | ||
|---|---|---|---|
| Product: | [Developer tools] kdevplatform | Reporter: | Claus Hetzer <claus> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | aleixpol, bosyber, claus, devel |
| Priority: | NOR | ||
| Version First Reported In: | 0.9.94 | ||
| Target Milestone: | 1.2.3 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
||
|
Description
Claus Hetzer
2011-09-29 14:07:28 UTC
Created attachment 64072 [details]
New crash information added by DrKonqi
kdevelop (4.2.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2
This crash recurs consistently, although the number of member renames that it allows me to perform before crashing is variable, and can be as few as 3.
-- Backtrace (Reduced):
#6 ClassModel::index (this=0x4466930, a_node=0x0) at ../../../plugins/classbrowser/classmodel.cpp:180
#7 0x00007f6d5be13305 in ClassModel::parent (this=<value optimized out>, childIndex=<value optimized out>) at ../../../plugins/classbrowser/classmodel.cpp:174
#8 0x00007f6d87ab2fab in parent (this=0x44699f0, painter=0x7fffde544e50, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9 QTreeView::drawRow (this=0x44699f0, painter=0x7fffde544e50, option=..., index=...) at itemviews/qtreeview.cpp:1535
#10 0x00007f6d87ab5747 in QTreeView::drawTree (this=<value optimized out>, painter=0x7fffde544e50, region=<value optimized out>) at itemviews/qtreeview.cpp:1441
Created attachment 70304 [details]
New crash information added by DrKonqi
kdevelop (4.0.2 (using KDevPlatform 1.0.2)) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0
- What I was doing when the application crashed:
I wanted to rename a class member function. After entering the new name, rename started and after a few seconds kdevelop crashed. Most times this works, but on some functions the crash always occurs. After restarting kdevelop it crashes without any activity of myself.
The only way to go on is starting a new session.
-- Backtrace (Reduced):
#7 makeDataPrivate (this=0xa6a4e99a, rhs=...) at ../../language/duchain/repositories/itemrepository.h:1044
#8 prepareChange (this=0xa6a4e99a, rhs=...) at ../../language/duchain/repositories/itemrepository.h:990
#9 dynamicItemFromIndexSimple (this=0xa6a4e99a, rhs=...) at ../../language/duchain/repositories/itemrepository.h:1805
#10 KDevelop::IndexedString::IndexedString (this=0xa6a4e99a, rhs=...) at ../../language/duchain/indexedstring.cpp:230
#11 0xab914953 in void rpp::pp_macro::copyListsFrom<rpp::pp_macro>(rpp::pp_macro const&) () from /usr/lib/libkdev4cpprpp.so
Git commit 8ada8efceb0254d8373a87a20121387fca6ae222 by Milian Wolff. Committed on 11/04/2012 at 12:10. Pushed by mwolff into branch '1.3'. guard against crash in classbrowser when accessing index of invalid parent M +4 -0 plugins/classbrowser/classmodel.cpp http://commits.kde.org/kdevplatform/8ada8efceb0254d8373a87a20121387fca6ae222 Peter: thanks for bringing this bug report to my attention, but your backtrace is completely unrelated. Also: You should really update to a more recent KDevelop version, version 4.0 is horribly outdated and instable compared to current 4.3. cheers *** Bug 307667 has been marked as a duplicate of this bug. *** |