[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 307825] New: crash while parsing deeply nested templates
From:       Diggory Hardy <diggory.hardy () gmail ! com>
Date:       2012-10-04 11:15:43
Message-ID: bug-307825-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 307825
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: crash while parsing deeply nested templates
    Classification: Unclassified
                OS: Linux
          Reporter: diggory.hardy@gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: kdevelop

Application: kdevelop (4.3.90)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-16-generic x86_64
Distribution: Ubuntu quantal (development branch)

-- Information about the crash:
What happens when I start kdevelop: every time I start the session involved, it
spends about a minute parsing input, gets to 71%, pauses for a few seconds,
then crashes. I've tried clearing the cache in ~/.kdevduchain and on a fresh
install, get the same thing.

This happened since I started as soon as I started using a new library in one
file: pstade::biscuit (search for it, should be obvious what I mean).

Final note: the exact same thing happened with kdevelop from the Chakra linux
repos:
http://www.chakra-project.org/packages/index.php?act=show&subdir=apps/x86_64&sortby=date&file=kdevelop-4.3.1-1-x86_64.pkg.tar.xz


Console output:

<prompt>$ kdevelop
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading
configurations from ~/.fonts.conf is deprecated.
qrc:/main.qml:23:1: QML QDeclarativeRectangle_QML_0: Binding loop detected for
property "areaName"
QDeclarativeComponent(0x4581df0)
QDeclarativeComponent(0x4581df0)
kdevelop(16307)/kdevplatform (shell)
KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from 
"/home/dhardy/.kde/share/apps/kdevelop/sessions/{a7c9d174-0509-47b8-8c63-78616334c08b}/recovery/current" \
 X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x420001e
kdevelop(16307)/konsole Konsole::Session::run: Attempted to re-run an already
running session. 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<void******>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::detail::function::function_buffer******>" 
kdevelop(16307)/kdevelop (cpp duchain) ContextBuilder::buildContexts:
"/usr/include/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp"
Previous parameter declaration context didn't get used?? 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::_, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::_, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::callable, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::callable, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::transform< ,  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::transform< ,  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::as_expr<  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::as_expr<  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::as_child<  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::as_child<  >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::child_c< int >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::child_c< int >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::child< int >, 4>" 
kdevelop(16307)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::instantiate:
depth-limit reached while instantiating template declaration with
"<boost::proto::functional::child< int >, 4>" 
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 35 and type 'Read', disabling...
QSocketNotifier: Invalid socket 33 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
ClassFunctionDeclarationData::m_defaultParameters There were items left on
destruction: 11399
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/dhardy/.kde/socket-L10036/kdeinit4__0
SpecialTemplateDeclarationData::m_specializations There were items left on
destruction: 22261
ClassDeclarationData::baseClasses There were items left on destruction: 10205
FunctionDeclarationData::m_defaultParameters There were items left on
destruction: 6421
DUContextData::m_childContexts There were items left on destruction: 50756
DUContextData::m_uses There were items left on destruction: 54974
TopDUContextData::m_usedDeclarationIds There were items left on destruction:
2737
DUContextData::m_localDeclarations There were items left on destruction: 46968
DUContextData::m_importers There were items left on destruction: 21410
DUContextData::m_importedContexts There were items left on destruction: 23853
kdevelop(16307)/konsole Konsole::SessionManager::~SessionManager: Konsole
SessionManager destroyed with sessions still alive 
pp_macro::formals There were items left on destruction: 211
pp_macro::definition There were items left on destruction: 962

[1]+  Stopped                 kdevelop
<prompt>$ QSocketNotifier: Invalid socket 30 and type 'Read', disabling...
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...

[1]+  Exit 1                  kdevelop

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 0x7fa6018e3780 (LWP 16047))]

