Bug 71450 - Crash during attempted code-completion
Summary: Crash during attempted code-completion
Status: RESOLVED DUPLICATE of bug 74664
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-29 21:34 UTC by Michael Cohen
Modified: 2004-02-09 08:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cohen 2003-12-29 21:34:09 UTC
Version:           3.0.0b2 (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.1 
OS:          Linux

In the editor, I typed:  fopen( 

KDevelop crashed.

I compiled KDevelop from the 'latest source' on 2003-12-27
Here are the crash details:

[New Thread 16384 (LWP 17065)]
[New Thread 32769 (LWP 17077)]
[New Thread 32770 (LWP 17081)]
0x41808ab6 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41808ab6 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40d06010 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4180796c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x427671e7 in GCatalog<Tag>::query(QValueList<QPair<QCString, QVariant> > const&) (this=0x8b59628, args=@0xbfffe5f0) at gcatalog.tcc:365
#5  0x42765a52 in CodeInformationRepository::query(QValueList<QPair<QCString, QVariant> > const&) (this=0x8cb4dc8, args=@0xbfffe5f0)
    at codeinformationrepository.cpp:64
#6  0x4274bace in CppCodeCompletion::computeSignatureList(QStringList&, QString const&, QStringList const&) (this=0x8b98828, signatureList=@0xbfffe6a0, 
    name=@0xbfffe880, scope=@0xbfffe6f0) at cppcodecompletion.cpp:1659
#7  0x42747750 in CppCodeCompletion::completeText() (this=0x8b98828)
    at cppcodecompletion.cpp:904
#8  0x42743c3f in CppCodeCompletion::slotTimeout() (this=0x8b98828)
    at cppcodecompletion.cpp:314
#9  0x4274d504 in CppCodeCompletion::qt_invoke(int, QUObject*) (
    this=0x8b98828, _id=9, _o=0xbfffea80) at cppcodecompletion.moc:117
#10 0x410fd69b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x410fd464 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x4142e2f9 in QTimer::timeout() () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x4111fa73 in QTimer::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4109b6d6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x4109a9fe in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40c938c9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#17 0x41087bd3 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x4104329d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x410af980 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x410af876 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x4109b96f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x080667d3 in main (argc=1, argv=0xbffff1c4) at main.cpp:128
Comment 1 Amilcar do Carmo Lucas 2004-01-06 18:13:53 UTC
Can you update to KDevelop CVS HEAD and retest?
Comment 2 Grzegorz Jaskiewicz 2004-02-09 04:56:53 UTC
I guess this one is simmilar to it. I got it today (09-II-2004) , KDE from sources (3.2 branch), kdevelop from CVS, qt-copy 3.3, gcc 3.3 - debian unstable.

[New Thread 16384 (LWP 23514)]
[New Thread 32769 (LWP 23576)]
[New Thread 32770 (LWP 5494)]
0x419f1bfb in waitpid () from /lib/libpthread.so.0
#0  0x419f1bfb in waitpid () from /lib/libpthread.so.0
#1  0x4100dfe0 in __JCR_LIST__ () from /opt/kde/lib/libkdecore.so.4
#2  0x00000014 in ?? ()
#3  0x40f4a7a4 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#4  0x419f0815 in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x42515d0f in GCatalog<Tag>::query(QValueList<QPair<QCString, QVariant> > const&) (this=0xd299ff0, args=@0xbffff070) at gcatalog.tcc:365
#7  0x42514606 in CodeInformationRepository::query(QValueList<QPair<QCString, QVariant> > const&) (this=0x9337600, args=@0xbffff070)
    at codeinformationrepository.cpp:64
#8  0x424f8db4 in CppCodeCompletion::computeCompletionEntryList(QValueList<KTextEditor::CompletionEntry>&, QStringList const&, bool) (this=0x9320fc8, 
    entryList=@0xbffff150, type=@0xbffff370, isInstance=true)
    at cppcodecompletion.cpp:1472
#9  0x424f63cf in CppCodeCompletion::completeText() (this=0x9320fc8)
    at cppcodecompletion.cpp:932
#10 0x424f24a7 in CppCodeCompletion::slotTimeout() (this=0x9320fc8)
    at cppcodecompletion.cpp:314
#11 0x424fc095 in CppCodeCompletion::qt_invoke(int, QUObject*) (
    this=0x9320fc8, _id=9, _o=0xbffff540) at cppcodecompletion.moc:117
#12 0x413ab7e1 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x9320f40, clist=0x9321390, o=0xbffff540) at kernel/qobject.cpp:2359
#13 0x413ab681 in QObject::activate_signal(int) (this=0x9320f40, signal=2)
    at kernel/qobject.cpp:2328
#14 0x4170c4e4 in QTimer::timeout() (this=0x9320f40)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#15 0x413d048e in QTimer::event(QEvent*) (this=0x9320f40, e=0xbffff7d0)
    at kernel/qtimer.cpp:219
#16 0x41348b73 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffffad0, receiver=0x9320f40, e=0xbffff7d0)
    at kernel/qapplication.cpp:2614
#17 0x413480ab in QApplication::notify(QObject*, QEvent*) (this=0xbffffad0, 
    receiver=0x9320f40, e=0xbffff7d0) at kernel/qapplication.cpp:2337
#18 0x40ebfb29 in KApplication::notify(QObject*, QEvent*) (this=0xbffffad0, 
    receiver=0x9320f40, event=0xbffff7d0) at kapplication.cpp:506
#19 0x4016ed5e in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x9320f40, event=0xbffff7d0) at qapplication.h:491
#20 0x41337300 in QEventLoop::activateTimers() (this=0x80ef3d8)
    at kernel/qeventloop_unix.cpp:558
#21 0x412f072b in QEventLoop::processEvents(unsigned) (this=0x80ef3d8, flags=4)
    at kernel/qeventloop_x11.cpp:389
#22 0x4135d0d1 in QEventLoop::enterLoop() (this=0x80ef3d8)
    at kernel/qeventloop.cpp:198
#23 0x4135cfea in QEventLoop::exec() (this=0x80ef3d8)
    at kernel/qeventloop.cpp:145
#24 0x41348cdf in QApplication::exec() (this=0xbffffad0)
    at kernel/qapplication.cpp:2737
#25 0x08066b2b in main (argc=1, argv=0xbffffc44) at main.cpp:128
Comment 3 Jens Dagerbo 2004-02-09 08:52:25 UTC
Closing as dupe of 74664 as it contains better info.


*** This bug has been marked as a duplicate of 74664 ***
Comment 4 Jens Dagerbo 2004-02-09 08:55:30 UTC
oh, and please comment on bug #74664 and your bdb version(s).