KDevelop crashes on code completion

Roberto Raggi roberto at kdevelop.org
Tue Aug 23 15:28:04 UTC 2005


Hi!

On Tuesday 23 August 2005 14:54, Alexander Dymo wrote:
> Damn, we have to get our svn bdb copy back.
or we can store QCString instead of QString and increase the PCS-version 
number. BDB has problems with unicode characters. it shouldn't be too hard. 
  1) replace QString with QCString in catalog/tag*
  2) replace QString with QCString in cppsupport/cpp_tags.*
  3) ensure we don't store QStrings in cppsupport/tag_creator.*

ciao robe


>
> On Tuesday 23 August 2005 00:23, Andras Mantia wrote:
> >  KDevelop from 3.5 branch crashes when invoking code completion on
> > Qt/KDE classes. The crash seems to be related to the fact that KDevelop
> > now links to the DB engine installed on the system instead of the DB
> > copy. I have recreated the PCS databases, but the crash persist.
> >
> > The configure output related to this was:
> > checking for Berkeley DB >= 3... yes - >=4.1
> >
> > I have db-4.3.27-3 from SuSE 9.3.
> >
> >
> > Backtrace below.
> >
> >
> > Using host libthread_db library "/lib/tls/libthread_db.so.1".
> > [Thread debugging using libthread_db enabled]
> > [New Thread 1108354848 (LWP 23921)]
> > [New Thread 1126177712 (LWP 24165)]
> > [Thread debugging using libthread_db enabled]
> > [New Thread 1108354848 (LWP 23921)]
> > [New Thread 1126177712 (LWP 24165)]
> > [Thread debugging using libthread_db enabled]
> > [New Thread 1108354848 (LWP 23921)]
> > [New Thread 1126177712 (LWP 24165)]
> > [KCrash handler]
> > #3  0x42ab28b7 in Catalog::query (this=0x8d59ad0, args=@0xbfffe1f0)
> >
> > at
> > /data/development/sources/kde-head/kdevelop/lib/catalog/catalog.cpp:397
> > #4  0x42a420ae in CodeInformationRepository::query (this=0x8e1fcb0,
> > args=@0xbfffe1f0)
> >
> > at
> > /data/development/sources/kde-head/kdevelop/languages/cpp/codeinformation
> >re pository.cpp:65 #5  0x42a23e18 in
> > CppCodeCompletion::computeCompletionEntryList (
> >     this=0x8e1f728, entryList=@0xbfffe2e0, type=@0xbfffe510,
> > isInstance=true)
> >
> > at
> > /data/development/sources/kde-head/kdevelop/languages/cpp/cppcodecompleti
> >on .cpp:1949 #6  0x42a20873 in CppCodeCompletion::completeText
> > (this=0x8e1f728, invokedOnDemand=true)
> >
> > at
> > /data/development/sources/kde-head/kdevelop/languages/cpp/cppcodecompleti
> >on .cpp:1234 #7  0x42a02483 in CppSupportPart::slotCompleteText
> > (this=0x87b8ef0)
> >
> > at
> > /data/development/sources/kde-head/kdevelop/languages/cpp/cppsupportpart.
> >cp p:1018 #8  0x42a0a2b7 in CppSupportPart::qt_invoke (this=0x87b8ef0,
> > _id=25, _o=0xbfffe670) at cppsupportpart.moc:226
> > #9  0x417fbe7e in QObject::activate_signal ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #10 0x417fc626 in QObject::activate_signal ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #11 0x41039018 in KAction::activated (this=0x87b8b68) at kaction.moc:176
> > #12 0x410385f3 in KAction::slotActivated (this=0x87b8b68)
> >     at /data/development/sources/kde-head/kdelibs/kdeui/kaction.cpp:1102
> > #13 0x41039465 in KAction::qt_invoke (this=0x87b8b68, _id=15,
> > _o=0xbfffe790)
> >     at kaction.moc:218
> > #14 0x417fbe7e in QObject::activate_signal ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #15 0x417fc626 in QObject::activate_signal ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #16 0x413a11cc in KAccelPrivate::menuItemActivated (this=0x87de008)
> >     at kaccelprivate.moc:110
> > #17 0x4139f599 in KAccelPrivate::emitActivatedSignal (this=0x87de008,
> >     pAction=0x87de740)
> >     at /data/development/sources/kde-head/kdelibs/kdecore/kaccel.cpp:378
> > #18 0x4139f389 in KAccelPrivate::eventFilter (this=0x87de008,
> >     pEvent=0xbfffeda0)
> >     at /data/development/sources/kde-head/kdelibs/kdecore/kaccel.cpp:350
> > #19 0x417fb37e in QObject::activate_filters ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #20 0x417fb460 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
> > #21 0x41831ebf in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
> > #22 0x418f90b2 in QMainWindow::event ()
> > from /usr/lib/qt3/lib/libqt-mt.so.3
> > #23 0x402d9f27 in KMdiMainFrm::event (this=0x81a8c58, e=0xbfffeda0)
> >
> > at /data/development/sources/kde-head/kdelibs/kmdi/kmdimainfrm.cpp:1166
> > #24 0x41798d5f in QApplication::internalNotify ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #25 0x4179afa1 in QApplication::notify ()
> > from /usr/lib/qt3/lib/libqt-mt.so.3
> > #26 0x41315a2c in KApplication::notify (this=0xbffff320,
> > receiver=0x9122128,
> >     event=0xbfffeda0)
> >
> > at
> > /data/development/sources/kde-head/kdelibs/kdecore/kapplication.cpp:550
> > #27 0x401f9af0 in QApplication::sendEvent (receiver=0x9122128,
> >     event=0xbfffeda0) at qapplication.h:515
> > #28 0x4139e070 in KAccelEventHandler::x11Event (this=0x816ffa8,
> >     pEvent=0xbffff180)
> >     at /data/development/sources/kde-head/kdelibs/kdecore/kaccel.cpp:144
> > #29 0x4132899a in KAppX11HackWidget::publicx11Event (this=0x816ffa8,
> >     e=0xbffff180)
> >
> > at
> > /data/development/sources/kde-head/kdelibs/kdecore/kapplication.cpp:1652
> > #30 0x4131a762 in KApplication::x11EventFilter (this=0xbffff320,
> > _event=0xbffff180)
> >
> > at
> > /data/development/sources/kde-head/kdelibs/kdecore/kapplication.cpp:1722
> > #31 0x41723ba7 in qt_set_x11_event_filter ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #32 0x4173465b in QApplication::x11ProcessEvent ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #33 0x41745c38 in QEventLoop::processEvents ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #34 0x417b0e51 in QEventLoop::enterLoop ()
> > from /usr/lib/qt3/lib/libqt-mt.so.3
> > #35 0x417b0c96 in QEventLoop::exec ()
> > from /usr/lib/qt3/lib/libqt-mt.so.3
> > #36 0x4179a94f in QApplication::exec ()
> > from /usr/lib/qt3/lib/libqt-mt.so.3
> > #37 0x0804ee2a in main (argc=3, argv=0xbffff4d4)
> >     at /data/development/sources/kde-head/kdevelop/src/main.cpp:145




More information about the KDevelop-devel mailing list