https://bugs.kde.org/show_bug.cgi?id=378107

            Bug ID: 378107
           Summary: Crash while parsing
           Product: kdevelop
           Version: 4.7.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: velor...@gmail.com
  Target Milestone: ---

Application: kdevelop (4.7.3)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-67-generic x86_64
Distribution: Ubuntu 16.04.2 LTS

-- Information about the crash:
Got this project:
https://github.com/SFTtech/openage/pull/756/commits/b9d15b7146708c824fc3647028b1df91e314081a

Added include paths:

/usr/include/x86_64-linux-gnu/qt5/QtQuick/

/usr/include/x86_64-linux-gnu/qt5/QtGui/

/usr/include/x86_64-linux-gnu/qt5/QtCore/

Crashes every time while parsing.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffa422ca900 (LWP 12579))]

Thread 12 (Thread 0x7ff970fa6700 (LWP 12804)):
#0  0x00007ffa3aecd360 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffa3f0a03a6 in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x2c80b10) at
thread/qwaitcondition_unix.cpp:86
#2  0x00007ffa3f0a03a6 in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x2c809e8, mutex=0x2c80c90,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffa34e37c9c in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*)
(this=0x2c809c0, th=0x7ff954003270) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007ffa34e3a993 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*,
ThreadWeaver::Job*) (this=0x2c80d60, th=0x7ff954003270, previous=0x0) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007ffa34e3a9ac in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*,
ThreadWeaver::Job*) (this=0x2c80d60, th=0x7ff954003270, previous=0x0) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ffa34e3a9ac in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*,
ThreadWeaver::Job*) (this=0x2c80d60, th=0x7ff954003270, previous=0x61fe680) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007ffa34e394ef in ThreadWeaver::Thread::run() (this=0x7ff954003270) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/Thread.cpp:98
#8  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x7ff954003270) at
thread/qthread_unix.cpp:352
#9  0x00007ffa3aec76ba in start_thread (arg=0x7ff970fa6700) at
pthread_create.c:333
#10 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7ff9717a7700 (LWP 12803)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007ff972877710 in DeclarationBuilder::closeDeclaration(bool)
(this=0x7ff97179df00, forceInstance=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:865
#8  0x00007ff97287906b in DeclarationBuilder::visitDeclarator(DeclaratorAST*)
(this=0x7ff97179df00, node=0x7ff9558c5b68) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:475
#9  0x00007ff97286899f in
ContextBuilder::visitInitDeclarator(InitDeclaratorAST*)
(this=this@entry=0x7ff97179df00, node=node@entry=0x7ff9558c62d0) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:911
#10 0x00007ff97287467c in
DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*)
(this=0x7ff97179df00, node=0x7ff9558c62d0) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:255
#11 0x00007ff97289589c in
TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*)
(this=this@entry=0x7ff97179df00, node=node@entry=0x7ff9558c6310) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/typebuilder.cpp:690
#12 0x00007ff972876f75 in
DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*)
(this=0x7ff97179df00, node=0x7ff9558c6310) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:349
#13 0x00007ff9725cad49 in visitNodes<DeclarationAST*>(Visitor*,
ListNode<DeclarationAST*> const*) (v=v@entry=0x7ff97179df58, nodes=<optimized
out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/visitor.h:139
#14 0x00007ff9725ca912 in
DefaultVisitor::visitClassSpecifier(ClassSpecifierAST*)
(this=this@entry=0x7ff97179df58, node=node@entry=0x7ff954a69328) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/default_visitor.cpp:68
#15 0x00007ff972867122 in
ContextBuilder::visitClassSpecifier(ClassSpecifierAST*)
(this=this@entry=0x7ff97179df00, node=node@entry=0x7ff954a69328) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:534
#16 0x00007ff972897f53 in TypeBuilder::visitClassSpecifier(ClassSpecifierAST*)
(this=this@entry=0x7ff97179df00, node=node@entry=0x7ff954a69328) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/typebuilder.cpp:92
#17 0x00007ff972878121 in
DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*)
(this=0x7ff97179df00, node=0x7ff954a69328) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:1142
#18 0x00007ff972895796 in
TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*)
(this=this@entry=0x7ff97179df00, node=node@entry=0x7ff9558cb850) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/typebuilder.cpp:679
#19 0x00007ff972876f75 in
DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*)
(this=0x7ff97179df00, node=0x7ff9558cb850) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:349
#20 0x00007ff9725cad49 in visitNodes<DeclarationAST*>(Visitor*,
ListNode<DeclarationAST*> const*) (v=0x7ff97179df58, nodes=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/visitor.h:139
#21 0x00007ff97286c344 in KDevelop::AbstractContextBuilder<AST,
NameAST>::supportBuild(AST*, KDevelop::DUContext*) (this=0x7ff97179df00,
node=0x7ff954a5dfe0, context=0x7ff955fbfb20) at
/usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#22 0x00007ff9728691eb in
ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*,
QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool)
(this=0x7ff97179df00, file=..., node=0x7ff954a5dfe0, includes=<optimized out>,
updateContext=..., removeOldImports=false) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:421
#23 0x00007ff9728732a1 in
DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*,
QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool)
(this=this@entry=0x7ff97179df00, file=..., node=node@entry=0x7ff954a5dfe0,
includes=includes@entry=0x7ff97179dc80, updateContext=...,
removeOldImports=false) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:95
#24 0x00007ff972b71bdd in CPPInternalParseJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:639
#25 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x7ff957629ee0, _fileName=...,
type=<optimized out>, sourceLine=1025, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#26 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff97179e720, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#27 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff97179e720,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#28 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff97179e720, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#29 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff97179e720,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#30 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff97179e720, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#31 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#32 0x00007ff972b6e4fe in CPPParseJob::parseForeground()
(this=this@entry=0x7ff9571ec830) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:179
#33 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x7ff9563248f0, _fileName=...,
type=<optimized out>, sourceLine=42, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#34 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff97179fe50, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#35 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff97179fe50,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#36 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff97179fe50, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#37 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff97179fe50,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#38 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff97179fe50, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#39 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#40 0x00007ff972b6e4fe in CPPParseJob::parseForeground()
(this=this@entry=0x7ff94c4cb8b0) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:179
#41 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x7ff94cf24ae0, _fileName=...,
type=<optimized out>, sourceLine=36, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#42 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a1580, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#43 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a1580,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#44 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff9717a1580, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#45 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff9717a1580,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#46 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff9717a1580, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#47 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#48 0x00007ff972b6e4fe in CPPParseJob::parseForeground()
(this=this@entry=0x7ff957224820) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:179
#49 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x7ff94cebad40, _fileName=...,
type=<optimized out>, sourceLine=0, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#50 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a2cb0, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#51 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a2cb0,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#52 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff9717a2cb0, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#53 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff9717a2cb0,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#54 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff9717a2cb0, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#55 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#56 0x00007ff972b6e4fe in CPPParseJob::parseForeground()
(this=this@entry=0x7ff955cea920) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:179
#57 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x7ff9572bce80, _fileName=...,
type=<optimized out>, sourceLine=5, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#58 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a43e0, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#59 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a43e0,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#60 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff9717a43e0, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#61 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff9717a43e0,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#62 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff9717a43e0, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#63 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#64 0x00007ff972b6e4fe in CPPParseJob::parseForeground()
(this=this@entry=0x7ff94cab3f40) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:179
#65 0x00007ff972b78509 in PreprocessJob::sourceNeeded(QString&,
rpp::Preprocessor::IncludeType, int, bool) (this=0x59759e0, _fileName=...,
type=<optimized out>, sourceLine=4, skipCurrentPath=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:581
#66 0x00007ff9723a877c in rpp::pp::handle_include(bool, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a5b10, skip_current_path=<optimized
out>, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:219
#67 0x00007ff9723acadf in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) (this=this@entry=0x7ff9717a5b10,
directive=directive@entry=702564, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:137
#68 0x00007ff9723ad06e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&)
(this=this@entry=0x7ff9717a5b10, input=..., output=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:272
#69 0x00007ff9723ad3e7 in rpp::pp::processFileInternal(QString const&,
QByteArray const&, QVector<unsigned int>&) (this=this@entry=0x7ff9717a5b10,
fileName=..., fileContents=..., result=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:98
#70 0x00007ff9723ad7c5 in rpp::pp::processFile(QString const&, QByteArray
const&) (this=this@entry=0x7ff9717a5b10, fileName=..., data=...) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/rpp/pp-engine.cpp:85
#71 0x00007ff972b7a386 in PreprocessJob::run() (this=<optimized out>) at
/build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/preprocessjob.cpp:249
#72 0x00007ffa34e39cb2 in
ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*,
ThreadWeaver::Job*) (this=this@entry=0x7ff9717a6c70, th=th@entry=0x5751600,
job=job@entry=0x59759e0) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/Job.cpp:106
#73 0x00007ffa34e39ebe in ThreadWeaver::Job::execute(ThreadWeaver::Thread*)
(this=0x59759e0, th=0x5751600) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/Job.cpp:135
#74 0x00007ffa34e3bbab in
ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*)
(this=0x562e790, t=0x5751600) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/JobCollection.cpp:82
#75 0x00007ffa34e3958b in ThreadWeaver::Thread::run() (this=0x5751600) at
/build/kde4libs-oFCmS0/kde4libs-4.14.16/threadweaver/Weaver/Thread.cpp:108
#76 0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x5751600) at
thread/qthread_unix.cpp:352
#77 0x00007ffa3aec76ba in start_thread (arg=0x7ff9717a7700) at
pthread_create.c:333
#78 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7ff972392700 (LWP 12802)):
#0  0x00007ffa38a8ea79 in g_mutex_lock (mutex=mutex@entry=0x7ff9500009a0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1335
#1  0x00007ffa38a497f7 in g_main_context_prepare
(context=context@entry=0x7ff9500009a0, priority=priority@entry=0x7ff972391b90)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3382
#2  0x00007ffa38a4a2bb in g_main_context_iterate
(context=context@entry=0x7ff9500009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007ffa38a4a49c in g_main_context_iteration (context=0x7ff9500009a0,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffa3f1e02ce in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7ff9500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007ffa3f1ae18f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff972391cd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffa3f1ae4f5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff972391cd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffa3f09d549 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x59d6730) at
thread/qthread_unix.cpp:352
#9  0x00007ffa3aec76ba in start_thread (arg=0x7ff972392700) at
pthread_create.c:333
#10 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7ff967696700 (LWP 12606)):
#0  0x00007ffa3e9d4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffa38a4a38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7ff95802d220, timeout=<optimized out>, context=0x7ff95820adc0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007ffa38a4a38c in g_main_context_iterate
(context=context@entry=0x7ff95820adc0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007ffa38a4a49c in g_main_context_iteration (context=0x7ff95820adc0,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffa3f1e02ce in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7ff958404ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007ffa3f1ae18f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff967695c80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffa3f1ae4f5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff967695c80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffa3f09d549 in QThread::exec() (this=this@entry=0x2976d10) at
thread/qthread.cpp:538
#8  0x00007ffa3f18e223 in QInotifyFileSystemWatcherEngine::run()
(this=0x2976d10) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x2976d10) at
thread/qthread_unix.cpp:352
#10 0x00007ffa3aec76ba in start_thread (arg=0x7ff967696700) at
pthread_create.c:333
#11 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7ff966e95700 (LWP 12596)):
#0  0x00007ffa3f1dfcef in postEventSourcePrepare(GSource*, gint*)
(s=0x7ff95c0012e0, timeout=timeout@entry=0x7ff966e94ab4) at
kernel/qeventdispatcher_glib.cpp:280
#1  0x00007ffa38a4991d in g_main_context_prepare
(context=context@entry=0x7ff95c0009a0, priority=priority@entry=0x7ff966e94b40)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3442
#2  0x00007ffa38a4a2bb in g_main_context_iterate
(context=context@entry=0x7ff95c0009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007ffa38a4a49c in g_main_context_iteration (context=0x7ff95c0009a0,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffa3f1e02ce in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7ff95c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007ffa3f1ae18f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff966e94c80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffa3f1ae4f5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff966e94c80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffa3f09d549 in QThread::exec() (this=this@entry=0x51792d0) at
thread/qthread.cpp:538
#8  0x00007ffa3f18e223 in QInotifyFileSystemWatcherEngine::run()
(this=0x51792d0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x51792d0) at
thread/qthread_unix.cpp:352
#10 0x00007ffa3aec76ba in start_thread (arg=0x7ff966e95700) at
pthread_create.c:333
#11 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7ff98286f700 (LWP 12586)):
#0  0x00007ffa3e9d4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffa38a4a38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7ff97c002be0, timeout=<optimized out>, context=0x7ff97c0009a0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007ffa38a4a38c in g_main_context_iterate
(context=context@entry=0x7ff97c0009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007ffa38a4a49c in g_main_context_iteration (context=0x7ff97c0009a0,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffa3f1e02ce in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7ff97c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007ffa3f1ae18f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff98286ecd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffa3f1ae4f5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ff98286ecd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffa3f09d549 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x49c5f28) at
thread/qthread_unix.cpp:352
#9  0x00007ffa3aec76ba in start_thread (arg=0x7ff98286f700) at
pthread_create.c:333
#10 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7ff98d54d700 (LWP 12585)):
#0  0x00007ffa3aecd709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007ffa3f0a0384 in QWaitCondition::wait(QMutex*, unsigned long)
(time=1000, this=0x4979670) at thread/qwaitcondition_unix.cpp:84
#2  0x00007ffa3f0a0384 in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x4771190, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007ffa3d98dca6 in  () at /usr/lib/libkdevplatformlanguage.so.8
#4  0x00007ffa3f09fe3c in QThreadPrivate::start(void*) (arg=0x4771170) at
thread/qthread_unix.cpp:352
#5  0x00007ffa3aec76ba in start_thread (arg=0x7ff98d54d700) at
pthread_create.c:333
#6  0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ffa0fd98700 (LWP 12583)):
#0  0x00007ffa3aecd360 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffa3c5bce1a in  () at /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007ffa3c5bce49 in  () at /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ffa3aec76ba in start_thread (arg=0x7ffa0fd98700) at
pthread_create.c:333
#4  0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ffa2495d700 (LWP 12582)):
#0  0x00007ffa3e9ee4ff in __libc_enable_asynccancel () at
../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007ffa3e9d0692 in read () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007ffa38a8d6f0 in g_wakeup_acknowledge (__nbytes=16,
__buf=0x7ffa2495cbf0, __fd=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  0x00007ffa38a8d6f0 in g_wakeup_acknowledge (wakeup=0x7ffa2000ee90) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#4  0x00007ffa38a49e74 in g_main_context_check
(context=context@entry=0x7ffa2000fc10, max_priority=2147483647,
fds=fds@entry=0x7ffa140010c0, n_fds=n_fds@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#5  0x00007ffa38a4a330 in g_main_context_iterate (context=0x7ffa2000fc10,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#6  0x00007ffa38a4a712 in g_main_loop_run (loop=0x7ffa2000fba0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4034
#7  0x00007ffa2abd59d6 in gdbus_shared_thread_func (user_data=0x7ffa2000fbe0)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#8  0x00007ffa38a70bb5 in g_thread_proxy (data=0x7ffa20011ca0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#9  0x00007ffa3aec76ba in start_thread (arg=0x7ffa2495d700) at
pthread_create.c:333
#10 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ffa253cd700 (LWP 12581)):
#0  0x00007ffa3e9d4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffa38a4a38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7ffa180008c0, timeout=<optimized out>, context=0x7ffa2000f420) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007ffa38a4a38c in g_main_context_iterate
(context=context@entry=0x7ffa2000f420, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007ffa38a4a49c in g_main_context_iteration (context=0x7ffa2000f420,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffa38a4a4d9 in glib_worker_main (data=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:5672
#5  0x00007ffa38a70bb5 in g_thread_proxy (data=0x7ffa20011c50) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007ffa3aec76ba in start_thread (arg=0x7ffa253cd700) at
pthread_create.c:333
#7  0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ffa25ea6700 (LWP 12580)):
[KCrash Handler]
#28 0x00007ffa3e90f428 in __GI_raise (sig=15) at
../sysdeps/unix/sysv/linux/raise.c:54
#29 0x00007ffa335fbe40 in ffi_call_unix64 () at
/usr/lib/x86_64-linux-gnu/libffi.so.6
#30 0x00007ffa335fb8ab in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#31 0x00007ffa382eecf5 in g_cclosure_marshal_generic_va
(closure=0x7ffa20006020, return_value=0x0, instance=0x7ffa200070c0,
args_list=<optimized out>, marshal_data=0x7ffa2abc2a60
<g_dbus_connection_real_closed>, n_params=2, param_types=0x7ffa20006090) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gclosure.c:1604
#32 0x00007ffa382ee1d4 in _g_closure_invoke_va
(closure=closure@entry=0x7ffa20006020, return_value=return_value@entry=0x0,
instance=instance@entry=0x7ffa200070c0, args=args@entry=0x7ffa25ea5b30,
n_params=<optimized out>, param_types=0x7ffa20006090) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gclosure.c:867
#33 0x00007ffa383089a6 in g_signal_emit_valist (instance=0x7ffa200070c0,
signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7ffa25ea5b30) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:3294
#34 0x00007ffa3830908f in g_signal_emit (instance=<optimized out>,
signal_id=<optimized out>, detail=detail@entry=0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:3441
#35 0x00007ffa2abc1645 in emit_closed_in_idle (user_data=0x7ffa14004220) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gio/gdbusconnection.c:1357
#36 0x00007ffa38a4a04a in g_main_context_dispatch (context=0x247bb60) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#37 0x00007ffa38a4a04a in g_main_context_dispatch
(context=context@entry=0x247bb60) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#38 0x00007ffa38a4a3f0 in g_main_context_iterate
(context=context@entry=0x247bb60, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#39 0x00007ffa38a4a49c in g_main_context_iteration (context=0x247bb60,
may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#40 0x00007ffa25eae28d in  () at
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#41 0x00007ffa38a70bb5 in g_thread_proxy (data=0x2422000) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#42 0x00007ffa3aec76ba in start_thread (arg=0x7ffa25ea6700) at
pthread_create.c:333
#43 0x00007ffa3e9e082d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffa422ca900 (LWP 12579)):
#0  0x00007ffa3e9d069d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffa38a8d6f0 in g_wakeup_acknowledge (__nbytes=16,
__buf=0x7ffe96004810, __fd=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007ffa38a8d6f0 in g_wakeup_acknowledge (wakeup=0x226d330) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007ffa38a49e74 in g_main_context_check
(context=context@entry=0x2343ea0, max_priority=2147483647,
fds=fds@entry=0x2b11bf0, n_fds=n_fds@entry=16) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007ffa38a4a330 in g_main_context_iterate
(context=context@entry=0x2343ea0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007ffa38a4a49c in g_main_context_iteration (context=0x2343ea0,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007ffa3f1e02ae in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x233fbd0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#7  0x00007ffa3f78a616 in
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#8  0x00007ffa3f1ae18f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe96004a50, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007ffa3f1ae4f5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe96004a50, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007ffa3f1b44b9 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1227
#11 0x00007ffa3f6db22c in QApplication::exec() () at
kernel/qapplication.cpp:3828
#12 0x00000000004117c1 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/app/main.cpp:582

Possible duplicates by query: bug 355685.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to