Bug 256602

Summary: KDevelop crashes after patchreview and then reloading the document
Product: [Applications] kdevelop Reporter: Steffen Ohrendorf <steffen.ohrendorf>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 4.1.60   
Target Milestone: 4.2.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steffen Ohrendorf 2010-11-11 14:31:30 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
1) Git commit / patchreview
2) Press F5 to reload current document
3) > crash

- Unusual behavior I noticed:
Patchreview highlighting stayed after commit, so I pressed F5 to reload the document and force a re-highlight, then KDevelop crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa822da2760 (LWP 20242))]

Thread 11 (Thread 0x7fa80bf42710 (LWP 20243)):
#0  0x00007fa81effc709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286f12 in wait (this=<value optimized out>, mutex=0x8c2890, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x8c2890, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa81bc2185b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8c2870) at /home/sto/kdevgit/kdevplatform/language/duchain/duchain.cpp:283
#4  0x00007fa81f2868be in QThreadPrivate::start (arg=0x8c2870) at thread/qthread_unix.cpp:266
#5  0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa7fc0aa710 (LWP 20281)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffdc1ff7a1 in ?? ()
#2  0x00007fa81868d2a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007fa81f2d918f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#5  0x00007fa81f39d00d in QTimerInfoList::updateCurrentTime (this=0x184b760) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fa81f39d395 in QTimerInfoList::timerWait (this=0x184b760, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fa81f39be6c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fa7fc0a9c8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fa81f39bf15 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fa8183e4f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fa8183e5e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fa8183e6510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fa81f39c656 in QEventDispatcherGlib::processEvents (this=0x1849ad0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#13 0x00007fa81f370e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fa81f371025 in QEventLoop::exec (this=0x7fa7fc0a9e20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fa81f284034 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#16 0x00007fa81f2868be in QThreadPrivate::start (arg=0x18613c0) at thread/qthread_unix.cpp:266
#17 0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#18 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa7fc8ab710 (LWP 20282)):
#0  0x00007fa81d6e86b3 in poll () from /lib64/libc.so.6
#1  0x00007fa8183e5fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa8183e6510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa81f39c656 in QEventDispatcherGlib::processEvents (this=0x184e290, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fa81f370e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa81f371025 in QEventLoop::exec (this=0x7fa7fc8aae20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa81f284034 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fa81f2868be in QThreadPrivate::start (arg=0x1843840) at thread/qthread_unix.cpp:266
#8  0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa7f8aeb710 (LWP 20329)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81c883a64 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fa81cba4180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fa81c883a99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fa81cbb2254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa7f3e7e710 (LWP 20346)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0xa352f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xa352f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa50a50, th=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0xc231e0, th=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0xc231e0, th=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0xc231e0, th=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f3e7de30, parent=0xa50a50, th=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x35f55f0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa81f2868be in QThreadPrivate::start (arg=0x35f55f0) at thread/qthread_unix.cpp:266
#10 0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa7f367d710 (LWP 20347)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0xa352f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xa352f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa50a50, th=0x4934680) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0xc231e0, th=0x4934680) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0xc231e0, th=0x4934680) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f367ce30, parent=0xa50a50, th=0x4934680) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x4934680) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fa81f2868be in QThreadPrivate::start (arg=0x4934680) at thread/qthread_unix.cpp:266
#9  0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa80a239710 (LWP 20384)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5931e50, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa80a238e30, parent=0x5931e50, th=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#11 0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x549c300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#12 0x00007fa81f2868be in QThreadPrivate::start (arg=0x549c300) at thread/qthread_unix.cpp:266
#13 0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#14 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa7f26c0710 (LWP 20385)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5931e50, th=0x34916c0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0x5903ca0, th=0x34916c0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x34916c0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f26bfe30, parent=0x5931e50, th=0x34916c0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x34916c0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fa81f2868be in QThreadPrivate::start (arg=0x34916c0) at thread/qthread_unix.cpp:266
#9  0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa7f1ebf710 (LWP 20399)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5931e50, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f1ebee30, parent=0x5931e50, th=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#12 0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x5794300) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#13 0x00007fa81f2868be in QThreadPrivate::start (arg=0x5794300) at thread/qthread_unix.cpp:266
#14 0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#15 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa7f16be710 (LWP 20400)):
#0  0x00007fa81effc39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa81f286fab in wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x58ec9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa82128f254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5931e50, th=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa8212922a5 in waitForAvailableJob (this=0x5903ca0, th=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fa8212922be in ThreadWeaver::WorkingHardState::applyForWork (this=0x5903ca0, th=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa82128f64f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f16bde30, parent=0x5931e50, th=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa82128f6d8 in ThreadWeaver::Thread::run (this=0x7fa7f48050a0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa81f2868be in QThreadPrivate::start (arg=0x7fa7f48050a0) at thread/qthread_unix.cpp:266
#10 0x00007fa81eff7a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa81d6f182d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa822da2760 (LWP 20242)):
[KCrash Handler]
#6  0x00007fa7fefd8440 in begin (this=0x6d551d0, doc=0x386c780, range=...) at /usr/include/QtCore/qlist.h:97
#7  constBegin (this=0x6d551d0, doc=0x386c780, range=...) at /usr/include/QtCore/qlist.h:256
#8  PatchHighlighter::textInserted (this=0x6d551d0, doc=0x386c780, range=...) at /home/sto/kdevgit/kdevplatform/plugins/patchreview/patchreview.cpp:944
#9  0x00007fa7fefd8f0e in PatchHighlighter::qt_metacall (this=0x6d551d0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffdc127360)
    at /home/sto/kdevgit/kdevplatform/build/plugins/patchreview/patchreview.moc:102
