Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0)) KDE Platform Version: 4.4.74 (KDE 4.4.74 (KDE 4.5 >= 20100428)) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.33-gentoo-r1 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: I usually get this crash when I attempt at starting up KDevelop4. When the crashes does occur, I have to restart it several times for it to finally start working. The crash can be reproduced some of the time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Aborted Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.0-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace [Current thread is 1 (Thread 0x7fd7cc723760 (LWP 22876))] Thread 15 (Thread 0x7fd7afa8f710 (LWP 22877)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fd7c8f32d11 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1d78c80, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1d78c80, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd7c5881e3e in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.1 #4 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x1d78c60) at thread/qthread_unix.cpp:248 #5 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 14 (Thread 0x7fd7a9c57710 (LWP 22878)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd7c8f32dfb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1df5170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1df5170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd7cab491b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e88ee0, th=0x1d6c530) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fd7cab4d000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d863d0, th=0x1d6c530) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fd7cab4b694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd7a9c56e30, parent=0x1e88ee0, th=0x1d6c530) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:87 #6 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x1d6c530) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #7 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x1d6c530) at thread/qthread_unix.cpp:248 #8 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #9 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 13 (Thread 0x7fd7a9456710 (LWP 22879)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fd7c8f32d11 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e894d0, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1e894d0, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd7c8f26cb0 in QThreadPoolThread::run (this=0x1e89530) at concurrent/qthreadpool.cpp:140 #4 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x1e89530) at thread/qthread_unix.cpp:248 #5 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 12 (Thread 0x7fd7a2f75710 (LWP 22902)): #0 0x00007fff933ff904 in clock_gettime () #1 0x00007fd7c1fad318 in *__GI_clock_gettime (clock_id=1, tp=0x7fd7a2f74b70) at ../sysdeps/unix/clock_gettime.c:100 #2 0x00007fd7c905d0df in qt_gettime () at kernel/qcore_unix.cpp:111 #3 0x00007fd7c9061bcd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340 #4 0x00007fd7c9061eb5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #5 0x00007fd7c905ff1d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fd7a2f74c8c) at kernel/qeventdispatcher_glib.cpp:136 #6 0x00007fd7c905ffc5 in timerSourcePrepare (source=0x1, timeout=0x7fd7a2f74b70) at kernel/qeventdispatcher_glib.cpp:169 #7 0x00007fd7c1cf1488 in IA__g_main_context_prepare (context=0x2190030, priority=<value optimized out>) at gmain.c:2280 #8 0x00007fd7c1cf18e8 in g_main_context_iterate (context=0x2190030, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571 #9 0x00007fd7c1cf1ebc in IA__g_main_context_iteration (context=0x2190030, may_block=1) at gmain.c:2654 #10 0x00007fd7c905fd26 in QEventDispatcherGlib::processEvents (this=0x2184580, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #11 0x00007fd7c9031832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #12 0x00007fd7c9031c05 in QEventLoop::exec (this=0x7fd7a2f74e20, flags=) at kernel/qeventloop.cpp:201 #13 0x00007fd7c8f2f4e8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #14 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x2040a70) at thread/qthread_unix.cpp:248 #15 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #16 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 11 (Thread 0x7fd7a2774710 (LWP 22966)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd7c64850b6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd7c6767240) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #2 0x00007fd7c64850f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd7c677530c) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #3 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 10 (Thread 0x7fd79c61f710 (LWP 22974)): #0 0x00007fff933ff904 in clock_gettime () #1 0x00007fd7c1fad318 in *__GI_clock_gettime (clock_id=1, tp=0x7fd79c61eb70) at ../sysdeps/unix/clock_gettime.c:100 #2 0x00007fd7c905d0df in qt_gettime () at kernel/qcore_unix.cpp:111 #3 0x00007fd7c9061bcd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340 #4 0x00007fd7c9061eb5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #5 0x00007fd7c905ff1d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fd79c61ec8c) at kernel/qeventdispatcher_glib.cpp:136 #6 0x00007fd7c905ffc5 in timerSourcePrepare (source=0x1, timeout=0x7fd79c61eb70) at kernel/qeventdispatcher_glib.cpp:169 #7 0x00007fd7c1cf1488 in IA__g_main_context_prepare (context=0x31f3c00, priority=<value optimized out>) at gmain.c:2280 #8 0x00007fd7c1cf18e8 in g_main_context_iterate (context=0x31f3c00, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571 #9 0x00007fd7c1cf1ebc in IA__g_main_context_iteration (context=0x31f3c00, may_block=1) at gmain.c:2654 #10 0x00007fd7c905fd26 in QEventDispatcherGlib::processEvents (this=0x31425f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #11 0x00007fd7c9031832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #12 0x00007fd7c9031c05 in QEventLoop::exec (this=0x7fd79c61ee20, flags=) at kernel/qeventloop.cpp:201 #13 0x00007fd7c8f2f4e8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #14 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x31f3560) at thread/qthread_unix.cpp:248 #15 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #16 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 9 (Thread 0x7fd79be1e710 (LWP 22975)): #0 0x00007fff933ff904 in clock_gettime () #1 0x00007fd7c1fad318 in *__GI_clock_gettime (clock_id=1, tp=0x7fd79be1db70) at ../sysdeps/unix/clock_gettime.c:100 #2 0x00007fd7c905d0df in qt_gettime () at kernel/qcore_unix.cpp:111 #3 0x00007fd7c9061bcd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340 #4 0x00007fd7c9061eb5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #5 0x00007fd7c905ff1d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fd79be1dc8c) at kernel/qeventdispatcher_glib.cpp:136 #6 0x00007fd7c905ffc5 in timerSourcePrepare (source=0x1, timeout=0x7fd79be1db70) at kernel/qeventdispatcher_glib.cpp:169 #7 0x00007fd7c1cf1488 in IA__g_main_context_prepare (context=0x3146a70, priority=<value optimized out>) at gmain.c:2280 #8 0x00007fd7c1cf18e8 in g_main_context_iterate (context=0x3146a70, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571 #9 0x00007fd7c1cf1ebc in IA__g_main_context_iteration (context=0x3146a70, may_block=1) at gmain.c:2654 #10 0x00007fd7c905fd26 in QEventDispatcherGlib::processEvents (this=0x31f3e00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #11 0x00007fd7c9031832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #12 0x00007fd7c9031c05 in QEventLoop::exec (this=0x7fd79be1de20, flags=) at kernel/qeventloop.cpp:201 #13 0x00007fd7c8f2f4e8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #14 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x31e47b0) at thread/qthread_unix.cpp:248 #15 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #16 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 8 (Thread 0x7fd79b61d710 (LWP 22976)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fd7c8f31555 in thread_sleep (ti=0x7fd79b61cde0) at thread/qthread_unix.cpp:398 #2 0x00007fd7c8f316b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424 #3 0x00007fd79d8e0c41 in UIBlockTester::UIBlockTesterThread::run (this=0x31e3470) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cpplanguagesupport.cpp:678 #4 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x31e3470) at thread/qthread_unix.cpp:248 #5 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7fd79949c710 (LWP 23015)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd7c8f32dfb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x19fa950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x19fa950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd7cab491b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x19c2cd0, th=0x2e40f40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fd7cab4d000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19f42f0, th=0x2e40f40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fd7cab4b694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd79949be30, parent=0x19c2cd0, th=0x2e40f40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:87 #6 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x2e40f40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #7 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x2e40f40) at thread/qthread_unix.cpp:248 #8 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #9 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7fd798c9b710 (LWP 23016)): #0 0x00007fd7c729c59d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd7c72c6204 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007fd7c58be84c in KDevelop::DUChainLock::lockForWrite (this=0x1d6e948, timeout=0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:201 #3 0x00007fd7c58be938 in KDevelop::DUChainWriteLocker::lock (this=0x7fd798c98410) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:299 #4 0x00007fd79d8ee412 in CPPInternalParseJob::run (this=0x3e84770) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:597 #5 0x00007fd79d8faae8 in PreprocessJob::sourceNeeded (this=0x3da1a40, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=0, skipCurrentPath=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:580 #6 0x00007fd79d69f823 in rpp::pp::handle_include (this=0x7fd798c99850, skip_current_path=false, input=..., output=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:193 #7 0x00007fd79d6a00c2 in rpp::pp::handle_directive (this=0x7fd798c99850, directive=302167, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:131 #8 0x00007fd79d6a03bc in rpp::pp::operator() (this=0x7fd798c99850, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:246 #9 0x00007fd79d6a0689 in rpp::pp::processFileInternal (this=0x7fd798c99850, fileName=<value optimized out>, fileContents=<value optimized out>, result=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:98 #10 0x00007fd79d6a071a in rpp::pp::processFile (this=0x7fd798c99850, fileName=..., data=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:85 #11 0x00007fd79d8f8dca in PreprocessJob::run (this=0x3da1a40) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:238 #12 0x00007fd7cab4c001 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd798c9ad10, th=0x1e70610, job=0x3da1a40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106 #13 0x00007fd7cab4c1d9 in ThreadWeaver::Job::execute (this=0x3da1a40, th=0x1e70610) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135 #14 0x00007fd7cab4e1e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x37ab2b0, t=0x1e70610) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:82 #15 0x00007fd7cab4e140 in ThreadWeaver::JobCollection::execute (this=0x38936e0, t=0x1e70610) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:228 #16 0x00007fd7cab4b64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd798c9ae30, parent=0x19c2cd0, th=0x1e70610) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95 #17 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x1e70610) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #18 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x1e70610) at thread/qthread_unix.cpp:248 #19 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #20 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7fd79849a710 (LWP 23017)): #0 0x00007fd7c729c59d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd7c72c6204 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007fd7c58be84c in KDevelop::DUChainLock::lockForWrite (this=0x1d6e948, timeout=0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:201 #3 0x00007fd7c58be938 in KDevelop::DUChainWriteLocker::lock (this=0x7fd798499960) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:299 #4 0x00007fd79d8f9579 in PreprocessJob::run (this=0x3e852f0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:271 #5 0x00007fd7cab4c001 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd798499d10, th=0x3c8cf40, job=0x3e852f0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106 #6 0x00007fd7cab4c1d9 in ThreadWeaver::Job::execute (this=0x3e852f0, th=0x3c8cf40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135 #7 0x00007fd7cab4e1e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x1e6c980, t=0x3c8cf40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:82 #8 0x00007fd7cab4e140 in ThreadWeaver::JobCollection::execute (this=0x4069ff0, t=0x3c8cf40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:228 #9 0x00007fd7cab4b64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd798499e30, parent=0x19c2cd0, th=0x3c8cf40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95 #10 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x3c8cf40) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #11 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x3c8cf40) at thread/qthread_unix.cpp:248 #12 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #13 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7fd797c99710 (LWP 23018)): [KCrash Handler] #6 0x00007fd7c722d1a5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007fd7c722e5d0 in *__GI_abort () at abort.c:92 #8 0x00007fd7c8f28604 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2250 #9 0x00007fd7c8f287b2 in qt_message (msgType=QtFatalMsg, msg=0x7fd7c909c4f0 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fd797c966e0) at global/qglobal.cpp:2296 #10 0x00007fd7c8f28965 in qFatal (msg=0x59ea <Address 0x59ea out of bounds>) at global/qglobal.cpp:2479 #11 0x00007fd79d8f81b9 in PreprocessJob::headerSectionEndedInternal (this=0x40af760, stream=0x7fd797c976f0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:365 #12 0x00007fd79d696429 in rpp::pp_macro_expander::operator() (this=0x7fd797c97858, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-macro-expander.cpp:332 #13 0x00007fd79d6a04f3 in rpp::pp::operator() (this=0x7fd797c97850, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:261 #14 0x00007fd79d6a0689 in rpp::pp::processFileInternal (this=0x7fd797c97850, fileName=<value optimized out>, fileContents=<value optimized out>, result=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:98 #15 0x00007fd79d6a071a in rpp::pp::processFile (this=0x7fd797c97850, fileName=..., data=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:85 #16 0x00007fd79d8f8dca in PreprocessJob::run (this=0x40af760) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:238 #17 0x00007fd7cab4c001 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd797c98d10, th=0x3309480, job=0x40af760) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106 #18 0x00007fd7cab4c1d9 in ThreadWeaver::Job::execute (this=0x40af760, th=0x3309480) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135 #19 0x00007fd7cab4e1e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x2d99c60, t=0x3309480) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:82 #20 0x00007fd7cab4e140 in ThreadWeaver::JobCollection::execute (this=0x3e83f10, t=0x3309480) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:228 #21 0x00007fd7cab4b64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd797c98e30, parent=0x19c2cd0, th=0x3309480) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95 #22 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x3309480) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #23 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x3309480) at thread/qthread_unix.cpp:248 #24 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #25 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7fd797298710 (LWP 23025)): #0 0x00007fd7c729c59d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd7c72c6204 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007fd7c58be84c in KDevelop::DUChainLock::lockForWrite (this=0x1d6e948, timeout=0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:201 #3 0x00007fd7c58be938 in KDevelop::DUChainWriteLocker::lock (this=0x7fd797294230) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:299 #4 0x00007fd79d8f86ff in PreprocessJob::foundHeaderGuard (this=0x427a710, stream=<value optimized out>, guardName=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:105 #5 0x00007fd79d6a058b in rpp::pp::operator() (this=0x7fd797294630, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:272 #6 0x00007fd79d6a0689 in rpp::pp::processFileInternal (this=0x7fd797294630, fileName=<value optimized out>, fileContents=<value optimized out>, result=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:98 #7 0x00007fd79d6a071a in rpp::pp::processFile (this=0x7fd797294630, fileName=..., data=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:85 #8 0x00007fd79d8f8dca in PreprocessJob::run (this=0x427a710) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:238 #9 0x00007fd79d8edbdd in CPPParseJob::parseForeground (this=0x42718a0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:178 #10 0x00007fd79d8faae8 in PreprocessJob::sourceNeeded (this=0x3c69d90, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=0, skipCurrentPath=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:580 #11 0x00007fd79d69f823 in rpp::pp::handle_include (this=0x7fd797296850, skip_current_path=false, input=..., output=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:193 #12 0x00007fd79d6a00c2 in rpp::pp::handle_directive (this=0x7fd797296850, directive=302167, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:131 #13 0x00007fd79d6a03bc in rpp::pp::operator() (this=0x7fd797296850, input=..., output=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:246 #14 0x00007fd79d6a0689 in rpp::pp::processFileInternal (this=0x7fd797296850, fileName=<value optimized out>, fileContents=<value optimized out>, result=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:98 #15 0x00007fd79d6a071a in rpp::pp::processFile (this=0x7fd797296850, fileName=..., data=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/parser/rpp/pp-engine.cpp:85 #16 0x00007fd79d8f8dca in PreprocessJob::run (this=0x3c69d90) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:238 #17 0x00007fd7cab4c001 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd797297d10, th=0x382f1c0, job=0x3c69d90) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106 #18 0x00007fd7cab4c1d9 in ThreadWeaver::Job::execute (this=0x3c69d90, th=0x382f1c0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135 #19 0x00007fd7cab4e1e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3dac300, t=0x382f1c0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:82 #20 0x00007fd7cab4e140 in ThreadWeaver::JobCollection::execute (this=0x1e83d70, t=0x382f1c0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/JobCollection.cpp:228 #21 0x00007fd7cab4b64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd797297e30, parent=0x19c2cd0, th=0x382f1c0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95 #22 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x382f1c0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #23 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x382f1c0) at thread/qthread_unix.cpp:248 #24 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #25 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fd796a97710 (LWP 23026)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd7c8f32dfb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x19fa950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x19fa950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd7cab491b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x19c2cd0, th=0x1eaba30) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fd7cab4d000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19f42f0, th=0x1eaba30) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fd7cab4b694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd796a96e30, parent=0x19c2cd0, th=0x1eaba30) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:87 #6 0x00007fd7cab4b794 in ThreadWeaver::Thread::run (this=0x1eaba30) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142 #7 0x00007fd7c8f31c3a in QThreadPrivate::start (arg=0x1eaba30) at thread/qthread_unix.cpp:248 #8 0x00007fd7c8ca08e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #9 0x00007fd7c72cc29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fd7cc723760 (LWP 22876)): #0 0x00007fd7c72c3573 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd7bf723e5a in _xcb_conn_wait (c=0x18b8730, cond=<value optimized out>, vector=0x7fff9333e128, count=0x7fff9333e124) at xcb_conn.c:316 #2 0x00007fd7bf724389 in _xcb_out_send (c=0x18b8730, vector=0x7fff9333e128, count=0x7fff9333e124) at xcb_out.c:338 #3 0x00007fd7bf724417 in xcb_writev (c=0x18b8730, vector=0x7fff9333e180, count=3, requests=56) at xcb_out.c:286 #4 0x00007fd7c3dbf2aa in _XSend (dpy=0x18b2510, data=0x0, size=<value optimized out>) at xcb_io.c:339 #5 0x00007fd7c3dbf7f5 in _XFlush (dpy=0x18b2510) at xcb_io.c:356 #6 0x00007fd7c3d9735a in XFlush (dpy=0x18b2510) at Flush.c:39 #7 0x00007fd7c8199113 in QApplication::restoreOverrideCursor () at kernel/qapplication_x11.cpp:2822 #8 0x00007fd7c60d1313 in KDirOperator::resetCursor (this=0x2ca8770) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kfile/kdiroperator.cpp:472 #9 0x00007fd7c60d1389 in KDirOperator::Private::_k_slotIOFinished (this=0x2caa790) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kfile/kdiroperator.cpp:2296 #10 0x00007fd7c60d6336 in KDirOperator::qt_metacall (this=0x2ca8770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9333e330) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kfile/kdiroperator.moc:250 #11 0x00007fd7c9048e51 in QMetaObject::activate (sender=0x2ca8bb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285 #12 0x00007fd7cb78eb39 in KDirListerCache::slotResult (this=0x2c62820, j=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/kdirlister.cpp:1225 #13 0x00007fd7cb7961c3 in KDirListerCache::qt_metacall (this=0x2c62820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9333e600) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kio/kdirlister_p.moc:105 #14 0x00007fd7c9048e51 in QMetaObject::activate (sender=0x2d5f920, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285 #15 0x00007fd7cc1d2e72 in KJob::result (this=0x7fff9333e0a0, _t1=0x2d5f920) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kdecore/kjob.moc:194 #16 0x00007fd7cc1d31d1 in KJob::emitResult (this=0x2d5f920) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/jobs/kjob.cpp:312 #17 0x00007fd7cb76dade in KIO::SimpleJob::slotFinished (this=0x2d5f920) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/job.cpp:522 #18 0x00007fd7cb76dc2c in KIO::ListJob::slotFinished (this=0x2d5f920) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/job.cpp:2547 #19 0x00007fd7cb7725ed in KIO::ListJob::qt_metacall (this=0x2d5f920, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9333e930) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kio/jobclasses.moc:818 #20 0x00007fd7c9048e51 in QMetaObject::activate (sender=0x1e5eac0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285 #21 0x00007fd7cb817982 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/slaveinterface.cpp:175 #22 0x00007fd7cb817d26 in KIO::SlaveInterface::dispatch (this=0x1e5eac0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/slaveinterface.cpp:91 #23 0x00007fd7cb80ca31 in KIO::Slave::gotInput (this=0x1e5eac0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/slave.cpp:344 #24 0x00007fd7cb80dc0c in KIO::Slave::qt_metacall (this=0x1e5eac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9333ece0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kio/slave.moc:82 #25 0x00007fd7c9048e51 in QMetaObject::activate (sender=0x1d68ec0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285 #26 0x00007fd7cb7436b1 in KIO::ConnectionPrivate::dequeue (this=0x1b723e0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/connection.cpp:82 #27 0x00007fd7cb74444d in KIO::Connection::qt_metacall (this=0x1d68ec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3e49e30) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kio/connection.moc:79 #28 0x00007fd7c9044569 in QObject::event (this=0x1d68ec0, e=0x1f32680) at kernel/qobject.cpp:1240 #29 0x00007fd7c8118700 in QApplicationPrivate::notify_helper (this=0x18ac5e0, receiver=0x1d68ec0, e=0x1f32680) at kernel/qapplication.cpp:4300 #30 0x00007fd7c81205b7 in QApplication::notify (this=0x7fff9333f990, receiver=0x1d68ec0, e=0x1f32680) at kernel/qapplication.cpp:4183 #31 0x00007fd7c97f64c1 in KApplication::notify (this=0x7fff9333f990, receiver=0x1d68ec0, event=0x1f32680) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302 #32 0x00007fd7c903301b in QCoreApplication::notifyInternal (this=0x7fff9333f990, receiver=0x1d68ec0, event=0x1f32680) at kernel/qcoreapplication.cpp:704 #33 0x00007fd7c9033ee3 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x184a4d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x184a4d0) at kernel/qcoreapplication.cpp:1345 #35 0x00007fd7c90600e3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #36 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #37 0x00007fd7c1cedecf in g_main_dispatch (context=0x18af120) at gmain.c:1960 #38 IA__g_main_context_dispatch (context=0x18af120) at gmain.c:2513 #39 0x00007fd7c1cf1d08 in g_main_context_iterate (context=0x18af120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #40 0x00007fd7c1cf1ebc in IA__g_main_context_iteration (context=0x18af120, may_block=1) at gmain.c:2654 #41 0x00007fd7c905fcd3 in QEventDispatcherGlib::processEvents (this=0x18ac570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #42 0x00007fd7c81d1cee in QGuiEventDispatcherGlib::processEvents (this=0x7fff9333e0a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00007fd7c9031832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #44 0x00007fd7c9031c05 in QEventLoop::exec (this=0x7fff9333f740, flags=) at kernel/qeventloop.cpp:201 #45 0x00007fd7c90341db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #46 0x000000000040701f in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/app/main_internal.cpp:232 Reported using DrKonqi
commit 0a6d905bf0dd694c763ec28659cd9421c03fb582 Author: David nolden <david.nolden.kde@art-master.de> Date: Sat May 15 12:21:46 2010 +0200 Turn an assertion into a warning BUG: 236411 diff --git a/languages/cpp/preprocessjob.cpp b/languages/cpp/preprocessjob.cpp index 7f28714..3c3b3fd 100644 --- a/languages/cpp/preprocessjob.cpp +++ b/languages/cpp/preprocessjob.cpp @@ -354,10 +354,16 @@ void PreprocessJob::headerSectionEndedInternal(rpp::Stream* stream) if(m_updatingEnvironmentFile) content = KDevelop::ReferencedTopDUContext(contentFromProxy(m_updatingEnvironmentFile->topContext())); else - content = KDevelop::DUChain::self()->chainForDocument(u, m_currentEnvironment); + content = KDevelop::DUChain::self()->chainForDocument(u, m_currentEnvironment, false); m_currentEnvironment->disableIdentityOffsetRestriction(); + if(content && content->parsingEnvironmentFile()->isProxyContext()) + { + kWarning() << "Got proxy-context as content-context for file" << content->url().str() << ", not updating"; + content = KDevelop::ReferencedTopDUContext(); + } + if(content) { //We have found a content-context that we can use parentJob()->setUpdatingContentContext(content);
commit b9a833ded4fe2cafa15ebcf527149214baa30714 Author: David nolden <david.nolden.kde@art-master.de> Date: Sat May 15 12:21:46 2010 +0200 Turn an assertion into a warning BUG: 236411 diff --git a/languages/cpp/preprocessjob.cpp b/languages/cpp/preprocessjob.cpp index 7f28714..3c3b3fd 100644 --- a/languages/cpp/preprocessjob.cpp +++ b/languages/cpp/preprocessjob.cpp @@ -354,10 +354,16 @@ void PreprocessJob::headerSectionEndedInternal(rpp::Stream* stream) if(m_updatingEnvironmentFile) content = KDevelop::ReferencedTopDUContext(contentFromProxy(m_updatingEnvironmentFile->topContext())); else - content = KDevelop::DUChain::self()->chainForDocument(u, m_currentEnvironment); + content = KDevelop::DUChain::self()->chainForDocument(u, m_currentEnvironment, false); m_currentEnvironment->disableIdentityOffsetRestriction(); + if(content && content->parsingEnvironmentFile()->isProxyContext()) + { + kWarning() << "Got proxy-context as content-context for file" << content->url().str() << ", not updating"; + content = KDevelop::ReferencedTopDUContext(); + } + if(content) { //We have found a content-context that we can use parentJob()->setUpdatingContentContext(content);