Bug 250876 - Crash whilst attempting to scroll in a file in an open project.
Summary: Crash whilst attempting to scroll in a file in an open project.
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-11 14:55 UTC by Jason McGuiness
Modified: 2010-09-13 10:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason McGuiness 2010-09-11 14:55:39 UTC
Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

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

KDevelop crashed whilst scrolling in a file, so I re-opened it. I then re-opened Kdevelop (set to reload the last open project), and attempted to scroll in another file. It crashed again.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff45376c760 (LWP 17028))]

Thread 10 (Thread 0x7ff43d70e710 (LWP 17029)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ff451eb0e12 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x26cc930, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x26cc930, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff44d58664e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x26cc910) at ../../language/duchain/duchain.cpp:286
#4  0x00007ff451eb02ee in QThreadPrivate::start (arg=0x26cc910) at thread/qthread_unix.cpp:266
#5  0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff42dfd2710 (LWP 17124)):
#0  0x00007ff4508993f5 in __pthread_mutex_lock (mutex=0x39b9be8) at pthread_mutex_lock.c:61
#1  0x00007ff44a368607 in g_main_context_release () from /lib/libglib-2.0.so.0
#2  0x00007ff44a36a4db in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff44a36a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007ff451fcf1d6 in QEventDispatcherGlib::processEvents (this=0x34d0a30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ff451fa1dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff451fa21bc in QEventLoop::exec (this=0x7ff42dfd1df0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff451ead36d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007ff451eb02ee in QThreadPrivate::start (arg=0x39b6f50) at thread/qthread_unix.cpp:266
#9  0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff42e7d3710 (LWP 17125)):
#0  0x00007ff450b86f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff44a36a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff44a36a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff451fcf1d6 in QEventDispatcherGlib::processEvents (this=0x3996120, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007ff451fa1dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff451fa21bc in QEventLoop::exec (this=0x7ff42e7d2df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff451ead36d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007ff451eb02ee in QThreadPrivate::start (arg=0x39bde90) at thread/qthread_unix.cpp:266
#8  0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff42aefa710 (LWP 17126)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ff451eaf8b5 in thread_sleep (ti=0x7ff42aef9db0) at thread/qthread_unix.cpp:416
#2  0x00007ff451eafa20 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007ff42b6c6041 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007ff451eb02ee in QThreadPrivate::start (arg=0x39e0ff0) at thread/qthread_unix.cpp:266
#5  0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff429dcd710 (LWP 17195)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff4494cb7e4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff4497d6160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff4494cb819 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ff4497e4234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff4292af710 (LWP 17196)):
#0  0x00007ff450b5738d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff450b57200 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007ff44d55dcd8 in UrlParseLock (this=0x7ff4292a40b0, url=<value optimized out>) at ../../language/backgroundparser/urlparselock.cpp:36
#3  0x00007ff42b6d4270 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#5  0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#6  0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#7  0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#8  0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#9  0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#10 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#11 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#12 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#13 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#14 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#15 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#16 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#17 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#18 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#19 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#20 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#21 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#22 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#23 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#24 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#25 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#26 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#27 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#28 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#29 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#30 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#31 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#32 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#33 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#34 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#35 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#36 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#37 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#38 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#39 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#40 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#41 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#42 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#43 0x00007ff44814a1e1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff4292aed50, th=0x53031d0, job=0x397e5e0) at ../../../threadweaver/Weaver/Job.cpp:106
#44 0x00007ff44814a4de in ThreadWeaver::Job::execute (this=0x397e5e0, th=0x53031d0) at ../../../threadweaver/Weaver/Job.cpp:135
#45 0x00007ff44814b8e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x312ff80, t=0x53031d0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#46 0x00007ff4481494cf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff4292aee00, parent=0x25aab90, th=0x53031d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#47 0x00007ff448149a58 in ThreadWeaver::Thread::run (this=0x53031d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#48 0x00007ff451eb02ee in QThreadPrivate::start (arg=0x53031d0) at thread/qthread_unix.cpp:266
#49 0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#50 0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#51 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff428aae710 (LWP 17197)):
#0  0x00007ff450b5738d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff450b8c834 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007ff44d5caefe in KDevelop::DUChainLock::lockForWrite (this=0x26cb758, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007ff44d5cafb4 in KDevelop::DUChainWriteLocker::lock (this=0x7ff428aa2900) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007ff42b1cb5f4 in DeclarationBuilder::openFunctionDeclaration(NameAST*, AST*) () from /usr/lib/libkdev4cppduchain.so
#5  0x00007ff42b1cf60c in DeclarationBuilder::visitDeclarator(DeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#6  0x00007ff42b1a4908 in ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#7  0x00007ff42b1b8549 in DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#8  0x00007ff42b1b602c in DeclarationBuilder::visitFunctionDeclaration(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#9  0x00007ff42b1a4c3f in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#10 0x00007ff42b1a6470 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#11 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#12 0x00007ff42b1a30d0 in ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#13 0x00007ff42b1e27d7 in TypeBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#14 0x00007ff42b1d14e3 in DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#15 0x00007ff42b1e14c5 in TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#16 0x00007ff42b1b62a5 in DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#17 0x00007ff42b1a6470 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#18 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#19 0x00007ff42b1a5463 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#20 0x00007ff42b1b9215 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#21 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#22 0x00007ff42b1a5463 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#23 0x00007ff42b1b9215 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#24 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#25 0x00007ff42b1d9b22 in ?? () from /usr/lib/libkdev4cppduchain.so
#26 0x00007ff42b1a7dab in ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib/libkdev4cppduchain.so
#27 0x00007ff42b1b5645 in DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib/libkdev4cppduchain.so
#28 0x00007ff42b6d65f4 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#29 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#30 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#31 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#32 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#33 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#34 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#35 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#36 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#37 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#38 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#39 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#40 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#41 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#42 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#43 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#44 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#45 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#46 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#47 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#48 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#49 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#50 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#51 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#52 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#53 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#54 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#55 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#56 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#57 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#58 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#59 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#60 0x00007ff44814a1e1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff428aadd50, th=0x3467560, job=0x393f670) at ../../../threadweaver/Weaver/Job.cpp:106
#61 0x00007ff44814a4de in ThreadWeaver::Job::execute (this=0x393f670, th=0x3467560) at ../../../threadweaver/Weaver/Job.cpp:135
#62 0x00007ff44814b8e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x343e800, t=0x3467560) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#63 0x00007ff4481494cf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff428aade00, parent=0x25aab90, th=0x3467560) at ../../../threadweaver/Weaver/Thread.cpp:95
#64 0x00007ff448149a58 in ThreadWeaver::Thread::run (this=0x3467560) at ../../../threadweaver/Weaver/Thread.cpp:142
#65 0x00007ff451eb02ee in QThreadPrivate::start (arg=0x3467560) at thread/qthread_unix.cpp:266
#66 0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#67 0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#68 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff4282ad710 (LWP 17198)):
#0  0x00007ff450b5738d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff450b8c834 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007ff44d5caefe in KDevelop::DUChainLock::lockForWrite (this=0x26cb758, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007ff44d5cafb4 in KDevelop::DUChainWriteLocker::lock (this=0x7ff4282a38b0) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007ff42b1ccb0d in ?? () from /usr/lib/libkdev4cppduchain.so
#5  0x00007ff42b1ce96b in DeclarationBuilder::openNormalDeclaration(NameAST*, AST*, KDevelop::Identifier const&, bool) () from /usr/lib/libkdev4cppduchain.so
#6  0x00007ff42b1cef26 in DeclarationBuilder::openDefinition(NameAST*, AST*, bool) () from /usr/lib/libkdev4cppduchain.so
#7  0x00007ff42b1cf58b in DeclarationBuilder::visitDeclarator(DeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#8  0x00007ff42b1a4908 in ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#9  0x00007ff42b1b8549 in DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#10 0x00007ff42af10376 in DefaultVisitor::visitTypedef(TypedefAST*) () from /usr/lib/libkdev4cppparser.so
#11 0x00007ff42b1a3392 in ContextBuilder::visitTypedef(TypedefAST*) () from /usr/lib/libkdev4cppduchain.so
#12 0x00007ff42b1e10b4 in TypeBuilder::visitTypedef(TypedefAST*) () from /usr/lib/libkdev4cppduchain.so
#13 0x00007ff42af0f6b6 in DefaultVisitor::visitCompoundStatement(CompoundStatementAST*) () from /usr/lib/libkdev4cppparser.so
#14 0x00007ff42b1a52d2 in ContextBuilder::visitCompoundStatement(CompoundStatementAST*) () from /usr/lib/libkdev4cppduchain.so
#15 0x00007ff42b1a4de7 in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#16 0x00007ff42b1a6470 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#17 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#18 0x00007ff42b1a30d0 in ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#19 0x00007ff42b1e27d7 in TypeBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#20 0x00007ff42b1d14e3 in DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#21 0x00007ff42b1e14c5 in TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#22 0x00007ff42b1b62a5 in DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#23 0x00007ff42b1a6470 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#24 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#25 0x00007ff42b1a5463 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#26 0x00007ff42b1b9215 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#27 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#28 0x00007ff42b1a5463 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#29 0x00007ff42b1b9215 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#30 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#31 0x00007ff42b1a5463 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#32 0x00007ff42b1b9215 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#33 0x00007ff42af106d6 in ?? () from /usr/lib/libkdev4cppparser.so
#34 0x00007ff42b1d9b22 in ?? () from /usr/lib/libkdev4cppduchain.so
#35 0x00007ff42b1a7dab in ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib/libkdev4cppduchain.so
#36 0x00007ff42b1b5645 in DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib/libkdev4cppduchain.so
#37 0x00007ff42b6d65f4 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#38 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#39 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#40 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#41 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#42 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#43 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#44 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#45 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#46 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#47 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#48 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#49 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#50 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#51 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#52 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#53 0x00007ff42b6d17f7 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#54 0x00007ff42b6dd654 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#55 0x00007ff42b48810a in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#56 0x00007ff42b48ada5 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#57 0x00007ff42b48b2f1 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#58 0x00007ff42b48b503 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#59 0x00007ff42b48b5a5 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so
#60 0x00007ff42b6dfcd5 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#61 0x00007ff44814a1e1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff4282acd50, th=0x3467b10, job=0x7ff420302630) at ../../../threadweaver/Weaver/Job.cpp:106
#62 0x00007ff44814a4de in ThreadWeaver::Job::execute (this=0x7ff420302630, th=0x3467b10) at ../../../threadweaver/Weaver/Job.cpp:135
#63 0x00007ff44814b8e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7ff420335a90, t=0x3467b10) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#64 0x00007ff4481494cf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff4282ace00, parent=0x25aab90, th=0x3467b10) at ../../../threadweaver/Weaver/Thread.cpp:95
#65 0x00007ff448149a58 in ThreadWeaver::Thread::run (this=0x3467b10) at ../../../threadweaver/Weaver/Thread.cpp:142
#66 0x00007ff451eb02ee in QThreadPrivate::start (arg=0x3467b10) at thread/qthread_unix.cpp:266
#67 0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#68 0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#69 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff427aac710 (LWP 17199)):
[KCrash Handler]
#6  0x00007ff44d587294 in KDevelop::DUContext::type (this=0x818e900) at ../../language/duchain/ducontext.cpp:1241
#7  0x00007ff44d6a6f17 in KDevelop::CodeHighlightingInstance::typeForDeclaration (this=0x7ff4207754f0, dec=0x905f350, context=0x843ab10) at ../../language/highlighting/codehighlighting.cpp:388
#8  0x00007ff44d6a737e in KDevelop::CodeHighlightingInstance::highlightUse (this=0x7ff4207754f0, context=0x843ab10, index=<value optimized out>, color=...)
    at ../../language/highlighting/codehighlighting.cpp:456
