[Bug 76233] New: C++ completion crashes kdevelop

Grzegorz Jaskiewicz gj at pointblue.com.pl
Fri Feb 27 00:47:03 UTC 2004


------- 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=76233      
           Summary: C++ completion crashes kdevelop
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: gj pointblue com pl


Version:           3.0.1 CVS 2004-02-25 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          debian unstable g++ 
OS:          Linux

Open some C++ project, go to file
let's say we have class p0 with method zupa.
type in:
p0.(ctrl+space) and kaboom :-)

I'll run valgrind over it in a minute with options:
valgrind --num-callers=14 --logfile=kmail-valgrind.log --error-limit=no kdevelop --nofork

and attach output

backtrace follows:

[New Thread 16384 (LWP 6435)]
[New Thread 32769 (LWP 6452)]
[New Thread 16386 (LWP 6453)]
0x419f7bfb in waitpid () from /lib/libpthread.so.0
#0  0x419f7bfb in waitpid () from /lib/libpthread.so.0
#1  0x41010fe0 in __JCR_LIST__ () from /opt/kde/lib/libkdecore.so.4
#2  0x00000014 in ?? ()
#3  0x40f4d920 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#4  0x419f6815 in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x424f4d0f in GCatalog<Tag>::query(QValueList<QPair<QCString, QVariant> > const&) (this=0x9670790, args= 0xbfffebd0) at gcatalog.tcc:365
#7  0x424f3606 in CodeInformationRepository::query(QValueList<QPair<QCString, QVariant> > const&) (this=0x96e2da8, args= 0xbfffebd0)
    at codeinformationrepository.cpp:64
#8  0x424d7c32 in CppCodeCompletion::computeCompletionEntryList(QValueList<KTextEditor::CompletionEntry>&, QStringList const&, bool) (this=0x96b31b0, 
    entryList= 0xbfffee20, type= 0xbfffec30, isInstance=true)
    at cppcodecompletion.cpp:1466
#9  0x424d86d4 in CppCodeCompletion::computeCompletionEntryList(QValueList<KTextEditor::CompletionEntry>&, KSharedPtr<ClassModel>, bool) (this=0x96b31b0, 
    entryList= 0xbfffee20, klass={ptr = 0x99b54b8}, isInstance=true)
    at cppcodecompletion.cpp:1545
#10 0x424d7ad6 in CppCodeCompletion::computeCompletionEntryList(QValueList<KTextEditor::CompletionEntry>&, QStringList const&, bool) (this=0x96b31b0, 
    entryList= 0xbfffee20, type= 0xbffff040, isInstance=true)
    at cppcodecompletion.cpp:1458
#11 0x424d53cf in CppCodeCompletion::completeText() (this=0x96b31b0)
    at cppcodecompletion.cpp:932
#12 0x424ba9a3 in CppSupportPart::slotCompleteText() (this=0x8e4a898)
    at cppsupportpart.cpp:784
#13 0x424c0e17 in CppSupportPart::qt_invoke(int, QUObject*) (this=0x8e4a898, 
    _id=20, _o=0xbffff190) at cppsupportpart.moc:220
#14 0x413ae7e1 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8e4c6b8, clist=0x8341ea0, o=0xbffff190) at kernel/qobject.cpp:2359
#15 0x413ae681 in QObject::activate_signal(int) (this=0x8e4c6b8, signal=2)
    at kernel/qobject.cpp:2328
#16 0x40c5118a in KAction::activated() (this=0x8e4c6b8) at kaction.moc:157
#17 0x40c50b25 in KAction::slotActivated() (this=0x8e4c6b8) at kaction.cpp:1054
#18 0x40c5148b in KAction::qt_invoke(int, QUObject*) (this=0x8e4c6b8, _id=14, 
    _o=0xbffff290) at kaction.moc:181
#19 0x413ae7e1 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8347998, clist=0xa031cc0, o=0xbffff290) at kernel/qobject.cpp:2359
#20 0x413ae681 in QObject::activate_signal(int) (this=0x8347998, signal=2)
    at kernel/qobject.cpp:2328
#21 0x40f42ede in KAccelPrivate::menuItemActivated() (this=0x8347998)
    at kaccelprivate.moc:110
#22 0x40f4126c in KAccelPrivate::eventFilter(QObject*, QEvent*) (
    this=0x8347998, pEvent=0xbffff700) at kaccel.cpp:324
#23 0x413ac0a5 in QObject::activate_filters(QEvent*) (this=0x81418a8, 
    e=0xbffff700) at kernel/qobject.cpp:902
#24 0x413abf23 in QObject::event(QEvent*) (this=0x81418a8, e=0xbffff700)
    at kernel/qobject.cpp:735
#25 0x413e695d in QWidget::event(QEvent*) (this=0x81418a8, e=0xbffff700)
    at kernel/qwidget.cpp:4638
#26 0x414ae802 in QMainWindow::event(QEvent*) (this=0x81418a8, e=0xbffff700)
    at widgets/qmainwindow.cpp:1686
#27 0x405e49b8 in KMdiMainFrm::event(QEvent*) (this=0x81418a8, e=0xbffff700)
    at kmdimainfrm.cpp:1009
#28 0x4134bb73 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffffc30, receiver=0x81418a8, e=0xbffff700)
    at kernel/qapplication.cpp:2614
#29 0x4134b203 in QApplication::notify(QObject*, QEvent*) (this=0xbffffc30, 
    receiver=0x95d57a8, e=0xbffff700) at kernel/qapplication.cpp:2371
#30 0x40ec2c3c in KApplication::notify(QObject*, QEvent*) (this=0xbffffc30, 
    receiver=0x95d57a8, event=0xbffff700) at kapplication.cpp:506
#31 0x4016effe in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x95d57a8, event=0xbffff700) at qapplication.h:491
#32 0x40f3feb9 in KAccelEventHandler::x11Event(_XEvent*) (this=0x8156870, 
    pEvent=0xbffffac0) at kaccel.cpp:114
#33 0x40ed33a0 in KAppX11HackWidget::publicx11Event(_XEvent*) (this=0x8156870, 
    e=0xbffffac0) at kapplication.cpp:1527
#34 0x40ec72fc in KApplication::x11EventFilter(_XEvent*) (this=0xbffffc30, 
    _event=0xbffffac0) at kapplication.cpp:1615
#35 0x412ce495 in qt_x11EventFilter (ev=0xbffffac0)
    at kernel/qapplication_x11.cpp:382
#36 0x412d7917 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffffc30, 
    event=0xbffffac0) at kernel/qapplication_x11.cpp:3254
#37 0x412f2cab in QEventLoop::processEvents(unsigned) (this=0x80ef4a0, flags=4)
    at kernel/qeventloop_x11.cpp:192
#38 0x413600d1 in QEventLoop::enterLoop() (this=0x80ef4a0)
    at kernel/qeventloop.cpp:198
#39 0x4135ffea in QEventLoop::exec() (this=0x80ef4a0)
    at kernel/qeventloop.cpp:145
#40 0x4134bcdf in QApplication::exec() (this=0xbffffc30)
    at kernel/qapplication.cpp:2737
#41 0x08066c1b in main (argc=1, argv=0xbffffda4) at main.cpp:128




More information about the KDevelop-devel mailing list