KDevelop crashes on code completion

Steven T. Hatton hattons at globalsymmetry.com
Tue Aug 23 13:21:06 UTC 2005


On Monday 22 August 2005 17:23, Andras Mantia wrote:
> Hi,
>
>  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/codeinformationre
>pository.cpp:65 #5  0x42a23e18 in
> CppCodeCompletion::computeCompletionEntryList (
>     this=0x8e1f728, entryList=@0xbfffe2e0, type=@0xbfffe510,
> isInstance=true)
[...]
> #37 0x0804ee2a in main (argc=3, argv=0xbffff4d4)
>     at /data/development/sources/kde-head/kdevelop/src/main.cpp:145


Hey!  I can do that too!!! 

:D

cat /etc/SuSE-release
SuSE Linux 9.3 (i586)
VERSION = 9.3

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1105675104 (LWP 17225)]
[New Thread 1122388912 (LWP 17249)]
[Thread debugging using libthread_db enabled]
[New Thread 1105675104 (LWP 17225)]
[New Thread 1122388912 (LWP 17249)]
[Thread debugging using libthread_db enabled]
[New Thread 1105675104 (LWP 17225)]
[New Thread 1122388912 (LWP 17249)]
[KCrash handler]
#3  0x42724a8d in Catalog::query (this=0x8ee0930, args=@0xbfffaf40)
    
at /download/org/kdevelop/repository/root/kdevelop/lib/catalog/catalog.cpp:397
#4  0x426ca50d in CodeInformationRepository::query (this=0xbfffad10, 
    args=@0xbfffaf40)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/codeinformationrepository.cpp:65
#5  0x426a510d in CppCodeCompletion::computeCompletionEntryList (
    this=0x8ce2120, entryList=@0xbfffb780, type=@0xbfffb000, isInstance=false)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1955
#6  0x426a5a27 in CppCodeCompletion::computeCompletionEntryList (
    this=0x8ce2120, entryList=@0xbfffb780, klass={ptr = 0x8dfe410}, 
    isInstance=false)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:2038
#7  0x426a5420 in CppCodeCompletion::computeCompletionEntryList (
    this=0x8ce2120, entryList=@0xbfffb780, type=@0xbfffb710, isInstance=false)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1941
#8  0x426ab075 in CppCodeCompletion::completeText (this=0x8ce2120, 
    invokedOnDemand=true)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1234
#9  0x42682d7d in CppSupportPart::slotCompleteText (this=0x88968c0)
    
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppsupportpart.cpp:1018
#10 0x42687a3a in CppSupportPart::qt_invoke (this=0x88968c0, _id=25, 
    _o=0xbfffb8c0) at cppsupportpart.moc:226
#11 0x4157020e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x415709b6 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40e285d9 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#14 0x40f3b853 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#15 0x40f3b01d in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#16 0x4157020e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x415709b6 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x410bd7f9 in KAccelPrivate::menuItemActivated ()
   from /opt/kde3/lib/libkdecore.so.4
#19 0x41162ac9 in KAccelPrivate::eventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#20 0x41570aae in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x41570b90 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x415a62cf in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x4166d4a2 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x402bae81 in KMdiMainFrm::event () from /opt/kde3/lib/libkmdi.so.1
#25 0x4150da5f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4150fb41 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x41198971 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#28 0x4110e19d in KAccelEventHandler::x11Event ()
   from /opt/kde3/lib/libkdecore.so.4
#29 0x41191c3f in KApplication::x11EventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#30 0x41498a27 in qt_set_x11_event_filter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x414a928b in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x414ba9a8 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x415259f1 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x41525836 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x4150f4ef in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x0804edd0 in main (argc=1, argv=0xbfffc754)
    at /download/org/kdevelop/repository/root/kdevelop/src/main.cpp:145

-- 
Regards,
Steven




More information about the KDevelop-devel mailing list