Bug 305113 - KDevelop crashes processing the Linux kernel source
Summary: KDevelop crashes processing the Linux kernel source
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 00:24 UTC by Siegfried Leonard
Modified: 2012-08-14 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Another crash for comparison (19.86 KB, application/octet-stream)
2012-08-14 00:27 UTC, Siegfried Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Siegfried Leonard 2012-08-14 00:24:59 UTC
Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-32-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

1. Created a new project using Makefile
2. Added the Linux kernel version 3.0.15, selecting the Makefile
3. Sometime after reaching 25% of processing, it crashed

Reproducible every time.

- Custom settings of the application: Only tried it with Linux kernel source, no other projects yet.

The crash can be reproduced every time.

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

Thread 13 (Thread 0x7f6b1617d700 (LWP 9803)):
#0  0x00007f6b2aad87f3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6b242e4009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6b242e47b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f6b168b43c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f6b243097e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f6b085da700 (LWP 9804)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde5e3b in wait (this=<value optimized out>, mutex=0x3528cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3528cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6b2bde03d4 in QReadWriteLock::lockForWrite (this=0x3479428) at thread/qreadwritelock.cpp:293
#4  0x00007f6b274ef772 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x24b7540, retries=<value optimized out>, needLockRepository=<value optimized out>) at ../../language/duchain/duchain.cpp:724
#5  0x00007f6b274efc94 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x24b62e0) at ../../language/duchain/duchain.cpp:294
#6  0x00007f6b2bde527e in QThreadPrivate::start (arg=0x24b62e0) at thread/qthread_unix.cpp:266
#7  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f6b070bb700 (LWP 9806)):
#0  0x00007fffe31ff904 in clock_gettime ()
#1  0x00007f6b245860bf in clock_gettime (clock_id=1, tp=0x7f6b070baae0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6b2be3a94f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f6b2bf071fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f6b2bf07225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f6b2bf053dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f6b070bac1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6b2bf05485 in timerSourcePrepare (source=0x1, timeout=0x7f6b070baae0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6b242e3a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f6b242e3e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f6b242e445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f6b2bf051e6 in QEventDispatcherGlib::processEvents (this=0x7f6b00003ed0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f6b2bed7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f6b2bed7dec in QEventLoop::exec (this=0x7f6b070badb0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f6b2bde22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f6b2beb75f8 in QInotifyFileSystemWatcherEngine::run (this=0x2d58480) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x2d58480) at thread/qthread_unix.cpp:266
#17 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#18 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f6afe2a9700 (LWP 9807)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde5e3b in wait (this=<value optimized out>, mutex=0x24b85a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x24b85a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6b220be524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2d62450, th=0x24c4a50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b220c172b in ThreadWeaver::WorkingHardState::applyForWork (this=0x24cd640, th=0x24c4a50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b220bfc9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6afe2a8e00, parent=0x2d62450, th=0x24c4a50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x24c4a50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6b2bde527e in QThreadPrivate::start (arg=0x24c4a50) at thread/qthread_unix.cpp:266
#8  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6ae8a28700 (LWP 9814)):
#0  0x00007fffe31ff904 in clock_gettime ()
#1  0x00007f6b245860bf in clock_gettime (clock_id=1, tp=0x7f6ae8a27b20) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6b2be3a94f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f6b2bf071fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f6b2bf07225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f6b2bf053dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f6ae8a27c5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6b2bf05485 in timerSourcePrepare (source=0x1, timeout=0x7f6ae8a27b20) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6b242e3a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f6b242e3e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f6b242e445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f6b2bf051e6 in QEventDispatcherGlib::processEvents (this=0x2f3cd50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f6b2bed7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f6b2bed7dec in QEventLoop::exec (this=0x7f6ae8a27df0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f6b2bde22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x3530da0) at thread/qthread_unix.cpp:266
#16 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f6ae8227700 (LWP 9815)):
#0  0x00007fffe31ff904 in clock_gettime ()
#1  0x00007f6b245860bf in clock_gettime (clock_id=1, tp=0x7f6ae8226b20) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6b2be3a94f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f6b2bf071fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f6b2bf07225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f6b2bf053dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f6ae8226c5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6b2bf05485 in timerSourcePrepare (source=0x1, timeout=0x7f6ae8226b20) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6b242e3a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f6b242e3e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f6b242e445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f6b2bf051e6 in QEventDispatcherGlib::processEvents (this=0x2400410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f6b2bed7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f6b2bed7dec in QEventLoop::exec (this=0x7f6ae8226df0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f6b2bde22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x3530f90) at thread/qthread_unix.cpp:266
#16 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6ae7a26700 (LWP 9816)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f6b2bde4845 in thread_sleep (ti=0x7f6ae7a25db0) at thread/qthread_unix.cpp:416
#2  0x00007f6b2bde49b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f6af54f6961 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f6b2bde527e in QThreadPrivate::start (arg=0x3d5ef10) at thread/qthread_unix.cpp:266
#5  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6ae65c5700 (LWP 9820)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:510
#7  0x00007f6b275758b7 in makeDataPrivate (this=0x7f6aced78810) at //usr/include/bits/string3.h:52
#8  KDevelop::Bucket<KDevelop::<unnamed>::IndexedStringData, KDevelop::<unnamed>::IndexedStringRepositoryItemRequest, false, 0u>::prepareChange(void) (this=0x7f6aced78810) at ../../language/duchain/repositories/itemrepository.h:990
#9  0x00007f6b27576b1b in KDevelop::ItemRepository<KDevelop::<unnamed>::IndexedStringData, KDevelop::<unnamed>::IndexedStringRepositoryItemRequest, false, true, 0u, 1048576u>::initializeBucket(unsigned int) const (this=0x1855510, bucketNumber=0) at ../../language/duchain/repositories/itemrepository.h:2526
#10 0x00007f6b2757c9b7 in dynamicItemFromIndexSimple (this=<value optimized out>, rhs=<value optimized out>) at ../../language/duchain/repositories/itemrepository.h:1802
#11 KDevelop::IndexedString::IndexedString (this=<value optimized out>, rhs=<value optimized out>) at ../../language/duchain/indexedstring.cpp:230
#12 0x00007f6af52b87a4 in void rpp::pp_macro::copyListsFrom<rpp::pp_macro>(rpp::pp_macro const&) () from /usr/lib/libkdev4cpprpp.so
#13 0x00007f6af5028b00 in Cpp::MacroIndexConversion::toIndex(rpp::pp_macro const&) const () from /usr/lib/libkdev4cppduchain.so
#14 0x00007f6af503346d in ?? () from /usr/lib/libkdev4cppduchain.so
#15 0x00007f6af502a1be in Cpp::EnvironmentFile::addDefinedMacro(rpp::pp_macro const&, rpp::pp_macro const*) () from /usr/lib/libkdev4cppduchain.so
#16 0x00007f6af5055057 in CppPreprocessEnvironment::setMacro(rpp::pp_macro*) () from /usr/lib/libkdev4cppduchain.so
#17 0x00007f6af52ba99a in rpp::pp::handle_define(rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#18 0x00007f6af52be8a7 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#19 0x00007f6af52bed91 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#20 0x00007f6af52befa3 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#21 0x00007f6af52bf045 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#22 0x00007f6af55105f5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#23 0x00007f6b220c0981 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6ae65c4d50, th=0x7f6b00d18350, job=0x7f6ad49fb690) at ../../../threadweaver/Weaver/Job.cpp:106
#24 0x00007f6b220c0c7e in ThreadWeaver::Job::execute (this=0x7f6ad49fb690, th=0x7f6b00d18350) at ../../../threadweaver/Weaver/Job.cpp:135
#25 0x00007f6b220c2083 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7f6ad4805ed0, t=0x7f6b00d18350) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#26 0x00007f6b220bfc6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae65c4e00, parent=0x23afd00, th=0x7f6b00d18350) at ../../../threadweaver/Weaver/Thread.cpp:95
#27 0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x7f6b00d18350) at ../../../threadweaver/Weaver/Thread.cpp:142
#28 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x7f6b00d18350) at thread/qthread_unix.cpp:266
#29 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#30 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#31 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6ae5dc4700 (LWP 9821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde4533 in QMutexPrivate::wait (this=0x18555c0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6b2bddfee5 in QMutex::lock (this=0x1855520) at thread/qmutex.cpp:167
#3  0x00007f6b2757b97a in QMutexLocker (this=0x7f6ae5dc1c80, string=<value optimized out>) at /usr/include/qt4/QtCore/qmutex.h:102
#4  KDevelop::IndexedString::IndexedString (this=0x7f6ae5dc1c80, string=<value optimized out>) at ../../language/duchain/indexedstring.cpp:178
#5  0x00007f6af5519ff6 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00007f6af54fecef in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#7  0x00007f6af5502b29 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#8  0x00007f6af5502e96 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#9  0x00007f6af5510b72 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#10 0x00007f6b220c0981 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6ae5dc3d50, th=0x4b5a160, job=0x7f6ad4f77890) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x00007f6b220c0c7e in ThreadWeaver::Job::execute (this=0x7f6ad4f77890, th=0x4b5a160) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x00007f6b220c2083 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7f6ad50d6510, t=0x4b5a160) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#13 0x00007f6b220bfc6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae5dc3e00, parent=0x23afd00, th=0x4b5a160) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x4b5a160) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x4b5a160) at thread/qthread_unix.cpp:266
#16 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6ae4d8b700 (LWP 9826)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde5e3b in wait (this=<value optimized out>, mutex=0x2393d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2393d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6b220be524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23afd00, th=0x5d89da0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b220c172b in ThreadWeaver::WorkingHardState::applyForWork (this=0x238dc70, th=0x5d89da0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b220bfc9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae4d8ae00, parent=0x23afd00, th=0x5d89da0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x5d89da0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6b2bde527e in QThreadPrivate::start (arg=0x5d89da0) at thread/qthread_unix.cpp:266
#8  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6ad2896700 (LWP 9827)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde4533 in QMutexPrivate::wait (this=0x3537de0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6b2bddfee5 in QMutex::lock (this=0x7f6af52a7250) at thread/qmutex.cpp:167
#3  0x00007f6af502860c in Cpp::MacroIndexConversion::toIndex(rpp::pp_macro const&) const () from /usr/lib/libkdev4cppduchain.so
#4  0x00007f6af503346d in ?? () from /usr/lib/libkdev4cppduchain.so
#5  0x00007f6af502a1be in Cpp::EnvironmentFile::addDefinedMacro(rpp::pp_macro const&, rpp::pp_macro const*) () from /usr/lib/libkdev4cppduchain.so
#6  0x00007f6af5055057 in CppPreprocessEnvironment::setMacro(rpp::pp_macro*) () from /usr/lib/libkdev4cppduchain.so
#7  0x00007f6af52ba99a in rpp::pp::handle_define(rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#8  0x00007f6af52be8a7 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#9  0x00007f6af52bed91 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#10 0x00007f6af52befa3 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#11 0x00007f6af52bf045 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#12 0x00007f6af55105f5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#13 0x00007f6b220c0981 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6ad2895d50, th=0x7f6b001f2af0, job=0x5085b00) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f6b220c0c7e in ThreadWeaver::Job::execute (this=0x5085b00, th=0x7f6b001f2af0) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f6b220c2083 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x656dcc0, t=0x7f6b001f2af0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#16 0x00007f6b220bfc6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ad2895e00, parent=0x23afd00, th=0x7f6b001f2af0) at ../../../threadweaver/Weaver/Thread.cpp:95
#17 0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x7f6b001f2af0) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00007f6b2bde527e in QThreadPrivate::start (arg=0x7f6b001f2af0) at thread/qthread_unix.cpp:266
#19 0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#20 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6ad2095700 (LWP 9828)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde5e3b in wait (this=<value optimized out>, mutex=0x2393d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2393d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6b220be524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23afd00, th=0x7f6b00327260) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b220c172b in ThreadWeaver::WorkingHardState::applyForWork (this=0x238dc70, th=0x7f6b00327260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b220c1744 in ThreadWeaver::WorkingHardState::applyForWork (this=0x238dc70, th=0x7f6b00327260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6b220bfc9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ad2094e00, parent=0x23afd00, th=0x7f6b00327260) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6b220c01f8 in ThreadWeaver::Thread::run (this=0x7f6b00327260) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6b2bde527e in QThreadPrivate::start (arg=0x7f6b00327260) at thread/qthread_unix.cpp:266
#9  0x00007f6b2a7e8971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f6b2aae4f3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6b2d688760 (LWP 9801)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b2bde4533 in QMutexPrivate::wait (this=0x18555c0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6b2bddfee5 in QMutex::lock (this=0x1855520) at thread/qmutex.cpp:167
#3  0x00007f6b27578986 in Locker (this=<value optimized out>) at ../../language/duchain/repositories/itemrepository.h:1227
#4  itemFromIndex (this=<value optimized out>) at ../../language/duchain/repositories/itemrepository.h:1844
#5  KDevelop::IndexedString::str (this=<value optimized out>) at ../../language/duchain/indexedstring.cpp:270
#6  0x00007f6b27578a49 in KDevelop::IndexedString::toUrl (this=0x80) at ../../language/duchain/indexedstring.cpp:260
#7  0x00007f6afc322158 in ProblemWidget::parseJobFinished (this=0x2f2c360, job=0x7f6ad46e7870) at ../../../plugins/problemreporter/problemwidget.cpp:167
#8  0x00007f6afc3233b4 in ProblemWidget::qt_metacall (this=0x2f2c360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe315e960) at ./problemwidget.moc:79
#9  0x00007f6b2bef0b27 in QMetaObject::activate (sender=0x23867c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#10 0x00007f6b274b80ef in KDevelop::BackgroundParser::parseJobFinished (this=0x185560c, _t1=0x7f6ad46e7870) at ./backgroundparser.moc:211
#11 0x00007f6b274b9817 in KDevelop::BackgroundParser::parseComplete (this=0x23867c0, job=<value optimized out>) at ../../language/backgroundparser/backgroundparser.cpp:521
#12 0x00007f6b274bca37 in KDevelop::BackgroundParser::qt_metacall (this=0x23867c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe315ed70) at ./backgroundparser.moc:185
#13 0x00007f6b2bef0b27 in QMetaObject::activate (sender=0x7f6ad46e7870, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#14 0x00007f6b220c05b2 in ThreadWeaver::Job::done (this=0x185560c, _t1=0x7f6ad46e7870) at ./Job.moc:97
#15 0x00007f6b220c2981 in ThreadWeaver::JobCollection::qt_metacall (this=0x7f6ad46e7870, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe315ef40) at ./JobCollection.moc:75
#16 0x00007f6b274c31bd in KDevelop::ParseJob::qt_metacall (this=0x185560c, _c=128, _id=37818, _a=0xffffffffffffffff) at ./parsejob.moc:109
#17 0x00007f6b2bef0b27 in QMetaObject::activate (sender=0x7f6ad5dc7070, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#18 0x00007f6b220c05b2 in ThreadWeaver::Job::done (this=0x185560c, _t1=0x7f6ad5dc7070) at ./Job.moc:97
#19 0x00007f6b220c0754 in ThreadWeaver::Job::qt_metacall (this=0x7f6ad5dc7070, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x66413b0) at ./Job.moc:77
#20 0x00007f6b2beeabde in QObject::event (this=0x7f6ad5dc7070, e=0x185560c) at kernel/qobject.cpp:1219
#21 0x00007f6b2b23ffdc in QApplicationPrivate::notify_helper (this=0x2090030, receiver=0x7f6ad5dc7070, e=0x58c9a60) at kernel/qapplication.cpp:4396
#22 0x00007f6b2b245aed in QApplication::notify (this=0x7fffe315faf0, receiver=0x7f6ad5dc7070, e=0x58c9a60) at kernel/qapplication.cpp:4277
#23 0x00007f6b2c42f586 in KApplication::notify (this=0x7fffe315faf0, receiver=0x7f6ad5dc7070, event=0x58c9a60) at ../../kdeui/kernel/kapplication.cpp:310
#24 0x00007f6b2bed8cdc in QCoreApplication::notifyInternal (this=0x7fffe315faf0, receiver=0x7f6ad5dc7070, event=0x58c9a60) at kernel/qcoreapplication.cpp:732
#25 0x00007f6b2bedbc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x183a110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x183a110) at kernel/qcoreapplication.cpp:1373
#27 0x00007f6b2bf05653 in sendPostedEvents (s=0x2093c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x2093c10) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f6b242e0342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f6b242e42a8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f6b242e445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f6b2bf05193 in QEventDispatcherGlib::processEvents (this=0x18398b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007f6b2b2f2a4e in QGuiEventDispatcherGlib::processEvents (this=0x185560c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f6b2bed7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f6b2bed7dec in QEventLoop::exec (this=0x7fffe315f920, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f6b2bedbebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x00000000004085f7 in _start ()

Reported using DrKonqi
Comment 1 Siegfried Leonard 2012-08-14 00:27:01 UTC
Created attachment 73150 [details]
Another crash for comparison

Added another crash as an attachment for comparison purposes.
Comment 2 Siegfried Leonard 2012-08-14 00:29:11 UTC
When I relaunch KDevelop, it starts the processing again (from the beginning it looks like, 0%) and if I leave it, it will crash after some time.  I am hoping one time it would finish without crashing, it would help me with development.  However, it might be something in a Makefile or source code that's triggering this.
Comment 3 Milian Wolff 2012-08-14 10:30:32 UTC
Hey there,

please update to a newer KDevelop. Version 4.0 is far too outdated, and tons of bugs (probably this one included) have been fixed since then. If you can still reproduce this issue with KDevelop 4.3 or newer, please reopen this bug.

Thanks.