Bug 121982 - Cpp parser crashs when parsing boost headers
Summary: Cpp parser crashs when parsing boost headers
Status: RESOLVED DUPLICATE of bug 83468
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 3.3.1
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 23:02 UTC by codeur
Modified: 2013-03-31 00:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description codeur 2006-02-14 23:02:13 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
Compiler:          g++ 4.0.3 
OS:                Linux

== Loaded plugins ==

Default selection.

== Reproducing the bug ==

Cpp parser crashs when parsing boost headers. To reproduce the bug :

1) Install boost (www.boost.org), for instance in /usr/local. You will have the following directory :
/usr/local/include/boost-1_33_1/

2) Open a C++ project in kdevelop
3) Click on project/project options/C++ specific/Code completion/Add.../, select Kdevelop custom directory PCS importer/ click on next select with the directory icon the directory "/usr/local/include/boost-1_33_1/"  click on Add, choose a database name, for instance "Boost" click on 'next'. KDevelop crashs after parsing some files.

== Backtrace ==

Here is the backtrace :

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1241007200 (LWP 6260)]
[New Thread -1253626960 (LWP 6263)]
[KCrash handler]
#5  0xb6b9e671 in QGList::QGList () from /usr/lib/libqt-mt.so.3
#6  0xb5850350 in TagCreator::parseBaseClause ()
   from /usr/lib/kde3/libkdevcppsupport.so
#7  0xb5852730 in TagCreator::parseClassSpecifier ()
   from /usr/lib/kde3/libkdevcppsupport.so
#8  0xb56ef2ea in TreeParser::parseTypeSpecifier ()
   from /usr/lib/libkdevcppparser.so.0
#9  0xb584e99f in TagCreator::parseSimpleDeclaration ()
   from /usr/lib/kde3/libkdevcppsupport.so
#10 0xb56ef3cb in TreeParser::parseDeclaration ()
   from /usr/lib/libkdevcppparser.so.0
#11 0xb584e7c0 in TagCreator::parseDeclaration ()
   from /usr/lib/kde3/libkdevcppsupport.so
#12 0xb584e84c in TagCreator::parseTemplateDeclaration ()
   from /usr/lib/kde3/libkdevcppsupport.so
#13 0xb56ef3dd in TreeParser::parseDeclaration ()
   from /usr/lib/libkdevcppparser.so.0
#14 0xb584e7c0 in TagCreator::parseDeclaration ()
   from /usr/lib/kde3/libkdevcppsupport.so
#15 0xb584e923 in TagCreator::parseLinkageBody ()
   from /usr/lib/kde3/libkdevcppsupport.so
#16 0xb56ef33d in TreeParser::parseNamespace ()
   from /usr/lib/libkdevcppparser.so.0
#17 0xb5850fdc in TagCreator::parseNamespace ()
   from /usr/lib/kde3/libkdevcppsupport.so
#18 0xb56ef437 in TreeParser::parseDeclaration ()
   from /usr/lib/libkdevcppparser.so.0
#19 0xb584e7c0 in TagCreator::parseDeclaration ()
   from /usr/lib/kde3/libkdevcppsupport.so
#20 0xb56ef523 in TreeParser::parseTranslationUnit ()
   from /usr/lib/libkdevcppparser.so.0
#21 0xb584f770 in TagCreator::parseTranslationUnit ()
   from /usr/lib/kde3/libkdevcppsupport.so
#22 0xb58898fc in CreatePCSDialog::RppDriver::fileParsed ()
   from /usr/lib/kde3/libkdevcppsupport.so
#23 0xb56af715 in Driver::parseFile () from /usr/lib/libkdevcppparser.so.0
#24 0xb588884b in CreatePCSDialog::slotSelected ()
   from /usr/lib/kde3/libkdevcppsupport.so
