Bug 289455

Summary: Crashed while editing code
Product: [Applications] kdevelop Reporter: matze_borag
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol
Priority: NOR    
Version: unspecified   
Target Milestone: 4.3.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description matze_borag 2011-12-20 20:25:05 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-13-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was restructuring some of my code. So basically i used the ability to find existing references to a functions and clicked through some of them.

- Unusual behavior I noticed:
I'm working on a project based on Rose Compiler (http://rosecompiler.org/ROSE_HTML_Reference/index.html) - it has some large code base, so kdevelop always had some problems with the background parsing and often complains about mission functions or symbols from this library even though they are provided somewhere in the includes.

It's not the first crash i had, but the pattern is not really predictable and often the same task which crashed before works after a restart of kdevelop.
However, most times i notice a rapid decrease on performence before the crash appears.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7fc7a0492780 (LWP 1672))]

Thread 15 (Thread 0x7fc7878b4700 (LWP 1673)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fc79e99679e in wait (this=<value optimized out>, mutex=0x2970390, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2970390, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc79afbb22b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2970370) at ../../language/duchain/duchain.cpp:286
#4  0x00007fc79e996175 in QThreadPrivate::start (arg=0x2970370) at thread/qthread_unix.cpp:320
#5  0x00007fc79ca54d8c in start_thread (arg=0x7fc7878b4700) at pthread_create.c:304
#6  0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fc786198700 (LWP 1675)):
#0  0x00007fffcadff861 in clock_gettime ()
#1  0x00007fc79c372146 in clock_gettime (clock_id=1, tp=0x7fc786197b30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc79e9e7304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc79eaa8e3d in QTimerInfoList::updateCurrentTime (this=0x7fc7800010d0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fc79eaa91a5 in QTimerInfoList::timerWait (this=0x7fc7800010d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fc79eaa7c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc786197c4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc79eaa7cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc7988570a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc798857f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc79eaa8446 in QEventDispatcherGlib::processEvents (this=0x3202160, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fc786197dd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fc79e993924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fc79ea5ec2f in QInotifyFileSystemWatcherEngine::run (this=0x31f4d30) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fc79e996175 in QThreadPrivate::start (arg=0x31f4d30) at thread/qthread_unix.cpp:320
#17 0x00007fc79ca54d8c in start_thread (arg=0x7fc786198700) at pthread_create.c:304
#18 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fc77c2a9700 (LWP 1677)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc79e99682b in wait (this=<value optimized out>, mutex=0x32a6a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x32a6a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc7963900b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3213990, th=0x328da10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc796392723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x32a5060, th=0x328da10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc79639153f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc77c2a8e20, parent=0x3213990, th=0x328da10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x328da10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc79e996175 in QThreadPrivate::start (arg=0x328da10) at thread/qthread_unix.cpp:320
#8  0x00007fc79ca54d8c in start_thread (arg=0x7fc77c2a9700) at pthread_create.c:304
#9  0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fc7757ec700 (LWP 1700)):
#0  0x00007fffcadff861 in clock_gettime ()
#1  0x00007fc79c372146 in clock_gettime (clock_id=1, tp=0x7fc7757ebb30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc79e9e7304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc79eaa8e3d in QTimerInfoList::updateCurrentTime (this=0x34e8730) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fc79eaa91a5 in QTimerInfoList::timerWait (this=0x34e8730, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fc79eaa7c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc7757ebc4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc79eaa7cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc7988570a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc798857f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc79eaa8446 in QEventDispatcherGlib::processEvents (this=0x34e8530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fc7757ebdd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fc79e993924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fc79ea5ec2f in QInotifyFileSystemWatcherEngine::run (this=0x34e7a50) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fc79e996175 in QThreadPrivate::start (arg=0x34e7a50) at thread/qthread_unix.cpp:320
#17 0x00007fc79ca54d8c in start_thread (arg=0x7fc7757ec700) at pthread_create.c:304
#18 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fc775fed700 (LWP 1705)):
#0  0x00007fffcadff861 in clock_gettime ()
#1  0x00007fc79c372146 in clock_gettime (clock_id=1, tp=0x7fc775fecb60) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc79e9e7304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc79eaa8e3d in QTimerInfoList::updateCurrentTime (this=0x36398e0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fc79eaa91a5 in QTimerInfoList::timerWait (this=0x36398e0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fc79eaa7c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc775fecc7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc79eaa7cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc7988570a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc798857f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc79eaa8446 in QEventDispatcherGlib::processEvents (this=0x362b3c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fc775fece00, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fc79e993924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fc79e996175 in QThreadPrivate::start (arg=0x36c0d60) at thread/qthread_unix.cpp:320
#16 0x00007fc79ca54d8c in start_thread (arg=0x7fc775fed700) at pthread_create.c:304
#17 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fc76d0f9700 (LWP 1706)):
#0  0x00007fffcadff861 in clock_gettime ()
#1  0x00007fc79c372146 in clock_gettime (clock_id=1, tp=0x7fc76d0f8b60) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc79e9e7304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc79eaa8e3d in QTimerInfoList::updateCurrentTime (this=0x36c2170) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fc79eaa91a5 in QTimerInfoList::timerWait (this=0x36c2170, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fc79eaa7c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc76d0f8c7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc79eaa7cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc7988570a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc798857f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc79eaa8446 in QEventDispatcherGlib::processEvents (this=0x361bde0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fc76d0f8e00, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fc79e993924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fc79e996175 in QThreadPrivate::start (arg=0x36c2e50) at thread/qthread_unix.cpp:320
#16 0x00007fc79ca54d8c in start_thread (arg=0x7fc76d0f9700) at pthread_create.c:304
#17 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fc76b4a2700 (LWP 1774)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc788b2f2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc788e48180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fc788b2f2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fc788e56254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fc79ca54d8c in start_thread (arg=0x7fc76b4a2700) at pthread_create.c:304
#4  0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc769fe0700 (LWP 1801)):
#0  0x00007fffcadff861 in clock_gettime ()
#1  0x00007fc79c372146 in clock_gettime (clock_id=1, tp=0x7fc769fdfb30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc79e9e7304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc79eaa8e3d in QTimerInfoList::updateCurrentTime (this=0x67ab570) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fc79eaa91a5 in QTimerInfoList::timerWait (this=0x67ab570, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fc79eaa7c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc769fdfc4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc79eaa7cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc7988570a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc798857f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc79eaa8446 in QEventDispatcherGlib::processEvents (this=0x67afe90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fc769fdfdd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fc79e993924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007fc79ea5ec2f in QInotifyFileSystemWatcherEngine::run (this=0x67b5300) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fc79e996175 in QThreadPrivate::start (arg=0x67b5300) at thread/qthread_unix.cpp:320
#17 0x00007fc79ca54d8c in start_thread (arg=0x7fc769fe0700) at pthread_create.c:304
#18 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc769722700 (LWP 1850)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc795b3b832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fc79ca54d8c in start_thread (arg=0x7fc769722700) at pthread_create.c:304
#3  0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc767c66700 (LWP 1851)):
[KCrash Handler]
#6  KDevelop::DUContext::type (this=0x7fc7606cb930) at ../../language/duchain/ducontext.cpp:1171
#7  0x00007fc79b0e1237 in KDevelop::CodeHighlightingInstance::typeForDeclaration (this=0x7fc760a2c730, dec=0x7fc760f76300, context=0x68a49a0) at ../../language/highlighting/codehighlighting.cpp:371
#8  0x00007fc79b0e0c65 in KDevelop::CodeHighlightingInstance::highlightUse (this=0x7fc760a2c730, context=0x68a49a0, index=<value optimized out>, color=...) at ../../language/highlighting/codehighlighting.cpp:438
#9  0x00007fc79b0e314e in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x7fc760a2c730, context=0x68a49a0, colorsForDeclarations=..., declarationsForColors=...) at ../../language/highlighting/codehighlighting.cpp:277
#10 0x00007fc79b0e328d in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x7fc760a2c730, context=<value optimized out>, colorsForDeclarations=..., declarationsForColors=...) at ../../language/highlighting/codehighlighting.cpp:290
#11 0x00007fc79b0e328d in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x7fc760a2c730, context=<value optimized out>, colorsForDeclarations=..., declarationsForColors=...) at ../../language/highlighting/codehighlighting.cpp:290
#12 0x00007fc79b0e3e99 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x7fc760a2c730, context=0x36f5df0) at ../../language/highlighting/codehighlighting.cpp:205
#13 0x00007fc79b0e41aa in KDevelop::CodeHighlighting::highlightDUChain (this=0x36c0370, context=...) at ../../language/highlighting/codehighlighting.cpp:186
#14 0x00007fc76d8d22ff in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#15 0x00007fc796391c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fc767c65d80, th=0x6758be0, job=0x6c65ac0) at ../../../threadweaver/Weaver/Job.cpp:106
#16 0x00007fc796391d4c in ThreadWeaver::Job::execute (this=0x6c65ac0, th=0x6758be0) at ../../../threadweaver/Weaver/Job.cpp:135
#17 0x00007fc796392ff3 in ThreadWeaver::JobCollectionJobRunner::execute (this=<value optimized out>, t=0x6758be0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#18 0x00007fc79639150f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc767c65e20, parent=0x1a502b0, th=0x6758be0) at ../../../threadweaver/Weaver/Thread.cpp:95
#19 0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x6758be0) at ../../../threadweaver/Weaver/Thread.cpp:142
#20 0x00007fc79e996175 in QThreadPrivate::start (arg=0x6758be0) at thread/qthread_unix.cpp:320
#21 0x00007fc79ca54d8c in start_thread (arg=0x7fc767c66700) at pthread_create.c:304
#22 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc767465700 (LWP 1852)):
#0  0x00007fc79d6945ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc79d6c5984 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007fc79affbcec in KDevelop::DUChainLock::lockForWrite (this=0x294f638, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007fc79affbeb4 in KDevelop::DUChainWriteLocker::lock (this=0x7fc767460550) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007fc76d8d1143 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#5  0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#7  0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#8  0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#9  0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#10 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#11 0x00007fc76d8da0ad in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#12 0x00007fc76d8cf16e in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#13 0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#14 0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#15 0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#16 0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#17 0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#18 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#19 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#20 0x00007fc796391c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fc767464d80, th=0x67578f0, job=0x8dbf890) at ../../../threadweaver/Weaver/Job.cpp:106
#21 0x00007fc796391d4c in ThreadWeaver::Job::execute (this=0x8dbf890, th=0x67578f0) at ../../../threadweaver/Weaver/Job.cpp:135
#22 0x00007fc796392ff3 in ThreadWeaver::JobCollectionJobRunner::execute (this=<value optimized out>, t=0x67578f0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#23 0x00007fc79639150f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc767464e20, parent=0x1a502b0, th=0x67578f0) at ../../../threadweaver/Weaver/Thread.cpp:95
#24 0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x67578f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#25 0x00007fc79e996175 in QThreadPrivate::start (arg=0x67578f0) at thread/qthread_unix.cpp:320
#26 0x00007fc79ca54d8c in start_thread (arg=0x7fc767465700) at pthread_create.c:304
#27 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc766c64700 (LWP 1853)):
#0  0x00007fc79d6945ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc79d6c5984 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007fc79affbcec in KDevelop::DUChainLock::lockForWrite (this=0x294f638, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007fc79affbeb4 in KDevelop::DUChainWriteLocker::lock (this=0x7fc766c5de80) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007fc76d3b8937 in DeclarationBuilder::visitDeclarator(DeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#5  0x00007fc76d3a5575 in ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#6  0x00007fc76d3b3c3b in DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#7  0x00007fc76d3b48ac in DeclarationBuilder::visitFunctionDeclaration(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#8  0x00007fc76d3a592b in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#9  0x00007fc76d10ebce in ?? () from /usr/lib/libkdev4cppparser.so
#10 0x00007fc76d3a3e12 in ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#11 0x00007fc76d3dd64b in TypeBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#12 0x00007fc76d3b941f in DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#13 0x00007fc76d3dc6bf in TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#14 0x00007fc76d3b46c5 in DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#15 0x00007fc76d3a4e11 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#16 0x00007fc76d10ebce in ?? () from /usr/lib/libkdev4cppparser.so
#17 0x00007fc76d3a7481 in ?? () from /usr/lib/libkdev4cppduchain.so
#18 0x00007fc76d3a6705 in ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from /usr/lib/libkdev4cppduchain.so
#19 0x00007fc76d3b2901 in DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from /usr/lib/libkdev4cppduchain.so
#20 0x00007fc76d8d1c05 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#21 0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#22 0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#23 0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#24 0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#25 0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#26 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#27 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#28 0x00007fc76d8cf16e in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#29 0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#30 0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#31 0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#32 0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#33 0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#34 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#35 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#36 0x00007fc796391c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fc766c63d80, th=0x7fc77001ef80, job=0xc337df0) at ../../../threadweaver/Weaver/Job.cpp:106
#37 0x00007fc796391d4c in ThreadWeaver::Job::execute (this=0xc337df0, th=0x7fc77001ef80) at ../../../threadweaver/Weaver/Job.cpp:135
#38 0x00007fc796392ff3 in ThreadWeaver::JobCollectionJobRunner::execute (this=<value optimized out>, t=0x7fc77001ef80) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#39 0x00007fc79639150f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc766c63e20, parent=0x1a502b0, th=0x7fc77001ef80) at ../../../threadweaver/Weaver/Thread.cpp:95
#40 0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x7fc77001ef80) at ../../../threadweaver/Weaver/Thread.cpp:142
#41 0x00007fc79e996175 in QThreadPrivate::start (arg=0x7fc77001ef80) at thread/qthread_unix.cpp:320
#42 0x00007fc79ca54d8c in start_thread (arg=0x7fc766c64700) at pthread_create.c:304
#43 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#44 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc766463700 (LWP 1854)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc79e99682b in wait (this=<value optimized out>, mutex=0x193c250, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x193c250, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc7963900b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a502b0, th=0x7fc770099d10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc796392723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1969ba0, th=0x7fc770099d10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc79639273c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1969ba0, th=0x7fc770099d10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc79639153f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc766462e20, parent=0x1a502b0, th=0x7fc770099d10) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x7fc770099d10) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fc79e996175 in QThreadPrivate::start (arg=0x7fc770099d10) at thread/qthread_unix.cpp:320
#9  0x00007fc79ca54d8c in start_thread (arg=0x7fc766463700) at pthread_create.c:304
#10 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc765c62700 (LWP 1855)):
#0  0x00007fc79d6945ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc79d6c5984 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007fc79affbcec in KDevelop::DUChainLock::lockForWrite (this=0x294f638, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007fc79affbeb4 in KDevelop::DUChainWriteLocker::lock (this=0x7fc765c5b3d0) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007fc76d8d1143 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#5  0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#7  0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#8  0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#9  0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#10 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#11 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#12 0x00007fc76d8cf16e in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#13 0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#14 0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#15 0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#16 0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#17 0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#18 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#19 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#20 0x00007fc76d8cf16e in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#21 0x00007fc76d8d7817 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#22 0x00007fc76d68ecc4 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#23 0x00007fc76d6916f1 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#24 0x00007fc76d691e4b in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#25 0x00007fc76d692083 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#26 0x00007fc76d692105 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#27 0x00007fc76d8d99d3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#28 0x00007fc796391c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fc765c61d80, th=0x6630a40, job=0x91e6dd0) at ../../../threadweaver/Weaver/Job.cpp:106
#29 0x00007fc796391d4c in ThreadWeaver::Job::execute (this=0x91e6dd0, th=0x6630a40) at ../../../threadweaver/Weaver/Job.cpp:135
#30 0x00007fc796392ff3 in ThreadWeaver::JobCollectionJobRunner::execute (this=<value optimized out>, t=0x6630a40) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#31 0x00007fc79639150f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc765c61e20, parent=0x1a502b0, th=0x6630a40) at ../../../threadweaver/Weaver/Thread.cpp:95
#32 0x00007fc7963915cb in ThreadWeaver::Thread::run (this=0x6630a40) at ../../../threadweaver/Weaver/Thread.cpp:142
#33 0x00007fc79e996175 in QThreadPrivate::start (arg=0x6630a40) at thread/qthread_unix.cpp:320
#34 0x00007fc79ca54d8c in start_thread (arg=0x7fc765c62700) at pthread_create.c:304
#35 0x00007fc79d6cd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#36 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7a0492780 (LWP 1672)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc79e99682b in wait (this=<value optimized out>, mutex=0x67afa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x67afa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc79e995910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007fc79ea525d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x67ae620, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007fc79ea526a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x67ae620, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007fc79ea8fc14 in QObjectPrivate::deleteChildren (this=0x67af6e0) at kernel/qobject.cpp:1964
#7  0x00007fc79ea945f4 in QObject::~QObject (this=0x67ab6a0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007fc796ec97b9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x67ab6a0, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007fc79d620961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007fc79dea6fb8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00007fc79f264498 in KApplication::xioErrhandler (this=0x7fffcac0de80, dpy=0x1675b40) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007fc799ce5dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fc799ce362d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fc799cd3f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fc79dee432c in x11EventSourceCheck (s=0x1662d30) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007fc798857854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fc798858122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fc798858639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fc79eaa83ef in QEventDispatcherGlib::processEvents (this=0x1606340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007fc79dee44de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fc79ea7c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fc79ea7cabc in QEventLoop::exec (this=0x7fffcac0db70, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007fc79ea80ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x000000000040b989 in _start ()

Possible duplicates by query: bug 275730, bug 269761, bug 262718, bug 250876.

Reported using DrKonqi
Comment 1 Kevin Funk 2012-12-02 22:56:02 UTC

*** This bug has been marked as a duplicate of bug 275730 ***