#10 0x00007fa81f386b5f in QMetaObject::activate (sender=0x386c780, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffdc127360) at kernel/qobject.cpp:3272
#11 0x00007fa8214bd3e7 in KTextEditor::Document::textInserted (this=<value optimized out>, _t1=0x386c780, _t2=<value optimized out>)
    at /usr/src/debug/kdelibs-4.5.3/build/interfaces/ktexteditor/document.moc:184
#12 0x00007fa80c55551f in KateDocument::openFile (this=0x386c780) at /usr/src/debug/kdelibs-4.5.3/kate/document/katedocument.cpp:2037
#13 0x00007fa821921c16 in KParts::ReadOnlyPart::openUrl (this=0x386c780, url=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kparts/part.cpp:557
#14 0x00007fa80c5242f8 in KateDocument::documentReload (this=0x386c780) at /usr/src/debug/kdelibs-4.5.3/kate/document/katedocument.cpp:3904
#15 0x00007fa80c56204d in KateView::qt_metacall (this=0x39c1c90, _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0x7fffdc127fc0) at /usr/src/debug/kdelibs-4.5.3/build/kate/kateview.moc:432
#16 0x00007fa81f386b5f in QMetaObject::activate (sender=0x3a007a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffdc127fc0) at kernel/qobject.cpp:3272
#17 0x00007fa81e511be2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007fa81e511dda in QAction::activate (this=0x3a007a0, event=<value optimized out>) at kernel/qaction.cpp:1256
#19 0x00007fa81e511f57 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1182
#20 0x00007fa81fc05c0d in KAction::event (this=<value optimized out>, event=0x7fffdc128690) at /usr/src/debug/kdelibs-4.5.3/kdeui/actions/kaction.cpp:131
#21 0x00007fa81e517f34 in QApplicationPrivate::notify_helper (this=0x63fea0, receiver=0x3a007a0, e=0x7fffdc128690) at kernel/qapplication.cpp:4396
#22 0x00007fa81e52035a in QApplication::notify (this=<value optimized out>, receiver=0x3a007a0, e=0x7fffdc128690) at kernel/qapplication.cpp:4277
#23 0x00007fa81fa9d846 in KApplication::notify (this=0x7fffdc129f10, receiver=0x3a007a0, event=0x7fffdc128690) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#24 0x00000000004051f9 in KDevelopApplication::notify (this=0x7fffdc129f10, receiver=0x3a007a0, event=0x7fffdc128690) at /home/sto/kdevgit/kdevelop/app/main.cpp:90
#25 0x00007fa81f3719dc in QCoreApplication::notifyInternal (this=0x7fffdc129f10, receiver=0x3a007a0, event=0x7fffdc128690) at kernel/qcoreapplication.cpp:732
#26 0x00007fa81e54a6b0 in sendEvent (this=<value optimized out>, e=0x7fffdc128cd0) at ../../src/corelib/kernel/qcoreapplication.h:215
#27 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffdc128cd0) at kernel/qshortcutmap.cpp:879
#28 0x00007fa81e54bba8 in QShortcutMap::tryShortcutEvent (this=0x63ffc8, o=<value optimized out>, e=0x7fffdc128cd0) at kernel/qshortcutmap.cpp:364
#29 0x00007fa81e521fa5 in QApplication::notify (this=0x7fffdc129f10, receiver=0x39c2600, e=0x7fffdc128cd0) at kernel/qapplication.cpp:3840
#30 0x00007fa81fa9d846 in KApplication::notify (this=0x7fffdc129f10, receiver=0x39c2600, event=0x7fffdc128cd0) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#31 0x00000000004051f9 in KDevelopApplication::notify (this=0x7fffdc129f10, receiver=0x39c2600, event=0x7fffdc128cd0) at /home/sto/kdevgit/kdevelop/app/main.cpp:90
#32 0x00007fa81f3719dc in QCoreApplication::notifyInternal (this=0x7fffdc129f10, receiver=0x39c2600, event=0x7fffdc128cd0) at kernel/qcoreapplication.cpp:732
#33 0x00007fa81e5b7daa in QKeyMapper::sendKeyEvent (keyWidget=0x39c2600, grab=<value optimized out>, type=QEvent::KeyPress, code=16777268, modifiers=<value optimized out>, text=..., autorepeat=
    false, count=1, nativeScanCode=71, nativeVirtualKey=65474, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1867