#25 0xb58ab8a4 in CreatePCSDialogBase::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#26 0xb5887f9c in CreatePCSDialog::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#27 0xb689cb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#28 0xb689d0bd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#29 0xb6c5eb4e in QWizard::selected () from /usr/lib/libqt-mt.so.3
#30 0xb6a7fb27 in QWizard::showPage () from /usr/lib/libqt-mt.so.3
#31 0xb6a7e7dd in QWizard::next () from /usr/lib/libqt-mt.so.3
#32 0xb5887e8c in CreatePCSDialog::next ()
   from /usr/lib/kde3/libkdevcppsupport.so
#33 0xb6c5edb3 in QWizard::qt_invoke () from /usr/lib/libqt-mt.so.3
#34 0xb71da66b in KWizard::qt_invoke () from /usr/lib/libkdeui.so.4
#35 0xb58ab8cc in CreatePCSDialogBase::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#36 0xb5887f9c in CreatePCSDialog::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#37 0xb689cb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#38 0xb689d63b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#39 0xb6c3504e in QButton::clicked () from /usr/lib/libqt-mt.so.3
#40 0xb693a6b7 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#41 0xb68d7ec6 in QWidget::event () from /usr/lib/libqt-mt.so.3
#42 0xb6832698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#43 0xb6832c6b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#44 0xb6fdbd4e in KApplication::notify () from /usr/lib/libkdecore.so.4
#45 0xb67c2653 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#46 0xb67bdae4 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#47 0xb67bbdbe in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#48 0xb67d58c0 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#49 0xb684ada2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#50 0xb6831255 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#51 0xb6a51cf6 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#52 0xb5822d31 in CCConfigWidget::slotNewPCS ()
   from /usr/lib/kde3/libkdevcppsupport.so
#53 0xb5893deb in CCConfigWidgetBase::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#54 0xb582567c in CCConfigWidget::qt_invoke ()
   from /usr/lib/kde3/libkdevcppsupport.so
#55 0xb689cb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#56 0xb689d63b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#57 0xb6c3504e in QButton::clicked () from /usr/lib/libqt-mt.so.3
#58 0xb693a6b7 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#59 0xb68d7ec6 in QWidget::event () from /usr/lib/libqt-mt.so.3
#60 0xb6832698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#61 0xb6832c6b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#62 0xb6fdbd4e in KApplication::notify () from /usr/lib/libkdecore.so.4
#63 0xb67c2653 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#64 0xb67bdae4 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#65 0xb67bbdbe in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#66 0xb67d58c0 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#67 0xb684ada2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#68 0xb6831255 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#69 0xb6a51cf6 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#70 0xb7fcda32 in ProjectManager::slotProjectOptions ()
   from /usr/lib/libkdevshell.so.0
#71 0xb7fd1e08 in ProjectManager::qt_invoke () from /usr/lib/libkdevshell.so.0
#72 0xb689cb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#73 0xb689d63b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#74 0xb71e0d69 in KAction::activated () from /usr/lib/libkdeui.so.4
#75 0xb721abf1 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#76 0xb7239c1e in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#77 0xb7239ef1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#78 0xb689cb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#79 0xb6c2d055 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#80 0xb68baa40 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#81 0xb69c46c3 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#82 0xb71ee141 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#83 0xb68d7ec6 in QWidget::event () from /usr/lib/libqt-mt.so.3
#84 0xb6832698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#85 0xb6832c6b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#86 0xb6fdbd4e in KApplication::notify () from /usr/lib/libkdecore.so.4
#87 0xb67c2653 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#88 0xb67bd878 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#89 0xb67bbdbe in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#90 0xb67d58c0 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#91 0xb684ada2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#92 0xb684accb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#93 0xb6831225 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#94 0x0804e208 in main ()
Comment 1 codeur 2006-02-14 23:04:17 UTC
Sorry but I mispecified my version : it's the latest kdevelop available on the site, compiled from sources.
Comment 2 Amilcar do Carmo Lucas 2006-02-15 11:15:38 UTC
I think this is a duplicate
Comment 3 Amilcar do Carmo Lucas 2006-02-15 11:28:28 UTC

*** This bug has been marked as a duplicate of 83468 ***
Comment 4 Aleix Pol 2013-03-31 00:46:53 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively