Bug 74680 - SIGSEGV & Cannot create language plugin for C++
Summary: SIGSEGV & Cannot create language plugin for C++
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: RedHat Enterprise Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 05:47 UTC by Brian Alan Homeyer
Modified: 2004-02-12 16:01 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 Brian Alan Homeyer 2004-02-09 05:47:21 UTC
Version:           3.0 (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
OS:          Linux

When starting a new project via the wizard, I get "Could not create language plugin for C++", then if I try to go Setting-->Configure KDevelop I get the following : 

(no debugging symbols found)...(no debugging symbols found)...[New Thread 1097836576 (LWP 7420)]
0xffffe002 in ??
    ()
#0  0xffffe002 in ?? ()
#1  0x40bfa4ce in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x4112e62e in QDomNode::operator=(QDomNode const&) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#4  0x41136fc2 in QDomDocument::operator=(QDomDocument const&) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#5  0x41ce7de8 in DocTreeGlobalConfigWidget::DocTreeGlobalConfigWidget(DocTreeViewPart*, DocTreeViewWidget*, QWidget*, char const*) ()
   from /usr/lib/kde3/libkdevdoctreeview.so
#6  0x41ccf683 in DocTreeViewPart::configWidget(KDialogBase*) ()
   from /usr/lib/kde3/libkdevdoctreeview.so
#7  0x41cd0a14 in DocTreeViewPart::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevdoctreeview.so
#8  0x40f7a072 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#9  0x404e323d in KDevCore::configWidget(KDialogBase*) ()
   from /usr/lib/libkdevelop.so.1
#10 0x0808a9d7 in KHTMLPart::metaObject() const ()
#11 0x0808b78c in KHTMLPart::metaObject() const ()
#12 0x40f7a0e6 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#13 0x40f79f74 in QObject::activate_signal(int) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#14 0x409919ce in KAction::activated() () from /usr/lib/libkdeui.so.4
#15 0x40991477 in KAction::slotActivated() () from /usr/lib/libkdeui.so.4
#16 0x40991b5e in KAction::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdeui.so.4
#17 0x40f7a0e6 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#18 0x411d352e in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#19 0x40f8e4d9 in QSignal::activate() () from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#20 0x41046d2e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#21 0x40fa33d4 in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#22 0x40f31944 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#23 0x40f31212 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#24 0x40b8d467 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#25 0x40edcf41 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#26 0x40edb051 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#27 0x40eed86d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#28 0x40f402d9 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#29 0x40f401ab in QEventLoop::exec() () from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#30 0x40f31b14 in QApplication::exec() ()
   from /usr/lib/qt-3.2/lib/libqt-mt.so.3
#31 0x080626fa in QGListIterator::~QGListIterator() ()
#32 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
Comment 1 Jens Dagerbo 2004-02-09 09:05:59 UTC
Hmm.. I doubt this is an "important" crash (but it should or course be fixed) it probably comes about because KDevelop is in an "undefined state". The reported error should be considered a terminal failure when a C++ project is loaded, it's an install issue, not a settings issue.

The failure to find the find the C++ language plugin has come up before in the mailinglists. IIRC Berkeley DB is commonly involved (again). Try running KDevelop from a terminal and see if you get any debug output when the error occurs. A relocation error in particular is something to watch for.
Comment 2 Amilcar do Carmo Lucas 2004-02-09 10:10:26 UTC
IMHO you simply forgot to run kbuildsycoca. At least that was the message I used to get when I forgot about it :)
Comment 3 Brian Alan Homeyer 2004-02-09 22:45:29 UTC
I wish that was the case.  This is all I get when running from shell : 

[user1@localhost usr]# kdevelop
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect: (sender name: 'subversion_add')
QObject::connect: (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect: (sender name: 'subversion_remove')
QObject::connect: (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect: (sender name: 'subversion_ignore')
QObject::connect: (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect: (sender name: 'subversion_donot_ignore')
QObject::connect: (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect: (sender name: 'unnamed')
QObject::connect: (receiver name: 'Subversion')
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)

I am actively watching my thread on the KDev forums for information, non of which at this point have solved the problem.  
Comment 4 Jens Dagerbo 2004-02-09 23:15:31 UTC
Please run "ldd -r </path/to/>libkdevcppsupport.so" and see if this reports any undefined symbols.
Comment 5 Brian Alan Homeyer 2004-02-10 02:49:01 UTC
I got the following for the above command : 

[root@localhost kde3]# ldd -r libkdevcppsupport.so
        libkdevelop.so.1 => /usr/lib/libkdevelop.so.1 (0x400f4000)
        libpropertyeditor.so.0 => /usr/lib/libpropertyeditor.so.0 (0x40182000)
        libktexteditor.so.0 => /usr/lib/libktexteditor.so.0 (0x401a5000)
        libkparts.so.2 => /usr/lib/libkparts.so.2 (0x401d5000)
        libkio.so.4 => /usr/lib/libkio.so.4 (0x40214000)
        libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0x404d1000)
        libkdesu.so.4 => /usr/lib/libkdesu.so.4 (0x40735000)
        libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0x4074d000)
        libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0x40905000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40935000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40947000)
        libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0x4095d000)
        libqt-mt.so.3 => /usr/lib/qt-3.2/lib/libqt-mt.so.3 (0x40986000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x40f3e000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40f82000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x40fa0000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40fe4000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40ffa000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40fff000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x41008000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4101a000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4106b000)
        libdl.so.2 => /lib/libdl.so.2 (0x41090000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x41094000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x410b8000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x410c6000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x411a5000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x411ae000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x411c5000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x411d3000)
        libutil.so.1 => /lib/libutil.so.1 (0x411dc000)
        libz.so.1 => /usr/lib/libz.so.1 (0x411df000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x411ed000)
        libkdevcatalog.so.0 => /usr/lib/libkdevcatalog.so.0 (0x411f6000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x411fa000)
        libkdevcppparser.so.0 => /usr/lib/libkdevcppparser.so.0 (0x412c9000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x41323000)
        libm.so.6 => /lib/tls/libm.so.6 (0x413d6000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x413f8000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x41401000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41453000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Comment 6 Jens Dagerbo 2004-02-10 04:45:50 UTC
Hmm.. nothing apparently missing there. No idea.
Comment 7 Brian Alan Homeyer 2004-02-12 16:01:42 UTC
For some reason, libdb was listed there, but re-installing it (rpm -ivh) solved the ONE problem.  I can now start projects, but occassionally still get a SIG when I am entering the config dialog.  If I get any new debug information it will be posted here.  (I am marking this as solved, due to the one problem being fixed. )

Thank you.