From kdevelop-bugs Thu Dec 31 20:49:07 2009 From: Belhorma Bendebiche Date: Thu, 31 Dec 2009 20:49:07 +0000 To: kdevelop-bugs Subject: [Bug 220845] New: kdevelop crashes when opening a file Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=126229269230427 https://bugs.kde.org/show_bug.cgi?id=220845 Summary: kdevelop crashes when opening a file Product: kdevelop Version: unspecified Platform: Unlisted Binaries OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: saziel@gmail.com Application that crashed: kdevelop Version of the application: 3.9.97 (using KDevPlatform 0.9.97) KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.2 Operating System: Linux 2.6.31-15-generic i686 Distribution: Ubuntu 9.10 What I was doing when the application crashed: This happens when I try to open a C++ or CMakeLists.txt file. I don't know if it happens for different filetypes as well, testing again is difficult as I must first delete the session file (or it will crash again on startup). This started after updating from svn earlier today (revision 1068314). Though I can't pinpoint which revision caused it, it can't be older than a week as that's about when I last updated. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb7793700 (LWP 21650))] Thread 6 (Thread 0xb4023b70 (LWP 21652)): #0 0x00870422 in __kernel_vsyscall () #1 0x00b37142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x01f717e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0x00bc6def in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0x013aceb5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8c43520) at /home/amro/code/kdevplatform/language/duchain/duchain.cpp:286 #5 0x00bc5e32 in ?? () from /usr/lib/libQtCore.so.4 #6 0x00b3280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x01f647ee in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (Thread 0xb3822b70 (LWP 21653)): #0 0x00870422 in __kernel_vsyscall () #1 0x01f5d981 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x00c934c3 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00c9367a in ?? () from /usr/lib/libQtCore.so.4 #4 0x00c542ce in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4 #5 0x01906906 in CMakeProjectVisitor::visit (this=0xb3821e2c, exec=0xaedc1fe0) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1290 #6 0x018dfc68 in ExecuteProcessAst::accept (this=0xaedc1fe0, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:226 #7 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=3, isClean=false) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #8 0x019081f8 in CMakeProjectVisitor::visit (this=0xb3821e2c, ifast=0xae50e868) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198 #9 0x018dfeb8 in IfAst::accept (this=0xae50e868, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426 #10 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=1, isClean=false) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #11 0x018f7f75 in CMakeProjectVisitor::visit (this=0xb3821e2c, call=0xae50a898) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1074 #12 0x018dfa38 in MacroCallAst::accept (this=0xae50a898, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:107 #13 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=630, isClean=false) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #14 0x019081f8 in CMakeProjectVisitor::visit (this=0xb3821e2c, ifast=0xaedcc078) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198 #15 0x018dfeb8 in IfAst::accept (this=0xaedcc078, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426 #16 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=629, isClean=false) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #17 0x019081f8 in CMakeProjectVisitor::visit (this=0xb3821e2c, ifast=0xaedc7f18) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198 #18 0x018dfeb8 in IfAst::accept (this=0xaedc7f18, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426 #19 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=102, isClean=true) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #20 0x018fda09 in CMakeProjectVisitor::visit (this=0xb3821e2c, pack=0xaedd2ec8) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584 #21 0x018dfd18 in FindPackageAst::accept (this=0xaedd2ec8, visitor=0xb3821e2c) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307 #22 0x018f50e4 in CMakeProjectVisitor::walk (this=0xb3821e2c, fc=..., line=8, isClean=false) at /home/amro/code/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057 #23 0x06458c79 in CMakeManager::parse (this=0x8ccfb40, item=0x8cc9838) at /home/amro/code/kdevelop/projectmanagers/cmake/cmakemanager.cpp:405 #24 0x00858f80 in KDevelop::ImportProjectJobPrivate::import (this=0x8c34a20, folder=0x8cc9838) at /home/amro/code/kdevplatform/project/importprojectjob.cpp:53 #25 0x00858a74 in QtConcurrent::VoidStoredMemberFunctionPointerCall1::runFunctor (this=0x8c34aa0) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426 #26 0x00858d9e in QtConcurrent::RunFunctionTask::run (this=0x8c34aa0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120 #27 0x00bbb8d7 in ?? () from /usr/lib/libQtCore.so.4 #28 0x00bc5e32 in ?? () from /usr/lib/libQtCore.so.4 #29 0x00b3280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #30 0x01f647ee in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 0xb0633b70 (LWP 21798)): #0 0x00870422 in __kernel_vsyscall () #1 0x01f56ba6 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x0227153b in g_poll () from /lib/libglib-2.0.so.0 #3 0x0226455b in ?? () from /lib/libglib-2.0.so.0 #4 0x02264853 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x00ce1067 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #6 0x00cb4c79 in QEventLoop::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #7 0x00cb50ca in QEventLoop::exec(QFlags) () from /usr/lib/libQtCore.so.4 #8 0x00bc2b73 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x014b5cc0 in KDevelop::CompletionWorkerThread::run (this=0x90ef290) at /home/amro/code/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82 #10 0x00bc5e32 in ?? () from /usr/lib/libQtCore.so.4 #11 0x00b3280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #12 0x01f647ee in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xafe32b70 (LWP 21799)): #0 0x00870422 in __kernel_vsyscall () #1 0x01f56ba6 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x0227153b in g_poll () from /lib/libglib-2.0.so.0 #3 0x0226455b in ?? () from /lib/libglib-2.0.so.0 #4 0x02264853 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x00ce1067 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #6 0x00cb4c79 in QEventLoop::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #7 0x00cb50ca in QEventLoop::exec(QFlags) () from /usr/lib/libQtCore.so.4 #8 0x00bc2b73 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x014b5cc0 in KDevelop::CompletionWorkerThread::run (this=0x90f8960) at /home/amro/code/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82 #10 0x00bc5e32 in ?? () from /usr/lib/libQtCore.so.4 #11 0x00b3280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #12 0x01f647ee in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xaf631b70 (LWP 21800)): #0 0x00870422 in __kernel_vsyscall () #1 0x00b37142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x01f717e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0x00bc581e in ?? () from /usr/lib/libQtCore.so.4 #4 0x00bc5973 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4 #5 0x062c1f6b in UIBlockTester::UIBlockTesterThread::run (this=0x9147ba8) at /home/amro/code/kdevelop/languages/cpp/cpplanguagesupport.cpp:672 #6 0x00bc5e32 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00b3280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0x01f647ee in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7793700 (LWP 21650)): [KCrash Handler] #6 0x07f6642a in SourceFormatterPlugin::activeDocumentChanged (this=0x8efc990, doc=0x90e6ab8) at /home/amro/code/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp:184 #7 0x07f665e7 in SourceFormatterPlugin::qt_metacall (this=0x8efc990, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe03448) at /home/amro/code/kdevplatform/plugins/sourceformatter/sourceformatterplugin.moc:74 #8 0x00ccc263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #9 0x00cccec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #10 0x00560dd3 in KDevelop::IDocumentController::documentActivated (this=0x8bdb9c0, _t1=0x90e6ab8) at /home/amro/code/kdevplatform/interfaces/idocumentcontroller.moc:205 #11 0x0055e7f6 in KDevelop::IDocument::notifyActivated (this=0x90e6ab8) at /home/amro/code/kdevplatform/interfaces/idocument.cpp:79 #12 0x00e69d35 in KDevelop::PartDocument::activate (this=0x90e6aa8, activeView=0x8f72220, mainWindow=0x8aeca38) at /home/amro/code/kdevplatform/shell/partdocument.cpp:172 #13 0x00e44fdb in KDevelop::MainWindowPrivate::changeActiveView (this=0x8b1f7b0, view=0x8f72220) at /home/amro/code/kdevplatform/shell/mainwindow_p.cpp:188 #14 0x00e465d6 in KDevelop::MainWindowPrivate::qt_metacall (this=0x8b1f7b0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe03748) at /home/amro/code/kdevplatform/shell/mainwindow_p.moc:122 #15 0x00ccc263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00cccec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #17 0x0626fee3 in Sublime::MainWindow::activeViewChanged (this=0x8aeca38, _t1=0x8f72220) at /home/amro/code/kdevplatform/sublime/mainwindow.moc:143 #18 0x062701a5 in Sublime::MainWindow::setActiveView (this=0x8aeca38, view=0x8f72220) at /home/amro/code/kdevplatform/sublime/mainwindow.cpp:206 #19 0x062703dc in Sublime::MainWindow::activateView (this=0x8aeca38, view=0x8f72220) at /home/amro/code/kdevplatform/sublime/mainwindow.cpp:192 #20 0x00e3517b in KDevelop::WorkingSet::loadToArea (this=0x8ea4d28, area=0x8b5d058, areaIndex=0x8b5d038, clear=false) at /home/amro/code/kdevplatform/shell/workingsetcontroller.cpp:341 #21 0x00e38337 in KDevelop::WorkingSet::changedWorkingSet (this=0x8ea4d28, area=0x8b5d058, from=..., to=...) at /home/amro/code/kdevplatform/shell/workingsetcontroller.cpp:639 #22 0x00e3860c in KDevelop::WorkingSet::qt_metacall (this=0x8ea4d28, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x8f71088) at /home/amro/code/kdevplatform/shell/workingsetcontroller.moc:84 #23 0x00cc4f0b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #24 0x00cc65fe in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #25 0x02ea9f54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #26 0x02eb167c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #27 0x083a4bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #28 0x00cb66cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #29 0x00cb72b2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #30 0x00cb747d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #31 0x00ce13ff in ?? () from /usr/lib/libQtCore.so.4 #32 0x02260e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #33 0x02264720 in ?? () from /lib/libglib-2.0.so.0 #34 0x02264853 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #35 0x00ce102c in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #36 0x02f4abe5 in ?? () from /usr/lib/libQtGui.so.4 #37 0x00cb4c79 in QEventLoop::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #38 0x00cb50ca in QEventLoop::exec(QFlags) () from /usr/lib/libQtCore.so.4 #39 0x00cb753f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #40 0x02ea9dd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #41 0x0804ddcb in main (argc=1, argv=0xbfe04774) at /home/amro/code/kdevelop/app/main.cpp:213 Reported using DrKonqi -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs