Application: kdevelop (4.5.1) KDE Platform Version: 4.10.5 Qt Version: 4.8.4 Operating System: Linux 3.9.10-100.fc17.x86_64 x86_64 Distribution: "Fedora release 17 (Beefy Miracle)" -- Information about the crash: Crashed closing kdevelop after a coding/debugging session. This has happened several times now; not aware of anything particular that leads to this. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7fab239be880 (LWP 1824))] Thread 10 (Thread 0x7fab08646700 (LWP 1825)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218 #1 0x00007fab1f534e07 in wait (time=1000, this=0x38edb60) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x38dea40, time=1000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fab1c50621b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x38dea20) at /usr/src/debug/kdevplatform-1.5.1/language/duchain/duchain.cpp:282 #4 0x00007fab1f53494c in QThreadPrivate::start (arg=0x38dea20) at thread/qthread_unix.cpp:338 #5 0x00007fab1f2a4d14 in start_thread (arg=0x7fab08646700) at pthread_create.c:309 #6 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 9 (Thread 0x7faaebfff700 (LWP 1829)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab1d155797 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fab1d463640) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007fab1d1557c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007fab1f2a4d14 in start_thread (arg=0x7faaebfff700) at pthread_create.c:309 #4 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 8 (Thread 0x7faa68f15700 (LWP 1864)): #0 0x00007fab1db99bdf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003a5e047af4 in g_main_context_poll (n_fds=1, fds=0x7faa60002bb0, timeout=-1, context=0x7faa600009a0, priority=<optimized out>) at gmain.c:3440 #2 g_main_context_iterate (context=context@entry=0x7faa600009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141 #3 0x0000003a5e047c14 in g_main_context_iteration (context=0x7faa600009a0, may_block=1) at gmain.c:3207 #4 0x00007fab1f65eeb6 in QEventDispatcherGlib::processEvents (this=0x7faa600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #5 0x00007fab1f62f51f in QEventLoop::processEvents (this=this@entry=0x7faa68f14cd0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fab1f62f7a8 in QEventLoop::exec (this=0x7faa68f14cd0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fab1f531970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #8 0x00007fab1f60fd3f in QInotifyFileSystemWatcherEngine::run (this=0x5e03340) at io/qfilesystemwatcher_inotify.cpp:256 #9 0x00007fab1f53494c in QThreadPrivate::start (arg=0x5e03340) at thread/qthread_unix.cpp:338 #10 0x00007fab1f2a4d14 in start_thread (arg=0x7faa68f15700) at pthread_create.c:309 #11 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7faa5a900700 (LWP 2026)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab18eeb295 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fab1997e9e0) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571 #2 0x00007fab18eeb2e9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767 #3 0x00007fab1f2a4d14 in start_thread (arg=0x7faa5a900700) at pthread_create.c:309 #4 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7faa5a0ff700 (LWP 2027)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab18c31339 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7faa68167398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128 #2 0x00007fab18f19a1e in WTF::wtfThreadEntryPoint (param=0x29044a0) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196 #3 0x00007fab1f2a4d14 in start_thread (arg=0x7faa5a0ff700) at pthread_create.c:309 #4 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7faa592f6700 (LWP 2028)): #0 0x00007fab1f2a7a7f in __pthread_mutex_unlock_usercnt (mutex=0x7faa54000980, decr=decr@entry=1) at pthread_mutex_unlock.c:53 #1 0x00007fab1f2a7ada in __pthread_mutex_unlock (mutex=<optimized out>) at pthread_mutex_unlock.c:298 #2 0x0000003a5e0839b1 in g_mutex_unlock (mutex=mutex@entry=0x7faa540008c0) at gthread-posix.c:227 #3 0x0000003a5e047325 in g_main_context_prepare (context=context@entry=0x7faa540008c0, priority=priority@entry=0x7faa592f5ba8) at gmain.c:2834 #4 0x0000003a5e047a1b in g_main_context_iterate (context=context@entry=0x7faa540008c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126 #5 0x0000003a5e047c14 in g_main_context_iteration (context=0x7faa540008c0, may_block=1) at gmain.c:3207 #6 0x00007fab1f65eeb6 in QEventDispatcherGlib::processEvents (this=0x7faa54002a00, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #7 0x00007fab1f62f51f in QEventLoop::processEvents (this=this@entry=0x7faa592f5d00, flags=...) at kernel/qeventloop.cpp:149 #8 0x00007fab1f62f7a8 in QEventLoop::exec (this=0x7faa592f5d00, flags=...) at kernel/qeventloop.cpp:204 #9 0x00007fab1f531970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #10 0x00007fab1f53494c in QThreadPrivate::start (arg=0x5545dc0) at thread/qthread_unix.cpp:338 #11 0x00007fab1f2a4d14 in start_thread (arg=0x7faa592f6700) at pthread_create.c:309 #12 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7faa53fff700 (LWP 2031)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab1f534eab in wait (time=18446744073709551615, this=0x26ce620) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x4291a40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fab21e46ac1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x671f380, th=0x572bd50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fab21e4930b in ThreadWeaver::WorkingHardState::applyForWork (this=0x587ea60, th=0x572bd50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fab21e49324 in ThreadWeaver::WorkingHardState::applyForWork (this=0x587ea60, th=0x572bd50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007fab21e4817f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faa53ffed00, parent=0x671f380, th=th@entry=0x572bd50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87 #7 0x00007fab21e4820b in ThreadWeaver::Thread::run (this=0x572bd50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142 #8 0x00007fab1f53494c in QThreadPrivate::start (arg=0x572bd50) at thread/qthread_unix.cpp:338 #9 0x00007fab1f2a4d14 in start_thread (arg=0x7faa53fff700) at pthread_create.c:309 #10 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7faa533ee700 (LWP 2291)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab1f534eab in wait (time=18446744073709551615, this=0x26ce620) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x4291a40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fab21e46ac1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x671f380, th=0x81c66b0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fab21e4930b in ThreadWeaver::WorkingHardState::applyForWork (this=0x587ea60, th=0x81c66b0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fab21e4817f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faa533edd00, parent=0x671f380, th=th@entry=0x81c66b0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87 #6 0x00007fab21e4820b in ThreadWeaver::Thread::run (this=0x81c66b0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142 #7 0x00007fab1f53494c in QThreadPrivate::start (arg=0x81c66b0) at thread/qthread_unix.cpp:338 #8 0x00007fab1f2a4d14 in start_thread (arg=0x7faa533ee700) at pthread_create.c:309 #9 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7faa52bed700 (LWP 2292)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00007fab1f534eab in wait (time=18446744073709551615, this=0x26ce620) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x4291a40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fab21e46ac1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x671f380, th=0x8159050) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fab21e4930b in ThreadWeaver::WorkingHardState::applyForWork (this=0x587ea60, th=0x8159050) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fab21e4817f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faa52becd00, parent=0x671f380, th=th@entry=0x8159050) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87 #6 0x00007fab21e4820b in ThreadWeaver::Thread::run (this=0x8159050) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142 #7 0x00007fab1f53494c in QThreadPrivate::start (arg=0x8159050) at thread/qthread_unix.cpp:338 #8 0x00007fab1f2a4d14 in start_thread (arg=0x7faa52bed700) at pthread_create.c:309 #9 0x00007fab1dba268d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fab239be880 (LWP 1824)): [KCrash Handler] #6 0x00007fab1c4f3818 in KDevelop::DUChain::waitForUpdate (this=0x38efb60, document=..., minFeatures=KDevelop::TopDUContext::VisibleDeclarationsAndContexts, proxyContext=false) at /usr/src/debug/kdevplatform-1.5.1/language/duchain/duchain.cpp:1686 #7 0x00007faa6a6f5d8c in CppLanguageSupport::switchDefinitionDeclaration (this=0x4a02090) at /usr/src/debug/kdevelop-4.5.1/languages/cpp/cpplanguagesupport.cpp:271 #8 0x00007fab1f645c8f in QMetaObject::activate (sender=0x45d3340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd7bf1990) at kernel/qobject.cpp:3539 #9 0x00007fab1e7bf3f2 in QAction::triggered (this=this@entry=0x45d3340, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #10 0x00007fab1e7bf5e0 in QAction::activate (this=0x45d3340, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #11 0x00007fab1e7bf747 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183 #12 0x00007fab1fd75ee7 in KAction::event (this=<optimized out>, event=0x7fffd7bf1f30) at /usr/src/debug/kdelibs-4.10.5/kdeui/actions/kaction.cpp:131 #13 0x00007fab1e7c55ac in QApplicationPrivate::notify_helper (this=this@entry=0x26755e0, receiver=receiver@entry=0x45d3340, e=e@entry=0x7fffd7bf1f30) at kernel/qapplication.cpp:4562 #14 0x00007fab1e7c9a2a in QApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, e=0x7fffd7bf1f30) at kernel/qapplication.cpp:4423 #15 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf1f30) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #16 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf1f30) at kernel/qcoreapplication.cpp:949 #17 0x00007fab1e7f6264 in sendEvent (event=0x7fffd7bf1f30, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #18 QShortcutMap::dispatchEvent (this=this@entry=0x2675700, e=e@entry=0x7fffd7bf2500) at kernel/qshortcutmap.cpp:884 #19 0x00007fab1e7f7893 in QShortcutMap::tryShortcutEvent (this=0x2675700, o=<optimized out>, e=0x7fffd7bf2500) at kernel/qshortcutmap.cpp:364 #20 0x00007fab1e7cb709 in QApplication::notify (this=0x7fffd7bf7330, receiver=0x5aab300, e=0x7fffd7bf2500) at kernel/qapplication.cpp:3986 #21 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x5aab300, event=0x7fffd7bf2500) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #22 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x5aab300, event=0x7fffd7bf2500) at kernel/qcoreapplication.cpp:949 #23 0x00007fab1e86184a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x5aab300, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=24) at kernel/qkeymapper_x11.cpp:1869 #24 0x00007fab1e861c81 in QKeyMapperPrivate::translateKeyEvent (this=0x26b0380, keyWidget=0x5aab300, event=0x7fffd7bf2f20, grab=false) at kernel/qkeymapper_x11.cpp:1839 #25 0x00007fab1e83f628 in QApplication::x11ProcessEvent (this=0x7fffd7bf7330, event=0x7fffd7bf2f20) at kernel/qapplication_x11.cpp:3553 #26 0x00007fab1e86590c in x11EventSourceDispatch (s=s@entry=0x2677f90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #27 0x0000003a5e047825 in g_main_dispatch (context=0x2676c00) at gmain.c:2539 #28 g_main_context_dispatch (context=context@entry=0x2676c00) at gmain.c:3075 #29 0x0000003a5e047b58 in g_main_context_iterate (context=context@entry=0x2676c00, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146 #30 0x0000003a5e047c14 in g_main_context_iteration (context=0x2676c00, may_block=0) at gmain.c:3207 #31 0x00007fab1f65ee96 in QEventDispatcherGlib::processEvents (this=0x25b45a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #32 0x00007fab1e8655ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #33 0x00007fab1f6347cf in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1136 #34 0x00007fab1c4f3a1f in KDevelop::DUChain::waitForUpdate (this=0x38efb60, document=..., minFeatures=KDevelop::TopDUContext::VisibleDeclarationsAndContexts, proxyContext=false) at /usr/src/debug/kdevplatform-1.5.1/language/duchain/duchain.cpp:1687 #35 0x00007faa6a6f5d8c in CppLanguageSupport::switchDefinitionDeclaration (this=0x4a02090) at /usr/src/debug/kdevelop-4.5.1/languages/cpp/cpplanguagesupport.cpp:271 #36 0x00007fab1f645c8f in QMetaObject::activate (sender=0x45d3340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd7bf37c0) at kernel/qobject.cpp:3539 #37 0x00007fab1e7bf3f2 in QAction::triggered (this=this@entry=0x45d3340, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #38 0x00007fab1e7bf5e0 in QAction::activate (this=0x45d3340, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #39 0x00007fab1e7bf747 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183 #40 0x00007fab1fd75ee7 in KAction::event (this=<optimized out>, event=0x7fffd7bf3d60) at /usr/src/debug/kdelibs-4.10.5/kdeui/actions/kaction.cpp:131 #41 0x00007fab1e7c55ac in QApplicationPrivate::notify_helper (this=this@entry=0x26755e0, receiver=receiver@entry=0x45d3340, e=e@entry=0x7fffd7bf3d60) at kernel/qapplication.cpp:4562 #42 0x00007fab1e7c9a2a in QApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, e=0x7fffd7bf3d60) at kernel/qapplication.cpp:4423 #43 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf3d60) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #44 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf3d60) at kernel/qcoreapplication.cpp:949 #45 0x00007fab1e7f6264 in sendEvent (event=0x7fffd7bf3d60, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #46 QShortcutMap::dispatchEvent (this=this@entry=0x2675700, e=e@entry=0x7fffd7bf4330) at kernel/qshortcutmap.cpp:884 #47 0x00007fab1e7f7893 in QShortcutMap::tryShortcutEvent (this=0x2675700, o=<optimized out>, e=0x7fffd7bf4330) at kernel/qshortcutmap.cpp:364 #48 0x00007fab1e7cb709 in QApplication::notify (this=0x7fffd7bf7330, receiver=0x52f3700, e=0x7fffd7bf4330) at kernel/qapplication.cpp:3986 #49 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x52f3700, event=0x7fffd7bf4330) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #50 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x52f3700, event=0x7fffd7bf4330) at kernel/qcoreapplication.cpp:949 #51 0x00007fab1e86184a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x52f3700, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=24) at kernel/qkeymapper_x11.cpp:1869 #52 0x00007fab1e861c81 in QKeyMapperPrivate::translateKeyEvent (this=0x26b0380, keyWidget=0x52f3700, event=0x7fffd7bf4d50, grab=false) at kernel/qkeymapper_x11.cpp:1839 #53 0x00007fab1e83f628 in QApplication::x11ProcessEvent (this=0x7fffd7bf7330, event=0x7fffd7bf4d50) at kernel/qapplication_x11.cpp:3553 #54 0x00007fab1e86590c in x11EventSourceDispatch (s=s@entry=0x2677f90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #55 0x0000003a5e047825 in g_main_dispatch (context=0x2676c00) at gmain.c:2539 #56 g_main_context_dispatch (context=context@entry=0x2676c00) at gmain.c:3075 #57 0x0000003a5e047b58 in g_main_context_iterate (context=context@entry=0x2676c00, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146 #58 0x0000003a5e047c14 in g_main_context_iteration (context=0x2676c00, may_block=0) at gmain.c:3207 #59 0x00007fab1f65ee96 in QEventDispatcherGlib::processEvents (this=0x25b45a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #60 0x00007fab1e8655ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #61 0x00007fab1f6347cf in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1136 #62 0x00007fab1c4f3a1f in KDevelop::DUChain::waitForUpdate (this=0x38efb60, document=..., minFeatures=KDevelop::TopDUContext::VisibleDeclarationsAndContexts, proxyContext=false) at /usr/src/debug/kdevplatform-1.5.1/language/duchain/duchain.cpp:1687 #63 0x00007faa6a6f5d8c in CppLanguageSupport::switchDefinitionDeclaration (this=0x4a02090) at /usr/src/debug/kdevelop-4.5.1/languages/cpp/cpplanguagesupport.cpp:271 #64 0x00007fab1f645c8f in QMetaObject::activate (sender=0x45d3340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd7bf55f0) at kernel/qobject.cpp:3539 #65 0x00007fab1e7bf3f2 in QAction::triggered (this=this@entry=0x45d3340, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #66 0x00007fab1e7bf5e0 in QAction::activate (this=0x45d3340, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #67 0x00007fab1e7bf747 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183 #68 0x00007fab1fd75ee7 in KAction::event (this=<optimized out>, event=0x7fffd7bf5b90) at /usr/src/debug/kdelibs-4.10.5/kdeui/actions/kaction.cpp:131 #69 0x00007fab1e7c55ac in QApplicationPrivate::notify_helper (this=this@entry=0x26755e0, receiver=receiver@entry=0x45d3340, e=e@entry=0x7fffd7bf5b90) at kernel/qapplication.cpp:4562 #70 0x00007fab1e7c9a2a in QApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, e=0x7fffd7bf5b90) at kernel/qapplication.cpp:4423 #71 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf5b90) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #72 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x45d3340, event=0x7fffd7bf5b90) at kernel/qcoreapplication.cpp:949 #73 0x00007fab1e7f6264 in sendEvent (event=0x7fffd7bf5b90, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #74 QShortcutMap::dispatchEvent (this=this@entry=0x2675700, e=e@entry=0x7fffd7bf6160) at kernel/qshortcutmap.cpp:884 #75 0x00007fab1e7f7893 in QShortcutMap::tryShortcutEvent (this=0x2675700, o=<optimized out>, e=0x7fffd7bf6160) at kernel/qshortcutmap.cpp:364 #76 0x00007fab1e7cb709 in QApplication::notify (this=0x7fffd7bf7330, receiver=0x52f3700, e=0x7fffd7bf6160) at kernel/qapplication.cpp:3986 #77 0x00007fab1fe4f5b6 in KApplication::notify (this=0x7fffd7bf7330, receiver=0x52f3700, event=0x7fffd7bf6160) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #78 0x00007fab1f63086e in QCoreApplication::notifyInternal (this=0x7fffd7bf7330, receiver=0x52f3700, event=0x7fffd7bf6160) at kernel/qcoreapplication.cpp:949 #79 0x00007fab1e86184a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x52f3700, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=24) at kernel/qkeymapper_x11.cpp:1869 #80 0x00007fab1e861c81 in QKeyMapperPrivate::translateKeyEvent (this=0x26b0380, keyWidget=0x52f3700, event=0x7fffd7bf6b80, grab=false) at kernel/qkeymapper_x11.cpp:1839 #81 0x00007fab1e83f628 in QApplication::x11ProcessEvent (this=0x7fffd7bf7330, event=0x7fffd7bf6b80) at kernel/qapplication_x11.cpp:3553 #82 0x00007fab1e86590c in x11EventSourceDispatch (s=s@entry=0x2677f90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #83 0x0000003a5e047825 in g_main_dispatch (context=0x2676c00) at gmain.c:2539 #84 g_main_context_dispatch (context=context@entry=0x2676c00) at gmain.c:3075 #85 0x0000003a5e047b58 in g_main_context_iterate (context=context@entry=0x2676c00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146 #86 0x0000003a5e047c14 in g_main_context_iteration (context=0x2676c00, may_block=1) at gmain.c:3207 #87 0x00007fab1f65eeb6 in QEventDispatcherGlib::processEvents (this=0x25b45a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #88 0x00007fab1e8655ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #89 0x00007fab1f62f51f in QEventLoop::processEvents (this=this@entry=0x7fffd7bf6f50, flags=...) at kernel/qeventloop.cpp:149 #90 0x00007fab1f62f7a8 in QEventLoop::exec (this=0x7fffd7bf6f50, flags=...) at kernel/qeventloop.cpp:204 #91 0x00007fab1f634638 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221 #92 0x000000000040dda1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.5.1/app/main.cpp:522 Reported using DrKonqi
Git commit 6a03e1b07411896b10274469f21d0da925ff948c by Kevin Funk. Committed on 03/11/2013 at 20:01. Pushed by kfunk into branch '1.6'. Fix crash on shutdown M +5 -0 language/duchain/duchain.cpp http://commits.kde.org/kdevplatform/6a03e1b07411896b10274469f21d0da925ff948c
Git commit f2f6539f58926181da71c19daa6ddc9aba7ea617 by Kevin Funk. Committed on 03/11/2013 at 20:15. Pushed by kfunk into branch '4.6'. Don't crash in case of dangling updates DUChain::waitForUpdate does QApplication::progressEvents() in a while-loop and waits for an update from the background parser. In case the application is shut down, CppLanguageSupport eventually is deleted, but the while-loop may still be running. When the call to DUChain::waitForUpdate inside CppLanguageSupport::switchDefinitionDeclaration returns, 'this' is already invalid and the subsequent call to CppLanguage::standardContext ends up in SIGSEGV. Hence, always check if the context returned by waitForUpdate(...) is valid and return immediately if not. M +5 -1 languages/cpp/cpplanguagesupport.cpp http://commits.kde.org/kdevelop/f2f6539f58926181da71c19daa6ddc9aba7ea617