#9  0x00007ff44d6a3563 in KDevelop::CodeHighlightingInstance::highlightUses (this=0x7ff4207754f0, context=0x843ab10) at ../../language/highlighting/codehighlighting.cpp:474
#10 0x00007ff44d6a5b1f in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x7ff4207754f0, context=0x843ab10) at ../../language/highlighting/codehighlighting.cpp:231
#11 0x00007ff44d6a5c02 in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x7ff4207754f0, context=0x7a54f10) at ../../language/highlighting/codehighlighting.cpp:234
#12 0x00007ff44d6a5c02 in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x7ff4207754f0, context=0x7a54360) at ../../language/highlighting/codehighlighting.cpp:234
#13 0x00007ff44d6a5c02 in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x7ff4207754f0, context=0x84d8880) at ../../language/highlighting/codehighlighting.cpp:234
#14 0x00007ff44d6a5e3b in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x7ff4207754f0, context=0x84d8880) at ../../language/highlighting/codehighlighting.cpp:202
#15 0x00007ff44d6a60c1 in KDevelop::CodeHighlighting::highlightDUChain (this=<value optimized out>, context=0x84d8880) at ../../language/highlighting/codehighlighting.cpp:171
#16 0x00007ff42b6d6b9a in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#17 0x00007ff44814a1e1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff427aabd50, th=0x3956dc0, job=0x7ff4200848e0) at ../../../threadweaver/Weaver/Job.cpp:106
#18 0x00007ff44814a4de in ThreadWeaver::Job::execute (this=0x7ff4200848e0, th=0x3956dc0) at ../../../threadweaver/Weaver/Job.cpp:135
#19 0x00007ff44814b8e3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7ff4200c8b20, t=0x3956dc0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#20 0x00007ff4481494cf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff427aabe00, parent=0x25aab90, th=0x3956dc0) at ../../../threadweaver/Weaver/Thread.cpp:95
#21 0x00007ff448149a58 in ThreadWeaver::Thread::run (this=0x3956dc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#22 0x00007ff451eb02ee in QThreadPrivate::start (arg=0x3956dc0) at thread/qthread_unix.cpp:266
#23 0x00007ff4508969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#24 0x00007ff450b936fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff45376c760 (LWP 17028)):
#0  0x00007ff450b86f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff447ad829a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ff447ad9c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007ff44bcc58d3 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007ff44bcbac8d in XTranslateCoordinates () from /usr/lib/libX11.so.6
#5  0x00007ff4513ae48e in QWidget::mapFromGlobal (this=<value optimized out>, pos=<value optimized out>) at kernel/qwidget_x11.cpp:1325
#6  0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x39964b0, pos=...) at kernel/qwidget_x11.cpp:1318
#7  0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x34cc340, pos=...) at kernel/qwidget_x11.cpp:1318
#8  0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x34cdf70, pos=...) at kernel/qwidget_x11.cpp:1318
#9  0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x34cc110, pos=...) at kernel/qwidget_x11.cpp:1318
#10 0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x34cd460, pos=...) at kernel/qwidget_x11.cpp:1318
#11 0x00007ff4513ae4f2 in QWidget::mapFromGlobal (this=0x34cf230, pos=...) at kernel/qwidget_x11.cpp:1318
#12 0x00007ff451314b0d in QApplication::notify (this=<value optimized out>, receiver=0x34cf230, e=0x7fffd3fa5c50) at kernel/qapplication.cpp:3979
#13 0x00007ff4525092e6 in KApplication::notify (this=0x7fffd3fa6a70, receiver=0x34cf230, event=0x7fffd3fa5c50) at ../../kdeui/kernel/kapplication.cpp:310
#14 0x00007ff451fa30ac in QCoreApplication::notifyInternal (this=0x7fffd3fa6a70, receiver=0x34cf230, event=0x7fffd3fa5c50) at kernel/qcoreapplication.cpp:732
#15 0x00007ff45131352e in QCoreApplication::sendEvent (receiver=0x34cf230, event=0x7fffd3fa5c50, alienWidget=0x34cf200, nativeWidget=0x3433140, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::sendMouseEvent (receiver=0x34cf230, event=0x7fffd3fa5c50, alienWidget=0x34cf200, nativeWidget=0x3433140, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#17 0x00007ff4513962b5 in QETWidget::translateMouseEvent (this=0x3433140, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#18 0x00007ff451394bec in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd3fa6570) at kernel/qapplication_x11.cpp:3536
#19 0x00007ff4513c0e22 in x11EventSourceDispatch (s=0x1bce5b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007ff44a3668c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007ff44a36a748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007ff44a36a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007ff451fcf183 in QEventDispatcherGlib::processEvents (this=0x1ba4c30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007ff4513c078e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd3fa5220, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007ff451fa1dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007ff451fa21bc in QEventLoop::exec (this=0x7fffd3fa68a0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007ff451fa626b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#28 0x0000000000408a77 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-13 10:56:18 UTC
you are mixing system wide installed (probably outdated) libraries with kdevplatform compiled from sources. This is not going to work reliably due to BIC changes leading to crashes like these.

Please remove system wide installed libs and install everything from sources.

See e.g. thread 2:

#15 0x00007ff44d6a60c1 in KDevelop::CodeHighlighting::highlightDUChain
(this=<value optimized out>, context=0x84d8880) at
../../language/highlighting/codehighlighting.cpp:171
#16 0x00007ff42b6d6b9a in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so