[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 122266] New: KDevelop crashes while typing (C++ editing)
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2006-02-19 8:32:23
Message-ID: 20060219093220.122266.mail () chrschn ! de
[Download RAW message or body]

------- 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=122266         
           Summary: KDevelop crashes while typing (C++ editing)
           Product: kdevelop
           Version: 3.3.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: mail chrschn de


Version:           3.3.1 (using KDE 3.5.1, compiled sources)
Compiler:          gcc version 3.4.4
OS:                Linux (x86_64) release 2.6.15.1

I was exercising a KDE app tutorial:
http://developer.kde.org/~larrosa/visualtutorial/chapter04.html

When I fill out the initializing constructur of class CentralViewBase, KDevelop crashes:

CentralView::CentralView( QWidget* parent, const char* name, WFlags fl )
 : CentralViewBase(paren !!!<== CRASH while typing!!! )
{
}


These are the messages on the terminal:

kdevelop (core): [void PartController::slotNewStatus()] 
kdevelop (cpp support): ---> file added
kdevelop (cpp support): CppCodeCompletion::completeText()
kdevelop (cpp support): node-kind = FunctionDefinition
kdevelop (cpp support): startLine = CentralView::CentralView( QWidget* parent, c
onst char* name, WFlags fl )
kdevelop (cpp support): no valid declaration to recover!!!
kdevelop (cpp support): ------------------- AST FOUND --------------------
kdevelop (cpp support): node-kind = FunctionDefinition
kdevelop (cpp support): ------> found a function definition
kdevelop (cpp support): [int CppCodeCompletion::expressionAt(const QString&, int
)] 
kdevelop (cpp support): CppCodeCompletion::computeContext() -- main
kdevelop (cpp support): ===========================> type is: 
kdevelop (cpp support): ===========================> word is: par
kdevelop (cpp support): -----------> findContainer name:  
kdevelop (cpp support): CodeInformationRepository::query()
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'kdevelop' crashing...


Here is the crash report:

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912607838912 (LWP 7476)]
[New Thread 1082141024 (LWP 7509)]
[Thread debugging using libthread_db enabled]
[New Thread 46912607838912 (LWP 7476)]
[New Thread 1082141024 (LWP 7509)]
[Thread debugging using libthread_db enabled]
[New Thread 46912607838912 (LWP 7476)]
[New Thread 1082141024 (LWP 7509)]
[KCrash handler]
#5  0x00002aaab074843d in *__GI_raise (sig=7476)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00002aaab074991e in *__GI_abort () at ../sysdeps/generic/abort.c:88
#7  0x00002aaab0348c28 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib64/../lib64/libstdc++.so.6
#8  0x00002aaab0346e06 in __cxxabiv1::__terminate ()
   from /usr/lib64/../lib64/libstdc++.so.6
#9  0x00002aaab0346e33 in std::terminate ()
   from /usr/lib64/../lib64/libstdc++.so.6
#10 0x00002aaab0346f33 in __cxa_throw ()
   from /usr/lib64/../lib64/libstdc++.so.6
#11 0x00002aaab034710d in operator new ()
   from /usr/lib64/../lib64/libstdc++.so.6
#12 0x00002aaab0347199 in operator new[] ()
   from /usr/lib64/../lib64/libstdc++.so.6
#13 0x00002aaaae8aaa9d in QString::setLength ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#14 0x00002aaaae8b27b3 in operator>> () from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#15 0x00002aaab6f5415e in Tag::load (this=0x7fffffe0a0b0, stream= 0x1d34)
    at tag.cpp:86
#16 0x00002aaab6f55087 in Catalog::query (this=0x1908960, 
    args= 0x7fffffe0a110) at catalog.cpp:450
#17 0x00002aaab6de4356 in CodeInformationRepository::query (
    this=0x7fffffe0a210, args= 0x7fffffe0a3e0)
    at codeinformationrepository.cpp:65
#18 0x00002aaab6df40ea in CppCodeCompletion::computeCompletionEntryList (
    this=0x1b46540, entryList= 0x7fffffe0a9f0, type= 0x7fffffe0a6a0, 
    isInstance=false) at cppcodecompletion.cpp:1949
#19 0x00002aaab6df94d6 in CppCodeCompletion::completeText (this=0x1b46540, 
    invokedOnDemand=false) at cppcodecompletion.cpp:1226
#20 0x00002aaab6df9a9b in CppCodeCompletion::slotTimeout (this=0x1b46540)
    at cppcodecompletion.cpp:362
#21 0x00002aaab6df9bb7 in CppCodeCompletion::qt_invoke (this=0x1b46540, 
    _id=10, _o=0x7fffffe0ab90) at cppcodecompletion.moc:120
#22 0x00002aaaae628a88 in QObject::activate_signal ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#23 0x00002aaaae6291f2 in QObject::activate_signal ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#24 0x00002aaaae645985 in QTimer::event ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#25 0x00002aaaae5d010d in QApplication::internalNotify ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#26 0x00002aaaae5d02b5 in QApplication::notify ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#27 0x00002aaaadb3b73a in KApplication::notify ()
   from /opt/kde-3.5.1/lib/libkdecore.so.4
#28 0x00002aaaae5c518d in QEventLoop::activateTimers ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#29 0x00002aaaae5864ad in QEventLoop::processEvents ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#30 0x00002aaaae5e4085 in QEventLoop::enterLoop ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#31 0x00002aaaae5e3fe2 in QEventLoop::exec ()
   from /opt/qt-3.3.4/lib64/libqt-mt.so.3
#32 0x000000000040833f in main (argc=-2051680, argv=0x7fffffe0b1b0)
    at main.cpp:145
Current language:  auto; currently c


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic