Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2)) KDE Platform Version: 4.5.2 (KDE 4.5.2) Qt Version: 4.7.0 Operating System: Linux 2.6.34-gentoo-r11 x86_64 -- Information about the crash: - What I was doing when the application crashed:run kdevelop - Unusual behavior I noticed:no - Custom settings of the application: CFLAGS="-march=native -O2 -pipe -msse4" CHOST="x86_64-pc-linux-gnu" USE="cmake cxx linguas_en_GB qmake" The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.1/libstdc++.so.6.0.14-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers [Current thread is 1 (Thread 0x7f4c9a390760 (LWP 8014))] Thread 5 (Thread 0x7f4c87fca710 (LWP 8015)): #0 0x00007f4c975bb659 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f4c98b12d11 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f4c94b974fe in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib/libkdevplatformlanguage.so.1 #3 0x00007f4c98b126be in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f4c975b69e6 in start_thread () from /lib/libpthread.so.0 #5 0x00007f4c9789c92d in clone () from /lib/libc.so.6 Thread 4 (Thread 0x7f4c8088c710 (LWP 8026)): #0 0x00007f4c97893bd3 in poll () from /lib/libc.so.6 #1 0x00007f4c924bf5b4 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0 #2 0x00007f4c924bfaed in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f4c98c254d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f4c98bf99a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f4c98bf9be4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f4c98b0fef4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f4c98b126be in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f4c975b69e6 in start_thread () from /lib/libpthread.so.0 #9 0x00007f4c9789c92d in clone () from /lib/libc.so.6 Thread 3 (Thread 0x7f4c7bfff710 (LWP 8027)): #0 0x00007f4c97893bd3 in poll () from /lib/libc.so.6 #1 0x00007f4c924bf5b4 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0 #2 0x00007f4c924bfaed in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f4c98c254d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f4c98bf99a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f4c98bf9be4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f4c98b0fef4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f4c98b126be in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f4c975b69e6 in start_thread () from /lib/libpthread.so.0 #9 0x00007f4c9789c92d in clone () from /lib/libc.so.6 Thread 2 (Thread 0x7f4c7b7fe710 (LWP 8028)): #0 0x00007f4c975bb659 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f4c98b12485 in thread_sleep(timespec*) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f4c98b125e0 in QThread::msleep(unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f4c81134321 in UIBlockTester::UIBlockTesterThread::run() () from /usr/lib64/kde4/kdevcpplanguagesupport.so #4 0x00007f4c98b126be in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f4c975b69e6 in start_thread () from /lib/libpthread.so.0 #6 0x00007f4c9789c92d in clone () from /lib/libc.so.6 Thread 1 (Thread 0x7f4c9a390760 (LWP 8014)): [KCrash Handler] #6 0x00007f4c94cbc9d6 in KDevelop::ConfigurableHighlightingColors::getAttribute(int) const () from /usr/lib/libkdevplatformlanguage.so.1 #7 0x00007f4c94cbfa76 in KDevelop::CodeHighlighting::attributeForType(KDevelop::HighlightingEnumContainer::Types, KDevelop::HighlightingEnumContainer::Contexts, QColor const&) const () from /usr/lib/libkdevplatformlanguage.so.1 #8 0x00007f4c94cc0bb9 in KDevelop::CodeHighlightingInstance::highlightDeclaration(KDevelop::Declaration*, QColor const&) const () from /usr/lib/libkdevplatformlanguage.so.1 #9 0x00007f4c94cc2d2b in KDevelop::CodeHighlightingInstance::highlightDUChainSimple(KDevelop::DUContext*) const () from /usr/lib/libkdevplatformlanguage.so.1 #10 0x00007f4c94cc2f0d in KDevelop::CodeHighlightingInstance::highlightDUChain(KDevelop::DUContext*) const () from /usr/lib/libkdevplatformlanguage.so.1 #11 0x00007f4c94cc3130 in KDevelop::CodeHighlighting::highlightDUChain(KDevelop::TopDUContext*) const () from /usr/lib/libkdevplatformlanguage.so.1 #12 0x00007f4c94b82905 in KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*) () from /usr/lib/libkdevplatformlanguage.so.1 #13 0x00007f4c94b84457 in KDevelop::DUChain::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformlanguage.so.1 #14 0x00007f4c98c0ec57 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #15 0x00007f4c99aee532 in KDevelop::IDocumentController::documentLoadedPrepare(KDevelop::IDocument*) () from /usr/lib/libkdevplatforminterfaces.so.1 #16 0x00007f4c99aec510 in KDevelop::IDocument::notifyLoaded() () from /usr/lib/libkdevplatforminterfaces.so.1 #17 0x00007f4c998425e8 in KDevelop::TextDocument::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.1 #18 0x00007f4c98c0ec57 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #19 0x00007f4c9958fee2 in KTextEditor::Document::textChanged(KTextEditor::Document*) () from /usr/lib/libktexteditor.so.4 #20 0x00007f4c7aa8082d in KateDocument::openFile() () from /usr/lib/libkatepartinterfaces.so.4 #21 0x00007f4c96741ff6 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #22 0x00007f4c998423ec in KDevelop::TextDocument::createViewWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.1 #23 0x00007f4c99841d97 in KDevelop::TextView::createWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.1 #24 0x00007f4c948bcc36 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1 #25 0x00007f4c948ba433 in Sublime::MainWindowPrivate::ViewCreator::operator()(Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #26 0x00007f4c948bc548 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #27 0x00007f4c948bb0f7 in Sublime::MainWindowPrivate::reconstruct() () from /usr/lib/libsublime.so.1 #28 0x00007f4c948b3d32 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1 #29 0x00007f4c99813713 in KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) () from /usr/lib/libkdevplatformshell.so.1 #30 0x00007f4c99813e60 in KDevelop::WorkingSet::changedWorkingSet(Sublime::Area*, QString, QString) () from /usr/lib/libkdevplatformshell.so.1 #31 0x00007f4c99814351 in KDevelop::WorkingSet::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.1 #32 0x00007f4c98c0e75a in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007f4c97ff72c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #34 0x00007f4c97ffbcba in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #35 0x00007f4c99159146 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #36 0x00007f4c98bfa5fb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #37 0x00007f4c98bfdd74 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #38 0x00007f4c98c252e3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4 #39 0x00007f4c924bf072 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0x00007f4c924bf850 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0 #41 0x00007f4c924bfaed in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #42 0x00007f4c98c2547f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #43 0x00007f4c9809a8ce in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4 #44 0x00007f4c98bf99a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #45 0x00007f4c98bf9be4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #46 0x00007f4c98bfe02b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #47 0x0000000000408ca4 in main () Possible duplicates by query: bug 253617, bug 252389, bug 252029, bug 251758, bug 251275. Reported using DrKonqi
does it work when you properly set KDEDIRS and ran kbuildsycoca4 and launch kdevelop through the command line? See duplicate bug and this howto: http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/Compile If it pertains, please reopen bug 251758 and send me a valgrind log: kdevelop --sessions # then find the {...hash...} for your session, now: KDEV_SESSION={...hash...} valgrind --track-origins=yes --num-callers=25 kdevelop.bin thanks *** This bug has been marked as a duplicate of bug 251758 ***
sorry, this is the correct link: http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling