[Bug 68591] New: methods declaration change doesn't delete old method version
Giulio Prina Ricotti
prinaricotti at ieee.org
Wed Nov 19 18:07:04 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=68591
Summary: methods declaration change doesn't delete old method
version
Product: kdevelop
Version: 2.1.5
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: prinaricotti at ieee.org
Version: 2.1.5 (using KDE 3.1.4)
Installed from: Gentoo
Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS: Linux (i686) release 2.4.20-gentoo-r7
Changing a method declaration in the source code and saving the header file makes the class methods list add the new version of the method without deleting the old version. Doing it manually using "Delete method" on the old version crashes kdevelop.
-- How to reproduce
Create a Normal KDE project using the wizard. Click on the class name, to get to the header source. Change any method declaration and press CTRL+S to save the source file. The new method declaration will appear on the list on the left. Right-click on the old declaration and click "Delete method". Say Yes to the confirm dialog, and watch kdevelop disappear.
-- Last part of backtrace (where i guess the problem is)
#0 0x415c8f67 in waitpid () from /lib/libpthread.so.0
#1 0x40bdbb2d in KCrash::defaultCrashHandler(int) ()
from /usr/kde/3.1/lib/libkdecore.so.4
#2 0x415c7e1a in __pthread_sighandler () from /lib/libpthread.so.0
#3 <signal handler called>
#4 0x0817ddd1 in KAccel::metaObject() const ()
#5 0x0817dc57 in KAccel::metaObject() const ()
#6 0x080c7614 in QPtrList<KDockWidget>::deleteItem(void*) ()
#7 0x081ce2bf in KHTMLPart::metaObject() const ()
#8 0x41027be0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/qt/3/lib/libqt-mt.so.3
#9 0x081956df in KHTMLPart::metaObject() const ()
#10 0x08193cbc in KHTMLPart::metaObject() const ()
#11 0x0819588d in KHTMLPart::metaObject() const ()
#12 0x41027be0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
More information about the KDevelop-devel
mailing list