#34 0x00007fa81e5b822d in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x39c2600, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1837
#35 0x00007fa81e5947d4 in QApplication::x11ProcessEvent (this=0x7fffdc129f10, event=0x7fffdc1298b0) at kernel/qapplication_x11.cpp:3429
#36 0x00007fa81e5bc252 in x11EventSourceDispatch (s=0x643cf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fa8183e5a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fa8183e6270 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fa8183e6510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fa81f39c5ff in QEventDispatcherGlib::processEvents (this=0x61d530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#41 0x00007fa81e5bbeee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fa81f370e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fa81f371025 in QEventLoop::exec (this=0x7fffdc129bd0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007fa81f37543b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0x000000000040b95b in main (argc=<value optimized out>, argv=0x7fffdc12be08) at /home/sto/kdevgit/kdevelop/app/main.cpp:468

Reported using DrKonqi
Comment 1 Milian Wolff 2010-11-12 13:38:38 UTC
if you can reproduce this, please run kdevelop through valgrind and show us the log it produces:

valgrind --track-origins=yes --num-callers=25 kdevelop
Comment 2 Steffen Ohrendorf 2010-11-12 19:24:34 UTC
==7878== Memcheck, a memory error detector
==7878== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==7878== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==7878== Command: kdevelop
==7878== 
kdevelop(7878)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-sto/ksycoca4"
kdevelop(7878)/kdecore (trader): query for mimeType  "text/plain" ,  "KParts/ReadOnlyPart"  : returning  1  offers
kdevelop(7878)/kdecore (kdelibs): KTempDir: Temporary directory created : "/tmp/kde-sto/kdevcmakemanagerPxJLXB/"
kdevelop(7878)/kdecore (KLibrary): plugins should not have a 'lib' prefix: "libkonsolepart.so"
==7878== Thread 4:
==7878== Conditional jump or move depends on uninitialised value(s)
==7878==    at 0x1F924601: CMakeProjectVisitor::visit(GetCMakePropertyAst const*) (cmakeprojectvisitor.cpp:1869)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Uninitialised value was created by a heap allocation
==7878==    at 0x4C267D0: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0x1F903D1A: (anonymous namespace)::CreateGetCMakePropertyAst() (cmakeast.cpp:69)
==7878==    by 0x1F8FCA89: AstFactory::createAst(QString const&) (astfactory.cpp:74)
==7878==    by 0x1F93292F: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2136)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)                                                                                                                                             
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)                                                                                                                                                                     
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)                                                                                                                                                                
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)                                                                                                                                                                      
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)                                                                                                                                                                                   
==7878==                                                                                                                                                                                                                                     
==7878== Conditional jump or move depends on uninitialised value(s)                                                                                                                                                                          
==7878==    at 0x1F92460A: CMakeProjectVisitor::visit(GetCMakePropertyAst const*) (cmakeprojectvisitor.cpp:1869)                                                                                                                             
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)                                                                                                                                           
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)                                                                                                                                           
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)                                                                                                                                       
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)                                                                                                                                          
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)                                                                                                                  
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)                                                                                                                                             
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)                                                                                                                                                                     
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)                                                                                                                                                                
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)                                                                                                                                                                      
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)                                                                                                                                                                                   
==7878==  Uninitialised value was created by a heap allocation                                                                                                                                                                               
==7878==    at 0x4C267D0: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)                                                                                                                             
==7878==    by 0x1F903D1A: (anonymous namespace)::CreateGetCMakePropertyAst() (cmakeast.cpp:69)                                                                                                                                              
==7878==    by 0x1F8FCA89: AstFactory::createAst(QString const&) (astfactory.cpp:74)                                                                                                                                                         
==7878==    by 0x1F93292F: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2136)                                                                                                              
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)                                                                                                                                           
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)                                                                                                                                           
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)                                                                                                              
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878== 
==7878== Conditional jump or move depends on uninitialised value(s)
==7878==    at 0x1F924613: CMakeProjectVisitor::visit(GetCMakePropertyAst const*) (cmakeprojectvisitor.cpp:1869)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Uninitialised value was created by a heap allocation
==7878==    at 0x4C267D0: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0x1F903D1A: (anonymous namespace)::CreateGetCMakePropertyAst() (cmakeast.cpp:69)
==7878==    by 0x1F8FCA89: AstFactory::createAst(QString const&) (astfactory.cpp:74)
==7878==    by 0x1F93292F: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2136)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F934A1A: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1258)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1F938F2A: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:536)
==7878==    by 0x1F932829: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2168)
==7878==    by 0x1FB7CA3C: CMakeManager::parse(KDevelop::ProjectFolderItem*) (cmakemanager.cpp:395)
==7878==    by 0xB5ED532: KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) (importprojectjob.cpp:53)
==7878==    by 0xB5ED265: QtConcurrent::RunFunctionTask<void>::run() (qtconcurrentrunbase.h:120)
==7878==    by 0x83D0C97: QThreadPoolThread::run() (qthreadpool.cpp:106)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878== 
kdevelop(7878)/kdecore (services): Now parsing  "/usr/share/mime/magic"
kdevelop(7878)/kdecore (services): Now parsing  "/usr/local/share/mime/magic"
kdevelop(7878)/kdecore (services): Now parsing  "/home/sto/.local/share/mime/magic"
==7878== Thread 1:
==7878== Invalid read of size 4
==7878==    at 0x8FD6E74: QFrame::frameStyle() const (qframe.cpp:252)
==7878==    by 0x15977682: ??? (in /usr/lib64/kde4/plugins/styles/oxygen.so)
==7878==    by 0x8C2FA69: QWidget::event(QEvent*) (qwidget.cpp:8273)
==7878==    by 0x8BDDF33: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4396)
==7878==    by 0x8BE6359: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4277)
==7878==    by 0x7C4D845: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:310)
==7878==    by 0x4051F8: KDevelopApplication::notify(QObject*, QEvent*) (main.cpp:90)
==7878==    by 0x84C59DB: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:732)
==7878==    by 0x8C275EE: QWidget::ensurePolished() const (qcoreapplication.h:215)
==7878==    by 0x8C331DA: QWidget::setVisible(bool) (qwidget.cpp:7539)
==7878==    by 0x1CF5C3A1: KateViewInternal::KateViewInternal(KateView*) (qwidget.h:487)
==7878==    by 0x1CFAB6B1: KateView::KateView(KateDocument*, QWidget*) (kateview.cpp:115)
==7878==    by 0x1CFABF73: KateDocument::createView(QWidget*) (katedocument.cpp:333)
==7878==    by 0x557E190: KDevelop::TextDocument::createViewWidget(QWidget*) (textdocument.cpp:290)
==7878==    by 0x557DF96: KDevelop::TextView::createWidget(QWidget*) (textdocument.cpp:541)
==7878==    by 0xBED8355: Sublime::View::widget(QWidget*) (view.cpp:82)
==7878==    by 0xBED5B02: Sublime::MainWindowPrivate::ViewCreator::operator()(Sublime::AreaIndex*) (mainwindow_p.cpp:248)
==7878==    by 0xBED7C67: Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) (areawalkers.h:32)
==7878==    by 0xBED67D6: Sublime::MainWindowPrivate::reconstruct() (mainwindow_p.cpp:275)
==7878==    by 0xBECF503: Sublime::MainWindow::setArea(Sublime::Area*) (mainwindow.cpp:139)
==7878==    by 0x554C2DA: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:213)
==7878==    by 0x55466A9: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:308)
==7878==    by 0x5547139: KDevelop::WorkingSetController::qt_metacall(QMetaObject::Call, int, void**) (workingsetcontroller.moc:107)
==7878==    by 0x84DAB5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==7878==    by 0xBEC343B: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:171)
==7878==  Address 0x1dfbf758 is not stack'd, malloc'd or (recently) free'd
==7878== 
kdevelop(7878)/kdecore (kdelibs): KTempDir: Temporary directory created : "/tmp/kde-sto/kdevcmakemanagerOIsnTn/"
kdevelop(7878)/kdecore (kdelibs): KTempDir: Temporary directory created : "/tmp/kde-sto/kdevcmakemanager8xyFaa/"
kdevelop(7878)/kdecore (kdelibs): KTempDir: Temporary directory created : "/tmp/kde-sto/kdevcmakemanageryw6WLW/"
kdevelop(7878)/kdecore (kdelibs): KTempDir: Temporary directory created : "/tmp/kde-sto/kdevcmakemanagerrR8aZJ/"
==7878== Thread 4:
==7878== Syscall param utimes(tvp[1]) points to uninitialised byte(s)
==7878==    at 0xA1526B7: utimes (in /lib64/libc-2.11.2.so)
==7878==    by 0x2DF9ACEF: CppTools::IncludePathResolver::resolveIncludePathInternal(QString const&, QString const&, QString const&, CppTools::SourcePathInformation const&, int) (includepathresolver.cpp:124)
==7878==    by 0x2DF9D243: CppTools::IncludePathResolver::resolveIncludePath(QString const&, QString const&, int) (includepathresolver.cpp:660)
==7878==    by 0x2DF9EEA4: CppTools::IncludePathResolver::resolveIncludePath(QString const&) (includepathresolver.cpp:443)
==7878==    by 0x2DF84651: IncludePathComputer::computeBackground() (includepathcomputer.cpp:184)
==7878==    by 0x2DF884C0: CPPParseJob::includePaths() const (cppparsejob.cpp:251)
==7878==    by 0x2DF88695: CPPParseJob::mergeDefines(CppPreprocessEnvironment&) const (cppparsejob.cpp:205)
==7878==    by 0x2DF929B9: PreprocessJob::run() (preprocessjob.cpp:178)
==7878==    by 0x6577BD0: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==7878==    by 0x6577D0D: ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (Job.cpp:135)
==7878==    by 0x6577DD2: ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) (JobCollection.cpp:82)
==7878==    by 0x657761E: ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) (Thread.cpp:95)
==7878==    by 0x65776D7: ThreadWeaver::Thread::run() (Thread.cpp:142)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Address 0x20fb2bf0 is on thread 4's stack
==7878==  Uninitialised value was created by a stack allocation
==7878==    at 0x2DF9910A: CppTools::IncludePathResolver::resolveIncludePathInternal(QString const&, QString const&, QString const&, CppTools::SourcePathInformation const&, int) (includepathresolver.cpp:699)
==7878== 
==7878== Syscall param utimes(tvp[1]) points to uninitialised byte(s)
==7878==    at 0xA1526B7: utimes (in /lib64/libc-2.11.2.so)
==7878==    by 0x2DF9A6EE: CppTools::IncludePathResolver::resolveIncludePathInternal(QString const&, QString const&, QString const&, CppTools::SourcePathInformation const&, int) (includepathresolver.cpp:156)
==7878==    by 0x2DF9D243: CppTools::IncludePathResolver::resolveIncludePath(QString const&, QString const&, int) (includepathresolver.cpp:660)
==7878==    by 0x2DF9EEA4: CppTools::IncludePathResolver::resolveIncludePath(QString const&) (includepathresolver.cpp:443)
==7878==    by 0x2DF84651: IncludePathComputer::computeBackground() (includepathcomputer.cpp:184)
==7878==    by 0x2DF884C0: CPPParseJob::includePaths() const (cppparsejob.cpp:251)
==7878==    by 0x2DF88695: CPPParseJob::mergeDefines(CppPreprocessEnvironment&) const (cppparsejob.cpp:205)
==7878==    by 0x2DF929B9: PreprocessJob::run() (preprocessjob.cpp:178)
==7878==    by 0x6577BD0: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==7878==    by 0x6577D0D: ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (Job.cpp:135)
==7878==    by 0x6577DD2: ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) (JobCollection.cpp:82)
==7878==    by 0x657761E: ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) (Thread.cpp:95)
==7878==    by 0x65776D7: ThreadWeaver::Thread::run() (Thread.cpp:142)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Address 0x20fb2bf0 is on thread 4's stack
==7878==  Uninitialised value was created by a stack allocation
==7878==    at 0x2DF9910A: CppTools::IncludePathResolver::resolveIncludePathInternal(QString const&, QString const&, QString const&, CppTools::SourcePathInformation const&, int) (includepathresolver.cpp:699)
==7878== 
==7878== Thread 2:
==7878== Syscall param write(buf) points to uninitialised byte(s)
==7878==    at 0x880832D: ??? (in /lib64/libpthread-2.11.2.so)
==7878==    by 0x8498AFE: QFSFileEnginePrivate::writeFdFh(char const*, long long) (qcore_unix_p.h:262)
==7878==    by 0x8458ED5: QFile::flush() (qfile.cpp:1347)
==7878==    by 0x845943F: QFile::size() const (qfile.cpp:144)
==7878==    by 0xBB410AF: KDevelop::TopDUContextDynamicData::store() (topducontextdynamicdata.cpp:573)
==7878==    by 0xBB105A7: KDevelop::DUChainPrivate::doMoreCleanup(int, bool) (duchain.cpp:748)
==7878==    by 0xBB1189C: KDevelop::DUChainPrivate::CleanupThread::run() (duchain.cpp:292)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Address 0x34265dc6 is 1,334 bytes inside a block of size 32,768 alloc'd
==7878==    at 0x4C26C3A: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0x83DC947: QByteArray::realloc(int) (qbytearray.cpp:1421)
==7878==    by 0x83DCA68: QByteArray::resize(int) (qbytearray.cpp:1389)
==7878==    by 0x845B53B: QFile::writeData(char const*, long long) (qringbuffer_p.h:158)
==7878==    by 0x84600D6: QIODevice::write(char const*, long long) (qiodevice.cpp:1359)
==7878==    by 0xBB40EAC: KDevelop::TopDUContextDynamicData::store() (topducontextdynamicdata.cpp:556)
==7878==    by 0xBB105A7: KDevelop::DUChainPrivate::doMoreCleanup(int, bool) (duchain.cpp:748)
==7878==    by 0xBB1189C: KDevelop::DUChainPrivate::CleanupThread::run() (duchain.cpp:292)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Uninitialised value was created by a heap allocation
==7878==    at 0x4C267D0: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0xBB7347A: KDevelop::FunctionDeclaration::FunctionDeclaration(KDevelop::RangeInRevision const&, KDevelop::DUContext*) (functiondeclaration.cpp:44)
==7878==    by 0x2E4BFDE2: KDevelop::FunctionDeclaration* DeclarationBuilder::openDeclarationReal<KDevelop::FunctionDeclaration>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool, KDevelop::RangeInRevision const*) (declarationbuilder.cpp:577)
==7878==    by 0x2E4C0B42: KDevelop::FunctionDeclaration* DeclarationBuilder::openDeclaration<KDevelop::FunctionDeclaration>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool) (declarationbuilder.cpp:479)
==7878==    by 0x2E4A5BB9: DeclarationBuilder::openFunctionDeclaration(NameAST*, AST*) (declarationbuilder.cpp:725)
==7878==    by 0x2E4A613B: DeclarationBuilder::visitDeclarator(DeclaratorAST*) (declarationbuilder.cpp:342)
==7878==    by 0x2E4901B1: ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) (contextbuilder.cpp:891)
==7878==    by 0x2E4A00FA: DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*) (declarationbuilder.cpp:229)
==7878==    by 0x2E4CF96E: TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (typebuilder.cpp:551)
==7878==    by 0x2E4A0B12: DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (declarationbuilder.cpp:315)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E4924E0: KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild(AST*, KDevelop::DUContext*) (abstractcontextbuilder.h:133)
==7878==    by 0x2E491634: ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (contextbuilder.cpp:421)
==7878==    by 0x2E49EEE0: DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (declarationbuilder.cpp:91)
==7878==    by 0x2DF89F28: CPPInternalParseJob::run() (cppparsejob.cpp:639)
==7878==    by 0x2DF8FDE6: PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) (preprocessjob.cpp:593)
==7878==    by 0x2E21E0B4: rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) (pp-engine.cpp:209)
==7878==    by 0x2E223B8A: rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) (pp-engine.cpp:131)
==7878==    by 0x2E224316: rpp::pp::operator()(rpp::Stream&, rpp::Stream&) (pp-engine.cpp:262)
==7878==    by 0x2E224550: rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) (pp-engine.cpp:98)
==7878==    by 0x2E2245F4: rpp::pp::processFile(QString const&, QByteArray const&) (pp-engine.cpp:85)
==7878==    by 0x2DF91F26: PreprocessJob::run() (preprocessjob.cpp:259)
==7878==    by 0x2DF8727D: CPPParseJob::parseForeground() (cppparsejob.cpp:173)
==7878==    by 0x2DF8FDE6: PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) (preprocessjob.cpp:593)
==7878==    by 0x2E21E0B4: rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) (pp-engine.cpp:209)
==7878== 
==7878== Syscall param write(buf) points to uninitialised byte(s)
==7878==    at 0x880832D: ??? (in /lib64/libpthread-2.11.2.so)
==7878==    by 0x8498AFE: QFSFileEnginePrivate::writeFdFh(char const*, long long) (qcore_unix_p.h:262)
==7878==    by 0x8458ED5: QFile::flush() (qfile.cpp:1347)
==7878==    by 0x845B4D7: QFile::writeData(char const*, long long) (qfile.cpp:1628)
==7878==    by 0x84600D6: QIODevice::write(char const*, long long) (qiodevice.cpp:1359)
==7878==    by 0xBB41083: KDevelop::TopDUContextDynamicData::store() (topducontextdynamicdata.cpp:569)
==7878==    by 0xBB105A7: KDevelop::DUChainPrivate::doMoreCleanup(int, bool) (duchain.cpp:748)
==7878==    by 0xBB1189C: KDevelop::DUChainPrivate::CleanupThread::run() (duchain.cpp:292)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Address 0x33d1d043 is 11,667 bytes inside a block of size 32,768 alloc'd
==7878==    at 0x4C26C3A: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0x83DC947: QByteArray::realloc(int) (qbytearray.cpp:1421)
==7878==    by 0x83DCA68: QByteArray::resize(int) (qbytearray.cpp:1389)
==7878==    by 0x845B53B: QFile::writeData(char const*, long long) (qringbuffer_p.h:158)
==7878==    by 0x84600D6: QIODevice::write(char const*, long long) (qiodevice.cpp:1359)
==7878==    by 0xBB40EAC: KDevelop::TopDUContextDynamicData::store() (topducontextdynamicdata.cpp:556)
==7878==    by 0xBB105A7: KDevelop::DUChainPrivate::doMoreCleanup(int, bool) (duchain.cpp:748)
==7878==    by 0xBB1189C: KDevelop::DUChainPrivate::CleanupThread::run() (duchain.cpp:292)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Uninitialised value was created by a heap allocation
==7878==    at 0x4C267D0: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0xBB5181A: KDevelop::ClassFunctionDeclaration::ClassFunctionDeclaration(KDevelop::RangeInRevision const&, KDevelop::DUContext*) (classfunctiondeclaration.cpp:61)
==7878==    by 0x2E4BEEF2: KDevelop::ClassFunctionDeclaration* DeclarationBuilder::openDeclarationReal<KDevelop::ClassFunctionDeclaration>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool, KDevelop::RangeInRevision const*) (declarationbuilder.cpp:577)
==7878==    by 0x2E4BFC52: KDevelop::ClassFunctionDeclaration* DeclarationBuilder::openDeclaration<KDevelop::ClassFunctionDeclaration>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool) (declarationbuilder.cpp:479)
==7878==    by 0x2E4A5F71: DeclarationBuilder::openFunctionDeclaration(NameAST*, AST*) (declarationbuilder.cpp:700)
==7878==    by 0x2E4A613B: DeclarationBuilder::visitDeclarator(DeclaratorAST*) (declarationbuilder.cpp:342)
==7878==    by 0x2E4901B1: ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) (contextbuilder.cpp:891)
==7878==    by 0x2E4A00FA: DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*) (declarationbuilder.cpp:229)
==7878==    by 0x2E4CF96E: TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (typebuilder.cpp:551)
==7878==    by 0x2E4A0B12: DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (declarationbuilder.cpp:315)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E48E85A: ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) (contextbuilder.cpp:533)
==7878==    by 0x2E4D08CA: TypeBuilder::visitClassSpecifier(ClassSpecifierAST*) (typebuilder.cpp:77)
==7878==    by 0x2E4A3F30: DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) (declarationbuilder.cpp:1017)
==7878==    by 0x2E4CF91E: TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (typebuilder.cpp:544)
==7878==    by 0x2E4A0B12: DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (declarationbuilder.cpp:315)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E48D5A1: ContextBuilder::visitNamespace(NamespaceAST*) (contextbuilder.cpp:472)
==7878==    by 0x2E4A2D26: DeclarationBuilder::visitNamespace(NamespaceAST*) (declarationbuilder.cpp:975)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E4924E0: KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild(AST*, KDevelop::DUContext*) (abstractcontextbuilder.h:133)
==7878==    by 0x2E491634: ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (contextbuilder.cpp:421)
==7878==    by 0x2E49EEE0: DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (declarationbuilder.cpp:91)
==7878==    by 0x2DF89F28: CPPInternalParseJob::run() (cppparsejob.cpp:639)
==7878==    by 0x6577BD0: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==7878== 
==7878== Syscall param write(buf) points to uninitialised byte(s)
==7878==    at 0x880832D: ??? (in /lib64/libpthread-2.11.2.so)
==7878==    by 0x8498AFE: QFSFileEnginePrivate::writeFdFh(char const*, long long) (qcore_unix_p.h:262)
==7878==    by 0x845B496: QFile::writeData(char const*, long long) (qfile.cpp:1635)
==7878==    by 0x84600D6: QIODevice::write(char const*, long long) (qiodevice.cpp:1359)
==7878==    by 0xBBED3D2: KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::store() (itemrepository.h:408)
==7878==    by 0xBBE8873: KDevelop::ItemRepositoryRegistry::store() (itemrepository.cpp:346)
==7878==    by 0xBB10EDB: KDevelop::DUChainPrivate::doMoreCleanup(int, bool) (duchain.cpp:852)
==7878==    by 0xBB1189C: KDevelop::DUChainPrivate::CleanupThread::run() (duchain.cpp:292)
==7878==    by 0x83DA8BD: QThreadPrivate::start(void*) (qthread_unix.cpp:266)
==7878==    by 0x8800A4E: start_thread (in /lib64/libpthread-2.11.2.so)
==7878==    by 0xA15782C: clone (in /lib64/libc-2.11.2.so)
==7878==  Address 0x31bdaf3c is 20,076 bytes inside a block of size 65,536 alloc'd
==7878==    at 0x4C262E6: operator new[](unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7878==    by 0xBBEF8D0: KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::index(KDevelop::AbstractTypeDataRequest const&) (itemrepository.h:1048)
==7878==    by 0xBBEA7F6: KDevelop::TypeRepository::indexForType(TypePtr<KDevelop::AbstractType>) (typerepository.cpp:99)
==7878==    by 0xBBD596F: KDevelop::AbstractType::indexed() const (abstracttype.cpp:101)
==7878==    by 0xBB46A72: KDevelop::Declaration::setAbstractType(TypePtr<KDevelop::AbstractType>) (declaration.cpp:318)
==7878==    by 0x2E4A5518: DeclarationBuilder::visitTemplateParameter(TemplateParameterAST*) (declarationbuilder.cpp:122)
==7878==    by 0x2E4929B5: void visitNodes<TemplateParameterAST*>(Visitor*, ListNode<TemplateParameterAST*> const*) (visitor.h:129)
==7878==    by 0x2E48FB35: ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) (contextbuilder.cpp:286)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E48E85A: ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) (contextbuilder.cpp:533)
==7878==    by 0x2E4D08CA: TypeBuilder::visitClassSpecifier(ClassSpecifierAST*) (typebuilder.cpp:77)
==7878==    by 0x2E4A3F30: DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) (declarationbuilder.cpp:1017)
==7878==    by 0x2E4CF91E: TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (typebuilder.cpp:544)
==7878==    by 0x2E4A0B12: DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) (declarationbuilder.cpp:315)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E48D5A1: ContextBuilder::visitNamespace(NamespaceAST*) (contextbuilder.cpp:472)
==7878==    by 0x2E4A2D26: DeclarationBuilder::visitNamespace(NamespaceAST*) (declarationbuilder.cpp:975)
==7878==    by 0x2E784755: void visitNodes<DeclarationAST*>(Visitor*, ListNode<DeclarationAST*> const*) (visitor.h:129)
==7878==    by 0x2E4924E0: KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild(AST*, KDevelop::DUContext*) (abstractcontextbuilder.h:133)
==7878==    by 0x2E491634: ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (contextbuilder.cpp:421)
==7878==    by 0x2E49EEE0: DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) (declarationbuilder.cpp:91)
==7878==    by 0x2DF89F28: CPPInternalParseJob::run() (cppparsejob.cpp:639)
==7878==    by 0x6577BD0: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==7878==    by 0x6577D0D: ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (Job.cpp:135)
==7878==    by 0x6577DD2: ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) (JobCollection.cpp:82)
==7878==  Uninitialised value was created by a stack allocation
==7878==    at 0x2E47EAC8: ??? (in /usr/local/lib64/libkdev4cppduchain.so)
==7878== 
libpng warning: Malformed iTXt chunk
Object::disconnect: Unexpected null parameter
kdevelop(7878) PatchHighlighter::textInserted: re-doing 
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
kdevelop(7878) PatchHighlighter::textInserted: re-doing 
==7878== Thread 1:
==7878== Invalid read of size 4
==7878==    at 0x28AF5440: PatchHighlighter::textInserted(KTextEditor::Document*, KTextEditor::Range) (qlist.h:97)
==7878==    by 0x28AF5F0D: PatchHighlighter::qt_metacall(QMetaObject::Call, int, void**) (patchreview.moc:102)
==7878==    by 0x84DAB5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==7878==    by 0x634E3E6: KTextEditor::Document::textInserted(KTextEditor::Document*, KTextEditor::Range const&) (document.moc:184)
==7878==    by 0x1CFAF51E: KateDocument::openFile() (katedocument.cpp:2037)
==7878==    by 0x5EF0C15: KParts::ReadOnlyPart::openUrl(KUrl const&) (part.cpp:557)
==7878==    by 0x1CF7E2F7: KateDocument::documentReload() (katedocument.cpp:3904)
==7878==    by 0x1CFBC04C: KateView::qt_metacall(QMetaObject::Call, int, void**) (kateview.moc:432)
==7878==    by 0x84DAB5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3272)
==7878==    by 0x8BD7BE1: QAction::triggered(bool) (moc_qaction.cpp:263)
==7878==    by 0x8BD7DD9: QAction::activate(QAction::ActionEvent) (qaction.cpp:1256)
==7878==    by 0x8BD7F56: QAction::event(QEvent*) (qaction.cpp:1182)
==7878==    by 0x7DB5C0C: KAction::event(QEvent*) (kaction.cpp:131)
==7878==    by 0x8BDDF33: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4396)
==7878==    by 0x8BE6359: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4277)
==7878==    by 0x7C4D845: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:310)
==7878==    by 0x4051F8: KDevelopApplication::notify(QObject*, QEvent*) (main.cpp:90)
==7878==    by 0x84C59DB: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:732)
==7878==    by 0x8C106AF: QShortcutMap::dispatchEvent(QKeyEvent*) (qcoreapplication.h:215)
==7878==    by 0x8C11BA7: QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) (qshortcutmap.cpp:364)
==7878==    by 0x8BE7FA4: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3840)
==7878==    by 0x7C4D845: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:310)
==7878==    by 0x4051F8: KDevelopApplication::notify(QObject*, QEvent*) (main.cpp:90)
==7878==    by 0x84C59DB: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:732)
==7878==    by 0x8C7DDA9: QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) (qkeymapper_x11.cpp:1867)
==7878==  Address 0x1000200049af208 is not stack'd, malloc'd or (recently) free'd
==7878== 
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/sto/.kde4/socket-linux-20sn/kdeinit4__0

