From kdevelop-bugs Mon Jul 28 13:09:22 2008 From: Manuel Nickschas Date: Mon, 28 Jul 2008 13:09:22 +0000 To: kdevelop-bugs Subject: [Bug 167283] Segfault during background parsing Message-Id: <20080728130922.23150.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=121725070310855 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=167283 sputnick gmx net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WORKSFORME | ------- Additional Comments From sputnick gmx net 2008-07-28 15:09 ------- Have rebuilt everything completely, also removed my config files just to be sure, and I can still reproduce this on both machines with both projects :/ Also I've found out that with background parsing enabled, it doesn't even matter what I type where. Just entering anything anywhere in an open file leads to the crash after a few seconds. However, the backtrace slightly changed (still the same general area though): Application: KDevelop (kdevelop), signal SIGSEGV [Current thread is 0 (LWP 23402)] Thread 4 (Thread 0xb1daeb90 (LWP 23404)): #0 0xb6102fde in clock_gettime () from /lib/librt.so.1 #1 0xb7e2cde0 in QTimerInfoList::getTime () from /usr/lib/qt4/libQtCore.so.4 #2 0xb7e2ce7d in QTimerInfoList::updateCurrentTime () from /usr/lib/qt4/libQtCore.so.4 #3 0xb7e2d76a in QTimerInfoList::timerWait () from /usr/lib/qt4/libQtCore.so.4 #4 0xb7e2b77f in timerSourcePrepare () from /usr/lib/qt4/libQtCore.so.4 #5 0xb6069940 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0xb606a035 in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x085f8e18 in ?? () #8 0xb1dae238 in ?? () #9 0xb7c9c10e in pthread_mutex_lock () from /lib/libpthread.so.0 #10 0xb606a868 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #11 0xb7e2bc1d in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4 #12 0xb7e016ef in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4 #13 0xb7e01868 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4 #14 0xb7d1cda1 in QThread::exec () from /usr/lib/qt4/libQtCore.so.4 #15 0xb5fd986e in KDevelop::CodeCompletionWorker::run () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #16 0xb7d20150 in QThreadPrivate::start () from /usr/lib/qt4/libQtCore.so.4 #17 0xb7c9a047 in start_thread () from /lib/libpthread.so.0 #18 0xb61e59be in clone () from /lib/libc.so.6 Thread 3 (Thread 0xb15adb90 (LWP 23405)): #0 0xb7ee8424 in __kernel_vsyscall () #1 0xb61df501 in select () from /lib/libc.so.6 #2 0xb7de35e9 in QProcessManager::run () from /usr/lib/qt4/libQtCore.so.4 #3 0xb7d20150 in QThreadPrivate::start () from /usr/lib/qt4/libQtCore.so.4 #4 0xb7c9a047 in start_thread () from /lib/libpthread.so.0 #5 0xb61e59be in clone () from /lib/libc.so.6 Current language: auto; currently asm Thread 2 (Thread 0xb0bfbb90 (LWP 23518)): [KCrash Handler] #6 0xb5f9bc4c in KDevelop::Declaration::identifier () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #7 0xb5f81d83 in KDevelop::DUContext::localDeclarations () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #8 0xb240b10d in CppHighlighting::highlightDUChainSimple () from /usr/kde/svn/lib/kde4/kdevcpplanguagesupport.so #9 0xb240b6de in CppHighlighting::highlightDUChain () from /usr/kde/svn/lib/kde4/kdevcpplanguagesupport.so #10 0xb2403083 in CPPInternalParseJob::run () from /usr/kde/svn/lib/kde4/kdevcpplanguagesupport.so #11 0xb6fa9579 in ThreadWeaver::JobRunHelper::runTheJob () from /usr/kde/svn/lib/libthreadweaver.so.4 #12 0xb6fa98d0 in ThreadWeaver::Job::execute () from /usr/kde/svn/lib/libthreadweaver.so.4 #13 0xb6faaec0 in ThreadWeaver::JobCollectionJobRunner::execute () from /usr/kde/svn/lib/libthreadweaver.so.4 #14 0xb6fa86f7 in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/svn/lib/libthreadweaver.so.4 #15 0xb6fa8c92 in ThreadWeaver::Thread::run () from /usr/kde/svn/lib/libthreadweaver.so.4 #16 0xb7d20150 in QThreadPrivate::start () from /usr/lib/qt4/libQtCore.so.4 #17 0xb7c9a047 in start_thread () from /lib/libpthread.so.0 #18 0xb61e59be in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb5b69b30 (LWP 23402)): #0 0xb7ee8424 in __kernel_vsyscall () #1 0xb7c9e445 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0 #2 0xb7d20bbe in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4 #3 0xb7d1fd9a in QThread::wait () from /usr/lib/qt4/libQtCore.so.4 #4 0xb7de41f1 in QProcessManager::~QProcessManager () from /usr/lib/qt4/libQtCore.so.4 #5 0xb7de2a94 in __tcf_0 () from /usr/lib/qt4/libQtCore.so.4 #6 0xb614f992 in exit () from /lib/libc.so.6 #7 0xb64e373f in ?? () from /usr/lib/qt4/libQtGui.so.4 #8 0xb7712155 in KApplication::xioErrhandler () from /usr/kde/svn/lib/libkdeui.so.5 #9 0xb7712190 in kde_xio_errhandler () from /usr/kde/svn/lib/libkdeui.so.5 #10 0xb738a1eb in _XIOError () from /usr/lib/libX11.so.6 #11 0xb7390974 in _XPutXCBBuffer () from /usr/lib/libX11.so.6 #12 0xb7390cb5 in ?? () from /usr/lib/libX11.so.6 #13 0x080cd770 in ?? () #14 0x00000070 in ?? () #15 0xb7367683 in XCreateGC () from /usr/lib/libX11.so.6 #16 0xb73836e6 in XSetClipRectangles () from /usr/lib/libX11.so.6 #17 0xb6640a14 in ?? () from /usr/lib/qt4/libQtGui.so.4 #18 0xb663c36f in ?? () from /usr/lib/qt4/libQtGui.so.4 #19 0xb663dfcb in ?? () from /usr/lib/qt4/libQtGui.so.4 #20 0xb663e689 in ?? () from /usr/lib/qt4/libQtGui.so.4 #21 0xb64df2e9 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4 #22 0xb683b6a5 in QMainWindow::event () from /usr/lib/qt4/libQtGui.so.4 #23 0xb77cd6d0 in KMainWindow::event () from /usr/kde/svn/lib/libkdeui.so.5 #24 0xb780a10d in KXmlGuiWindow::event () from /usr/kde/svn/lib/libkdeui.so.5 #25 0xb6487562 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4 #26 0xb648b2ab in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4 #27 0xb771270c in KApplication::notify () from /usr/kde/svn/lib/libkdeui.so.5 #28 0xb7e022f1 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #29 0xb65074a2 in QWidgetPrivate::dirtyWidget_sys () from /usr/lib/qt4/libQtGui.so.4 #30 0xb663c5e5 in ?? () from /usr/lib/qt4/libQtGui.so.4 #31 0xb663e408 in QWidget::repaint () from /usr/lib/qt4/libQtGui.so.4 #32 0xb64d5476 in QWidget::repaint () from /usr/lib/qt4/libQtGui.so.4 #33 0xb6889ee6 in QStatusBar::reformat () from /usr/lib/qt4/libQtGui.so.4 #34 0xb688aa4d in QStatusBar::insertPermanentWidget () from /usr/lib/qt4/libQtGui.so.4 #35 0xb688ab23 in QStatusBar::addPermanentWidget () from /usr/lib/qt4/libQtGui.so.4 #36 0xb78d0926 in KDevelop::StatusBar::showProgress () from /usr/kde/svn/lib/libkdevplatformshell.so.1 #37 0xb78d18e8 in KDevelop::StatusBar::qt_metacall () from /usr/kde/svn/lib/libkdevplatformshell.so.1 #38 0xb7e16129 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #39 0xb7e16798 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #40 0xb5f6bcdc in KDevelop::BackgroundParser::showProgress () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #41 0xb5f6ca4b in KDevelop::BackgroundParser::updateProgressBar () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #42 0xb5f7043e in KDevelop::BackgroundParserPrivate::parseDocumentsInternal () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #43 0xb5f6e028 in KDevelop::BackgroundParser::parseDocuments () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #44 0xb5f6e128 in KDevelop::BackgroundParser::qt_metacall () from /usr/kde/svn/lib/libkdevplatformlanguage.so.1 #45 0xb7e16129 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #46 0xb7e16798 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4 #47 0xb7e512ed in QTimer::timeout () from /usr/lib/qt4/libQtCore.so.4 #48 0xb7e1cc46 in QTimer::timerEvent () from /usr/lib/qt4/libQtCore.so.4 #49 0xb7e11f7d in QObject::event () from /usr/lib/qt4/libQtCore.so.4 #50 0xb6487562 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4 #51 0xb648b39a in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4 #52 0xb771270c in KApplication::notify () from /usr/kde/svn/lib/libkdeui.so.5 #53 0xb7e022f1 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #54 0xb7e2dc5e in QTimerInfoList::activateTimers () from /usr/lib/qt4/libQtCore.so.4 #55 0xb7e2b712 in timerSourceDispatch () from /usr/lib/qt4/libQtCore.so.4 #56 0xb60672ae in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #57 0xb606a3e6 in ?? () from /usr/lib/libglib-2.0.so.0 #58 0x080c4240 in ?? () #59 0x00000000 in ?? () I really hope that helps somehow. Otherwise, if I can help you debug in any way, please let me know! I miss background parsing... :/ _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs