[Bug 68726] New: crash on cpp namespace text completion

Pau Estalella paue at ima.udg.es
Fri Nov 21 12:02:05 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=68726     
           Summary: crash on cpp namespace text completion
           Product: kdevelop
           Version: 3.0.0b1
          Platform: Debian stable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: paue at ima.udg.es


Version:           3.0.0b1 (using KDE KDE 3.1.1)
Installed from:    Debian stable Packages
Compiler:          gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) 
OS:          Linux

Given the following code in a .h project file:

class Triangle : public sir::Triangle
{

};

If I delete the ':Triangle' part in 'sir::Triangle', and then try to add ':', KDevelop crashes.
sir is a namespace containing many, many classes and function definitions. This namespace was imported using the Persistant Class Store facility in the Project Options dialog.

Backtrace follows:

[New Thread 16384 (LWP 29742)]
[New Thread 32769 (LWP 29748)]
[New Thread 16386 (LWP 29749)]
0x413cb3ba in waitpid () from /lib/libpthread.so.0
#0  0x413cb3ba in waitpid () from /lib/libpthread.so.0
#1  0x40ad2c89 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x413ca1ec in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x410ea87e in QGList::QGList(QGList const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x424981fe in scopeOfNode(AST*, QStringList&) ()
   from /scratch/paue/local/lib/kde3/libkdevcppsupport.so
#6  0x424827db in CppCodeCompletion::completeText() ()
   from /scratch/paue/local/lib/kde3/libkdevcppsupport.so
#7  0x4247da18 in CppCodeCompletion::slotTimeout() ()
   from /scratch/paue/local/lib/kde3/libkdevcppsupport.so
#8  0x4248dd34 in CppCodeCompletion::qt_invoke(int, QUObject*) ()
   from /scratch/paue/local/lib/kde3/libkdevcppsupport.so
#9  0x40e708e7 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40e7078f in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x41169139 in QTimer::timeout() () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40e92433 in QTimer::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40e0f5f8 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40e0eb50 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40a5f929 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#16 0x40de6935 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40dc3974 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40e23b83 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40e23a76 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40e0f87f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x08062899 in main ()
#22 0x41529857 in __libc_start_main () from /lib/libc.so.6




More information about the KDevelop-devel mailing list