[1]+  Angehalten              valgrind --track-origins=yes --num-callers=25 kdevelop
sto@linux-20sn:~> ==7878== 
==7878== HEAP SUMMARY:
==7878==     in use at exit: 82,651,174 bytes in 321,082 blocks
==7878==   total heap usage: 4,386,637 allocs, 4,065,555 frees, 1,076,777,735 bytes allocated
==7878== 
==7878== LEAK SUMMARY:
==7878==    definitely lost: 50,884 bytes in 331 blocks
==7878==    indirectly lost: 188,291 bytes in 1,622 blocks
==7878==      possibly lost: 21,310,067 bytes in 191,932 blocks
==7878==    still reachable: 61,101,932 bytes in 127,197 blocks
==7878==         suppressed: 0 bytes in 0 blocks
==7878== Rerun with --leak-check=full to see details of leaked memory
==7878== 
==7878== For counts of detected and suppressed errors, rerun with: -v
==7878== ERROR SUMMARY: 83 errors from 10 contexts (suppressed: 1957 from 15)
Comment 3 Milian Wolff 2010-11-12 22:46:45 UTC
can you please explain a bit more how to trigger that crash, I can't get it done and I can neither spot a glaring error in the code.
Comment 4 Steffen Ohrendorf 2010-11-12 23:16:17 UTC
- start kdevelop with a project already loaded
- change something in source
- right click in the project files widget and select git->commit
- show the diff/hunk for the current file by opening it from the bottom right list
- click on "commit"
Now it changes back to the code area, but the editor is still in review/diff mode. Pressing F5 here leads to that crash.
Comment 5 Steffen Ohrendorf 2010-11-18 16:18:40 UTC
Seems like this was a temporary problem, I cannot reproduce it now. Can be closed.