From kdevelop-bugs Wed Dec 30 18:26:02 2009 From: Shaun Reich Date: Wed, 30 Dec 2009 18:26:02 +0000 To: kdevelop-bugs Subject: [Bug 220717] New: KDevelop crashes on load of a source file Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=126219766428090 https://bugs.kde.org/show_bug.cgi?id=220717 Summary: KDevelop crashes on load of a source file [SourceFormatterPlugin::activeDocumentChanged, SourceFormatterPlugin::qt_metacall, QMetaObject::metacall] Product: kdevelop Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: NEW Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: shaun.reich@kdemail.net Application: kdevelop (3.9.97 (using KDevPlatform 0.9.97)) KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) (Compiled from sources) Qt Version: 4.6.0 Operating System: Linux 2.6.31-ARCH i686 Distribution (Platform): Archlinux Packages -- Information about the crash: Greetings.. I have cleaned all of the settings I could find, the .kdev4 files, KDevelop starts up properly, but when I try to load a source file (any of many), it crashes. I didn't load any projects or anything. I was getting the same crash (I think) before I had cleaned out the settings, except it was *right* when it started and tried to automatically load the files. It seems like it happened quite recently, as it was stable a few days ago. Looks like yesterday's trunk *may* have broken it? Don't quote me on it though. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb3cc6980 (LWP 29113))] Thread 6 (Thread 0xb0c06b70 (LWP 29114)): #0 0xb782c424 in __kernel_vsyscall () #1 0xb6051182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb6100711 in QWaitConditionPrivate::wait (this=0x8c15e10, time=200000) at thread/qwaitcondition_unix.cpp:85 #3 0xb610052f in QWaitCondition::wait (this=0x8c22d5c, mutex=0x8c22d60, time=200000) at thread/qwaitcondition_unix.cpp:159 #4 0xb49d009c in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8c22d50) at /home/shaun/kde/src/extragear/sdk/kdevplatform/language/duchain/duchain.cpp:286 #5 0xb60ff2ec in QThreadPrivate::start (arg=0x8c22d50) at thread/qthread_unix.cpp:244 #6 0xb604c8ac in start_thread () from /lib/libpthread.so.0 #7 0xb519901e in clone () from /lib/libc.so.6 Thread 5 (Thread 0xab0a8b70 (LWP 30586)): #0 0xb40f3de6 in clock_gettime () from /lib/librt.so.1 #1 0xb624811a in qt_gettime () at kernel/qcore_unix.cpp:109 #2 0xb624ea65 in QTimerInfoList::updateCurrentTime (this=0x9a11acc) at kernel/qeventdispatcher_unix.cpp:340 #3 0xb624ede9 in QTimerInfoList::timerWait (this=0x9a11acc, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0xb624b22f in timerSourcePrepareHelper (src=0x9a11a98, timeout=0xab0a80dc) at kernel/qeventdispatcher_glib.cpp:136 #5 0xb624b39a in timerSourcePrepare (source=0x9a11a98, timeout=0xab0a80dc) at kernel/qeventdispatcher_glib.cpp:169 #6 0xb4077470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #7 0xb4077811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #8 0xb4077d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #9 0xb624c5b0 in QEventDispatcherGlib::processEvents (this=0x90496c8, flags=...) at kernel/qeventdispatcher_glib.cpp:409 #10 0xb6211f57 in QEventLoop::processEvents (this=0xab0a8298, flags=...) at kernel/qeventloop.cpp:149 #11 0xb621209c in QEventLoop::exec (this=0xab0a8298, flags=...) at kernel/qeventloop.cpp:201 #12 0xb60fc828 in QThread::exec (this=0x99c5408) at thread/qthread.cpp:487 #13 0xb4af5b2b in KDevelop::CompletionWorkerThread::run (this=0x99c5408) at /home/shaun/kde/src/extragear/sdk/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82 #14 0xb60ff2ec in QThreadPrivate::start (arg=0x99c5408) at thread/qthread_unix.cpp:244 #15 0xb604c8ac in start_thread () from /lib/libpthread.so.0 #16 0xb519901e in clone () from /lib/libc.so.6 Thread 4 (Thread 0xab8a9b70 (LWP 30587)): #0 0xb40f3de6 in clock_gettime () from /lib/librt.so.1 #1 0xb624811a in qt_gettime () at kernel/qcore_unix.cpp:109 #2 0xb624ea65 in QTimerInfoList::updateCurrentTime (this=0x99de554) at kernel/qeventdispatcher_unix.cpp:340 #3 0xb624ede9 in QTimerInfoList::timerWait (this=0x99de554, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0xb624b22f in timerSourcePrepareHelper (src=0x99de520, timeout=0xab8a90dc) at kernel/qeventdispatcher_glib.cpp:136 #5 0xb624b39a in timerSourcePrepare (source=0x99de520, timeout=0xab8a90dc) at kernel/qeventdispatcher_glib.cpp:169 #6 0xb4077470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #7 0xb4077811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #8 0xb4077d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #9 0xb624c5b0 in QEventDispatcherGlib::processEvents (this=0x9ac04c0, flags=...) at kernel/qeventdispatcher_glib.cpp:409 #10 0xb6211f57 in QEventLoop::processEvents (this=0xab8a9298, flags=...) at kernel/qeventloop.cpp:149 #11 0xb621209c in QEventLoop::exec (this=0xab8a9298, flags=...) at kernel/qeventloop.cpp:201 #12 0xb60fc828 in QThread::exec (this=0x99cad90) at thread/qthread.cpp:487 #13 0xb4af5b2b in KDevelop::CompletionWorkerThread::run (this=0x99cad90) at /home/shaun/kde/src/extragear/sdk/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82 #14 0xb60ff2ec in QThreadPrivate::start (arg=0x99cad90) at thread/qthread_unix.cpp:244 #15 0xb604c8ac in start_thread () from /lib/libpthread.so.0 #16 0xb519901e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xa966fb70 (LWP 30588)): #0 0xb782c424 in __kernel_vsyscall () #1 0xb6051182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb60ff50f in thread_sleep (ti=0xa966f2b0) at thread/qthread_unix.cpp:394 #3 0xb60ff64d in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:420 #4 0xaa01dc6e in UIBlockTester::UIBlockTesterThread::run (this=0x99b13c8) at /home/shaun/kde/src/extragear/sdk/kdevelop/languages/cpp/cpplanguagesupport.cpp:672 #5 0xb60ff2ec in QThreadPrivate::start (arg=0x99b13c8) at thread/qthread_unix.cpp:244 #6 0xb604c8ac in start_thread () from /lib/libpthread.so.0 #7 0xb519901e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xa8c49b70 (LWP 30637)): #0 0xb782c424 in __kernel_vsyscall () #1 0xb6050e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb4efb6fb in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb503aac0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #3 0xb4efae4d in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb503aac0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #4 0xb604c8ac in start_thread () from /lib/libpthread.so.0 #5 0xb519901e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb3cc6980 (LWP 29113)): [KCrash Handler] #6 0xfffffff8 in ?? () #7 0xaa84d343 in SourceFormatterPlugin::activeDocumentChanged (this=0x8e5d618, doc=0x99bda10) at /home/shaun/kde/src/extragear/sdk/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp:184 #8 0xaa84e6b4 in SourceFormatterPlugin::qt_metacall (this=0x8e5d618, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfef9058) at /home/shaun/kde/build/extragear/sdk/kdevplatform/plugins/sourceformatter/sourceformatterplugin.moc:80 #9 0xb621c100 in QMetaObject::metacall (object=0x8e5d618, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbfef9058) at kernel/qmetaobject.cpp:237 #10 0xb62301c1 in QMetaObject::activate (sender=0x8792658, m=0xb75dfaf4, local_signal_index=0, argv=0xbfef9058) at kernel/qobject.cpp:3294 #11 0xb75d4d4a in KDevelop::IDocumentController::documentActivated (this=0x8792658, _t1=0x99bda10) at /home/shaun/kde/build/extragear/sdk/kdevplatform/interfaces/idocumentcontroller.moc:211 #12 0xb75d12f2 in KDevelop::IDocument::notifyActivated (this=0x99bda10) at /home/shaun/kde/src/extragear/sdk/kdevplatform/interfaces/idocument.cpp:79 #13 0xb75287e2 in KDevelop::PartDocument::activate (this=0x99bda00, activeView=0x9ac3860, mainWindow=0x873b578) at /home/shaun/kde/src/extragear/sdk/kdevplatform/shell/partdocument.cpp:172 #14 0xb7501785 in KDevelop::MainWindowPrivate::changeActiveView (this=0x8764c08, view=0x9ac3860) at /home/shaun/kde/src/extragear/sdk/kdevplatform/shell/mainwindow_p.cpp:188 #15 0xb7504712 in KDevelop::MainWindowPrivate::qt_metacall (this=0x8764c08, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfef9358) at /home/shaun/kde/build/extragear/sdk/kdevplatform/shell/mainwindow_p.moc:128 #16 0xb621c100 in QMetaObject::metacall (object=0x8764c08, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfef9358) at kernel/qmetaobject.cpp:237 #17 0xb62301c1 in QMetaObject::activate (sender=0x873b578, m=0xb4926c98, local_signal_index=2, argv=0xbfef9358) at kernel/qobject.cpp:3294 #18 0xb48ffb94 in Sublime::MainWindow::activeViewChanged (this=0x873b578, _t1=0x9ac3860) at /home/shaun/kde/build/extragear/sdk/kdevplatform/sublime/mainwindow.moc:149 #19 0xb48fe707 in Sublime::MainWindow::setActiveView (this=0x873b578, view=0x9ac3860) at /home/shaun/kde/src/extragear/sdk/kdevplatform/sublime/mainwindow.cpp:206 #20 0xb48fe647 in Sublime::MainWindow::activateView (this=0x873b578, view=0x9ac3860) at /home/shaun/kde/src/extragear/sdk/kdevplatform/sublime/mainwindow.cpp:192 #21 0xb7532b21 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x8817938, doc=0x99bda10, range=..., activationParams=...) at /home/shaun/kde/src/extragear/sdk/kdevplatform/shell/documentcontroller.cpp:352 #22 0xb7532501 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x8817938, inputUrl=..., prefName=..., range=..., encoding=..., activationParams=...) at /home/shaun/kde/src/extragear/sdk/kdevplatform/shell/documentcontroller.cpp:275 #23 0xb7531218 in KDevelop::DocumentControllerPrivate::chooseDocument (this=0x8817938) at /home/shaun/kde/src/extragear/sdk/kdevplatform/shell/documentcontroller.cpp:123 #24 0xb753091a in KDevelop::DocumentController::qt_metacall (this=0x8792658, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfef98a8) at /home/shaun/kde/build/extragear/sdk/kdevplatform/shell/documentcontroller.moc:128 #25 0xb621c100 in QMetaObject::metacall (object=0x8792658, cl=QMetaObject::InvokeMetaMethod, idx=51, argv=0xbfef98a8) at kernel/qmetaobject.cpp:237 #26 0xb62301c1 in QMetaObject::activate (sender=0x87ed618, m=0xb5faf578, local_signal_index=1, argv=0xbfef98a8) at kernel/qobject.cpp:3294 #27 0xb54d7efe in QAction::triggered (this=0x87ed618, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263 #28 0xb54d73b5 in QAction::activate (this=0x87ed618, event=QAction::Trigger) at kernel/qaction.cpp:1245 #29 0xb54d8491 in QAction::trigger (this=0x87ed618) at kernel/qaction.h:218 #30 0xb5a786ad in QToolButton::nextCheckState (this=0x8be17c8) at widgets/qtoolbutton.cpp:1147 #31 0xb59725e7 in QAbstractButtonPrivate::click (this=0x8be17e8) at widgets/qabstractbutton.cpp:528 #32 0xb5973cfa in QAbstractButton::mouseReleaseEvent (this=0x8be17c8, e=0xbfefa15c) at widgets/qabstractbutton.cpp:1118 #33 0xb5a76faa in QToolButton::mouseReleaseEvent (this=0x8be17c8, e=0xbfefa15c) at widgets/qtoolbutton.cpp:721 #34 0xb5552818 in QWidget::event (this=0x8be17c8, event=0xbfefa15c) at kernel/qwidget.cpp:7974 #35 0xb5973b95 in QAbstractButton::event (this=0x8be17c8, e=0xbfefa15c) at widgets/qabstractbutton.cpp:1080 #36 0xb5a7871c in QToolButton::event (this=0x8be17c8, event=0xbfefa15c) at widgets/qtoolbutton.cpp:1163 #37 0xb54e7cdc in QApplicationPrivate::notify_helper (this=0x8661118, receiver=0x8be17c8, e=0xbfefa15c) at kernel/qapplication.cpp:4242 #38 0xb54e6016 in QApplication::notify (this=0xbfefaa4c, receiver=0x8be17c8, e=0xbfefa15c) at kernel/qapplication.cpp:3822 #39 0xb65e1680 in KApplication::notify (this=0xbfefaa4c, receiver=0x8be17c8, event=0xbfefa15c) at /home/shaun/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:302 #40 0xb6214b4d in QCoreApplication::notifyInternal (this=0xbfefaa4c, receiver=0x8be17c8, event=0xbfefa15c) at kernel/qcoreapplication.cpp:704 #41 0xb54ea475 in QCoreApplication::sendSpontaneousEvent (receiver=0x8be17c8, event=0xbfefa15c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #42 0xb54e4645 in QApplicationPrivate::sendMouseEvent (receiver=0x8be17c8, event=0xbfefa15c, alienWidget=0x8be17c8, nativeWidget=0x873b578, buttonDown=0xb5fd2ec0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2954 #43 0xb5588a12 in QETWidget::translateMouseEvent (this=0x873b578, event=0xbfefa680) at kernel/qapplication_x11.cpp:4368 #44 0xb5585652 in QApplication::x11ProcessEvent (this=0xbfefaa4c, event=0xbfefa680) at kernel/qapplication_x11.cpp:3379 #45 0xb55bbbf5 in x11EventSourceDispatch (s=0x8663cf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #46 0xb4074378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #47 0xb4077bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #48 0xb4077d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #49 0xb624c590 in QEventDispatcherGlib::processEvents (this=0x864ae60, flags=...) at kernel/qeventdispatcher_glib.cpp:407 #50 0xb55bc21c in QGuiEventDispatcherGlib::processEvents (this=0x864ae60, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #51 0xb6211f57 in QEventLoop::processEvents (this=0xbfefa95c, flags=...) at kernel/qeventloop.cpp:149 #52 0xb621209c in QEventLoop::exec (this=0xbfefa95c, flags=...) at kernel/qeventloop.cpp:201 #53 0xb6215229 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #54 0xb54e52fc in QApplication::exec () at kernel/qapplication.cpp:3570 #55 0x0804dc3f in main (argc=1, argv=0xbfefaf94) at /home/shaun/kde/src/extragear/sdk/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