Bug 328016 - Crashes on parsing project
Summary: Crashes on parsing project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: 4.5.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-11-24 15:47 UTC by Barade
Modified: 2018-10-27 03:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barade 2013-11-24 15:47:21 UTC
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.instantiatedFrom() == std::hash::operator()" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.specializedFrom().data() == null && other.instantiatedFrom() == null" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.specializedFrom().data() == null && other.instantiatedFrom() == null" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.specializedFrom().data() == null && other.instantiatedFrom() == null" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.specializedFrom().data() == null && other.instantiatedFrom() == null" 
kdevelop(11094)/kdevelop (cpp duchain) Cpp::TemplateDeclaration::setSpecializedFrom: depth-limit reached while setting specializedFrom "this specializedFrom is null" with "other.specializedFrom().data() == null && other.instantiatedFrom() == null" 
kdevelop(11094)/kdevelop (cpp support) IncludePathComputer::computeBackground: Missing cpp environment-file for KUrl("file:///home/peter/workspace/project/CMakeLists.txt") 
KCrash: Application 'kdevelop' crashing...
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 34 and type 'Read', disabling...
QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
SpecialTemplateDeclarationData::m_specializations There were items left on destruction: 651
pp_macro::definition There were items left on destruction: 218
ClassFunctionDeclarationData::m_defaultParameters There were items left on destruction: 4525
FunctionDeclarationData::m_defaultParameters There were items left on destruction: 5743
DUContextData::m_childContexts There were items left on destruction: 12645
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
ClassDeclarationData::baseClasses There were items left on destruction: 865
sock_file=/home/peter/.kde4/socket-cdauth-3/kdeinit4__0
DUContextData::m_uses There were items left on destruction: 4647
TopDUContextData::m_usedDeclarationIds There were items left on destruction: 142
DUContextData::m_localDeclarations There were items left on destruction: 12877
DUContextData::m_importers There were items left on destruction: 1438
DUContextData::m_importedContexts There were items left on destruction: 1692
kdevelop(11094)/konsole Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive 

[1]+  Stopped                 kdevelop

Reproducible: Always
Comment 1 Milian Wolff 2013-11-25 10:14:32 UTC
Please provide a backtrace.
Comment 2 Barade 2013-11-25 15:41:27 UTC
(gdb) bt
#0  0x00007fff5021408d in PreprocessJob::headerSectionEndedInternal (this=0x40462e0, stream=0x7ffef6f846c0)
    at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/preprocessjob.cpp:373
#1  0x00007ffef656e3db in rpp::pp_macro_expander::operator() (this=0x7ffef6f847f8, input=..., output=..., substitute=false, table=0x0)
    at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/parser/rpp/pp-macro-expander.cpp:302
#2  0x00007ffef657cd59 in rpp::pp::operator() (this=0x7ffef6f847f0, input=..., output=...)
    at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/parser/rpp/pp-engine.cpp:287
#3  0x00007ffef657d1b1 in rpp::pp::processFileInternal (this=0x7ffef6f847f0, fileName=..., fileContents=..., result=...)
    at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/parser/rpp/pp-engine.cpp:98
#4  0x00007ffef657d255 in rpp::pp::processFile (this=<optimized out>, fileName=..., data=...)
    at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/parser/rpp/pp-engine.cpp:85
#5  0x00007fff50216ef9 in PreprocessJob::run (this=0x40462e0) at /var/tmp/portage/dev-util/kdevelop-4.5.2/work/kdevelop-4.5.2/languages/cpp/preprocessjob.cpp:245
#6  0x00000037fc00d98b in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00000037fc00dafc in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#8  0x00000037fc00eb03 in ?? () from /usr/lib64/libthreadweaver.so.4
#9  0x00000037fc00d14f in ?? () from /usr/lib64/libthreadweaver.so.4
#10 0x00000037fc00d20b in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#11 0x00000037ecc8208c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#13 0x00000032bdaebabd in clone () from /lib64/libc.so.6
Comment 3 Milian Wolff 2013-11-25 15:56:17 UTC
Is the project you try to parse publically accessible, i.e. can I try to reproduce the issue myself?

Also, do you happen to include a CMakeLists.txt in one of your .cpp/.h files somewhere? Or what is this giving you: kmimetypefinder file:///home/peter/workspace/project/CMakeLists.txt
Comment 4 Christoph Feck 2013-12-27 22:40:38 UTC
If you can provide the information requested in comment #3, please add it.
Comment 5 Andrew Crouthamel 2018-09-25 03:55:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 03:33:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!