Thread 11 (Thread 0x7fa5f8e23700 (LWP 16048)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fa611b9afa7 in wait (time=1000, this=0x2b35980) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b39a50, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007fa60dd0df8b in ?? () from /usr/lib/libkdevplatformlanguage.so.6
#4  0x00007fa611b9aaec in QThreadPrivate::start (arg=0x2b39a30) at
thread/qthread_unix.cpp:338
#5  0x00007fa60fc15e9a in start_thread (arg=0x7fa5f8e23700) at
pthread_create.c:308
#6  0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa5df22a700 (LWP 16051)):
#0  0x00007fa60acc887f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa60acc8fe9 in g_private_get () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa60acafb20 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa60ac8b03e in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa60ac8bc64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa60ac8bea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa611cc5c16 in QEventDispatcherGlib::processEvents
(this=0x7fa5d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7fa5df229dd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fa611c96548 in QEventLoop::exec (this=0x7fa5df229dd0, flags=...) at
kernel/qeventloop.cpp:204
#9  0x00007fa611b97b10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#10 0x00007fa611c769af in QInotifyFileSystemWatcherEngine::run (this=0x3743250)
at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fa611b9aaec in QThreadPrivate::start (arg=0x3743250) at
thread/qthread_unix.cpp:338
#12 0x00007fa60fc15e9a in start_thread (arg=0x7fa5df22a700) at
pthread_create.c:308
#13 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa5de7f9700 (LWP 16052)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa60d08fcd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa60d08fd09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa60fc15e9a in start_thread (arg=0x7fa5de7f9700) at
pthread_create.c:308
#4  0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa5dd172700 (LWP 16053)):
#0  0x00007fa60fc1905d in __pthread_mutex_unlock_usercnt (mutex=<optimized
out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fa5d0000a60) at pthread_mutex_unlock.c:290
#2  0x00007fa60acc8c61 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa60ac8beae in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa611cc5c16 in QEventDispatcherGlib::processEvents
(this=0x7fa5d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7fa5dd171e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa611c96548 in QEventLoop::exec (this=0x7fa5dd171e00, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007fa611b97b10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007fa611b9aaec in QThreadPrivate::start (arg=0x3957650) at
thread/qthread_unix.cpp:338
#9  0x00007fa60fc15e9a in start_thread (arg=0x7fa5dd172700) at
pthread_create.c:308
#10 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa5dc971700 (LWP 16054)):
#0  0x00007fa6108999e3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa60ac8bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa60ac8bea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa611cc5c16 in QEventDispatcherGlib::processEvents
(this=0x7fa5d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7fa5dc970e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa611c96548 in QEventLoop::exec (this=0x7fa5dc970e00, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fa611b97b10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fa611b9aaec in QThreadPrivate::start (arg=0x37a5c50) at
thread/qthread_unix.cpp:338
#8  0x00007fa60fc15e9a in start_thread (arg=0x7fa5dc971700) at
pthread_create.c:308
#9  0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa5cffff700 (LWP 16070)):
#0  0x00007fa60acc89b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa60acc8c59 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa60ac8b60b in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa60ac8bcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa60ac8bea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa611cc5c16 in QEventDispatcherGlib::processEvents
(this=0x7fa5c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7fa5cfffedd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa611c96548 in QEventLoop::exec (this=0x7fa5cfffedd0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007fa611b97b10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007fa611c769af in QInotifyFileSystemWatcherEngine::run (this=0x4773330)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fa611b9aaec in QThreadPrivate::start (arg=0x4773330) at
thread/qthread_unix.cpp:338
#11 0x00007fa60fc15e9a in start_thread (arg=0x7fa5cffff700) at
pthread_create.c:308
#12 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa5cdc50700 (LWP 16125)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa607dd0b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa607dd0c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa60fc15e9a in start_thread (arg=0x7fa5cdc50700) at
pthread_create.c:308
#4  0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa5ce451700 (LWP 16126)):
#0  __pthread_mutex_unlock (mutex=0x1) at pthread_mutex_unlock.c:289
#1  0x00007fa60acc8c61 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa60ac8b60b in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa60ac8bcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa60ac8bea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa611cc5c16 in QEventDispatcherGlib::processEvents
(this=0x7fa5c40015c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7fa5ce450e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa611c96548 in QEventLoop::exec (this=0x7fa5ce450e00, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007fa611b97b10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007fa611b9aaec in QThreadPrivate::start (arg=0x4428500) at
thread/qthread_unix.cpp:338
#10 0x00007fa60fc15e9a in start_thread (arg=0x7fa5ce451700) at
pthread_create.c:308
#11 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa57f5e2700 (LWP 16231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa611b9b04b in wait (time=18446744073709551615, this=0x1c3f690) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1be7dd0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa6087bf0e1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c3f820,
th=0x5714f20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa6087c192b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1562170, th=0x5714f20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa6087c1944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1562170, th=0x5714f20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa6087c1944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1562170, th=0x5714f20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa6087c079f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7fa57f5e1e00, parent=0x1c3f820, th=th@entry=0x5714f20) at
../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa6087c082b in ThreadWeaver::Thread::run (this=0x5714f20) at
../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa611b9aaec in QThreadPrivate::start (arg=0x5714f20) at
thread/qthread_unix.cpp:338
#10 0x00007fa60fc15e9a in start_thread (arg=0x7fa57f5e2700) at
pthread_create.c:308
#11 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa57ede1700 (LWP 16232)):
[KCrash Handler]
#6  0x00007fa60dd12dd6 in ?? () from /usr/lib/libkdevplatformlanguage.so.6
#7  0x00007fa60dd13311 in KDevelop::DUContext::scopeIdentifier(bool) const ()
from /usr/lib/libkdevplatformlanguage.so.6
#8  0x00007fa60dd397b9 in KDevelop::Declaration::qualifiedIdentifier() const ()
from /usr/lib/libkdevplatformlanguage.so.6
#9  0x00007fa5dd45d49e in TypeBuilder::openTypeFromName
(this=this@entry=0x7fa57edd0a90, name=0x7fa575e0a978, modifiers=0,
needClass=needClass@entry=false) at
../../../../languages/cpp/cppduchain/typebuilder.cpp:533
#10 0x00007fa5dd45de2f in visitSimpleTypeSpecifier (node=0x7fa575e0a9a8,
this=0x7fa57edd0a90) at
../../../../languages/cpp/cppduchain/typebuilder.cpp:401
#11 TypeBuilder::visitSimpleTypeSpecifier (this=0x7fa57edd0a90,
node=0x7fa575e0a9a8) at
../../../../languages/cpp/cppduchain/typebuilder.cpp:286
#12 0x00007fa5dd18831e in DefaultVisitor::visitTypedef (this=0x7fa57edd0af0,
node=0x7fa575e0ac18) at
../../../../languages/cpp/parser/default_visitor.cpp:449
#13 0x00007fa5dd4230f2 in ContextBuilder::visitTypedef (this=0x7fa57edd0a90,
node=<optimized out>) at
../../../../languages/cpp/cppduchain/contextbuilder.cpp:541
#14 0x00007fa5dd45b224 in TypeBuilder::visitTypedef (this=0x7fa57edd0a90,
node=<optimized out>) at
../../../../languages/cpp/cppduchain/typebuilder.cpp:596
#15 0x00007fa5dd1884a1 in visitNodes<DeclarationAST*> (v=0x7fa57edd0af0,
nodes=0x1) at ../../../../languages/cpp/parser/visitor.h:139
#16 0x00007fa5dd421b15 in ContextBuilder::visitNamespace (this=0x7fa57edd0a90,
node=0x7fa575e06348) at
../../../../languages/cpp/cppduchain/contextbuilder.cpp:472
#17 0x00007fa5dd43552b in DeclarationBuilder::visitNamespace
(this=0x7fa57edd0a90, ast=0x7fa575e06348) at
../../../../languages/cpp/cppduchain/declarationbuilder.cpp:1085
#18 0x00007fa5dd1884a1 in visitNodes<DeclarationAST*> (v=0x7fa57edd0af0,
nodes=0x1) at ../../../../languages/cpp/parser/visitor.h:139
#19 0x00007fa5dd421b15 in ContextBuilder::visitNamespace (this=0x7fa57edd0a90,
node=0x7fa575e062f0) at
../../../../languages/cpp/cppduchain/contextbuilder.cpp:472
#20 0x00007fa5dd43552b in DeclarationBuilder::visitNamespace
(this=0x7fa57edd0a90, ast=0x7fa575e062f0) at
../../../../languages/cpp/cppduchain/declarationbuilder.cpp:1085
#21 0x00007fa5dd1884a1 in visitNodes<DeclarationAST*> (v=0x7fa57edd0af0,
nodes=0x1) at ../../../../languages/cpp/parser/visitor.h:139
#22 0x00007fa5dd421b15 in ContextBuilder::visitNamespace (this=0x7fa57edd0a90,
node=0x7fa575e06298) at
../../../../languages/cpp/cppduchain/contextbuilder.cpp:472
#23 0x00007fa5dd43552b in DeclarationBuilder::visitNamespace
(this=0x7fa57edd0a90, ast=0x7fa575e06298) at
../../../../languages/cpp/cppduchain/declarationbuilder.cpp:1085
#24 0x00007fa5dd1884a1 in visitNodes<DeclarationAST*> (v=0x7fa57edd0af0,
nodes=0x1) at ../../../../languages/cpp/parser/visitor.h:139
#25 0x00007fa5dd426bb1 in KDevelop::AbstractContextBuilder<AST,
NameAST>::supportBuild (this=0x7fa57edd0a90, node=0x7fa575e06250,
context=<optimized out>) at
/usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#26 0x00007fa5dd42525e in ContextBuilder::buildContexts (this=0x7fa57edd0a90,
file=..., node=0x7fa575e06250, includes=<optimized out>, updateContext=...,
removeOldImports=false) at
../../../../languages/cpp/cppduchain/contextbuilder.cpp:421
#27 0x00007fa5dd4305c2 in DeclarationBuilder::buildDeclarations
(this=<optimized out>, file=..., node=<optimized out>, includes=<optimized
out>, updateContext=..., removeOldImports=false) at
../../../../languages/cpp/cppduchain/declarationbuilder.cpp:94
#28 0x00007fa5dd96c72c in CPPInternalParseJob::run (this=0x7fa5757e8a30) at
../../../languages/cpp/cppparsejob.cpp:639
#29 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa5730c1f00,
_fileName=..., type=<optimized out>, sourceLine=32, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#30 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd1550, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#31 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd1550, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#32 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd1550,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#33 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd1550,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#34 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#35 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa5730c1f00) at
../../../languages/cpp/preprocessjob.cpp:254
#36 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa574415ab0) at
../../../languages/cpp/cppparsejob.cpp:176
#37 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa571e81680,
_fileName=..., type=<optimized out>, sourceLine=34, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#38 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd2f00, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#39 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd2f00, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#40 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd2f00,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#41 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd2f00,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#42 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#43 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa571e81680) at
../../../languages/cpp/preprocessjob.cpp:254
#44 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa57482d2f0) at
../../../languages/cpp/cppparsejob.cpp:176
#45 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa575cec660,
_fileName=..., type=<optimized out>, sourceLine=19, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#46 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd48b0, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#47 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd48b0, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#48 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd48b0,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#49 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd48b0,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#50 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#51 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa575cec660) at
../../../languages/cpp/preprocessjob.cpp:254
#52 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa574cef050) at
../../../languages/cpp/cppparsejob.cpp:176
#53 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa575970a90,
_fileName=..., type=<optimized out>, sourceLine=22, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#54 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd6260, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#55 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd6260, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#56 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd6260,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#57 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd6260,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#58 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#59 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa575970a90) at
../../../languages/cpp/preprocessjob.cpp:254
#60 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa5710736a0) at
../../../languages/cpp/cppparsejob.cpp:176
#61 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa575a22360,
_fileName=..., type=<optimized out>, sourceLine=23, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#62 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd7c10, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#63 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd7c10, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#64 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd7c10,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#65 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd7c10,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#66 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#67 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa575a22360) at
../../../languages/cpp/preprocessjob.cpp:254
#68 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa57332fac0) at
../../../languages/cpp/cppparsejob.cpp:176
#69 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa5740ac2d0,
_fileName=..., type=<optimized out>, sourceLine=15, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#70 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edd95c0, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#71 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edd95c0, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#72 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edd95c0,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#73 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edd95c0,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#74 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#75 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa5740ac2d0) at
../../../languages/cpp/preprocessjob.cpp:254
#76 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa571bb4680) at
../../../languages/cpp/cppparsejob.cpp:176
#77 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa574b3dd50,
_fileName=..., type=<optimized out>, sourceLine=15, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#78 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57eddaf70, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#79 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57eddaf70, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#80 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57eddaf70,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#81 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57eddaf70,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#82 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#83 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa574b3dd50) at
../../../languages/cpp/preprocessjob.cpp:254
#84 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa571051640) at
../../../languages/cpp/cppparsejob.cpp:176
#85 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa5754e61b0,
_fileName=..., type=<optimized out>, sourceLine=15, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#86 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57eddc920, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#87 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57eddc920, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#88 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57eddc920,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#89 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57eddc920,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#90 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#91 0x00007fa5dd9743cd in PreprocessJob::run (this=0x7fa5754e61b0) at
../../../languages/cpp/preprocessjob.cpp:254
#92 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa5754e5970) at
../../../languages/cpp/cppparsejob.cpp:176
#93 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x7fa5751a4ff0,
_fileName=..., type=<optimized out>, sourceLine=54, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#94 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57edde2d0, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#95 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57edde2d0, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#96 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57edde2d0,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#97 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57edde2d0,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#98 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#99 0x00007fa5dd973b5e in PreprocessJob::run (this=0x7fa5751a4ff0) at
../../../languages/cpp/preprocessjob.cpp:245
#100 0x00007fa5dd969dae in CPPParseJob::parseForeground (this=0x7fa5751a5050)
at ../../../languages/cpp/cppparsejob.cpp:176
#101 0x00007fa5dd97260c in PreprocessJob::sourceNeeded (this=0x57b5780,
_fileName=..., type=<optimized out>, sourceLine=19, skipCurrentPath=<optimized
out>) at ../../../languages/cpp/preprocessjob.cpp:579
#102 0x00007fa5dd705e3c in rpp::pp::handle_include
(this=this@entry=0x7fa57eddfc80, skip_current_path=<optimized out>, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#103 0x00007fa5dd707cd9 in rpp::pp::handle_directive
(this=this@entry=0x7fa57eddfc80, directive=directive@entry=191065, input=...,
output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#104 0x00007fa5dd708340 in rpp::pp::operator() (this=this@entry=0x7fa57eddfc80,
input=..., output=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#105 0x00007fa5dd708575 in rpp::pp::processFileInternal (this=0x7fa57eddfc80,
fileName=..., fileContents=..., result=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#106 0x00007fa5dd708616 in rpp::pp::processFile (this=<optimized out>,
fileName=..., data=...) at
../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#107 0x00007fa5dd973b5e in PreprocessJob::run (this=0x57b5780) at
../../../languages/cpp/preprocessjob.cpp:245
#108 0x00007fa6087c0f9a in ThreadWeaver::JobRunHelper::runTheJob
(this=this@entry=0x7fa57ede0d90, th=th@entry=0x7fa578002e50,
job=job@entry=0x57b5780) at ../../../threadweaver/Weaver/Job.cpp:106
#109 0x00007fa6087c1111 in ThreadWeaver::Job::execute (this=0x57b5780,
th=0x7fa578002e50) at ../../../threadweaver/Weaver/Job.cpp:135
#110 0x00007fa6087c2123 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0x5784600, t=0x7fa578002e50) at
../../../threadweaver/Weaver/JobCollection.cpp:82
#111 0x00007fa6087c076f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7fa57ede0e00, parent=0x1c3f820, th=th@entry=0x7fa578002e50)
at ../../../threadweaver/Weaver/Thread.cpp:95
#112 0x00007fa6087c082b in ThreadWeaver::Thread::run (this=0x7fa578002e50) at
../../../threadweaver/Weaver/Thread.cpp:142
#113 0x00007fa611b9aaec in QThreadPrivate::start (arg=0x7fa578002e50) at
thread/qthread_unix.cpp:338
#114 0x00007fa60fc15e9a in start_thread (arg=0x7fa57ede1700) at
pthread_create.c:308
#115 0x00007fa6108a539d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#116 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa6018e3780 (LWP 16047)):
#0  0x00007fa610897f9d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa60acc7f6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa60ac8b914 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa60ac8bd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa60ac8bea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa611cc5bf6 in QEventDispatcherGlib::processEvents (this=0x14a6b30,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fa6110e3c1e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007fa611c962bf in QEventLoop::processEvents
(this=this@entry=0x7ffff8e949f0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fa611c96548 in QEventLoop::exec (this=0x7ffff8e949f0, flags=...) at
kernel/qeventloop.cpp:204
#9  0x00007fa611c9b708 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#10 0x000000000040e610 in main (argc=<optimized out>, argv=<optimized out>) at
../../app/main.cpp:518

Possible duplicates by query: bug 285635.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic