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

            Bug ID: 421704
           Summary: `#include <memory>` with parser set to c++2a causes a
                    crash
           Product: kdevelop
           Version: 5.5.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: krzysio.ku...@wp.pl
  Target Milestone: ---

Application: kdevelop (5.5.1)

Qt Version: 5.14.1
Frameworks Version: 5.70.0
Operating System: Linux 5.6.11-1-default x86_64
Windowing system: X11
Distribution: openSUSE Tumbleweed

-- Information about the crash:
Trying to parse a file that has a <memory> include causes a crash if the parser
has been set to c++2a

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  clang::ConceptReference::getNamedConcept (this=0x0) at
../tools/clang/include/clang/AST/ASTConcept.h:155
#5  isSameTemplateParameter (X=0x7fba0628e7e8, Y=0x7fba0628ee28) at
../tools/clang/lib/Serialization/ASTReaderDecl.cpp:2890
#6  isSameTemplateParameterList (C=..., X=0x7fba0628e8b8, Y=0x7fba0628eef8) at
../tools/clang/lib/Serialization/ASTReaderDecl.cpp:2981
#7  0x00007fba5eb165d5 in isSameEntity (X=0x7fba0628e288, Y=0x7fba0628e8f8) at
../tools/clang/lib/Serialization/ASTReaderDecl.cpp:3183
#8  0x00007fba5eb155df in clang::ASTDeclReader::findExisting (this=<optimized
out>, D=0x7fba0628e8f8) at
../tools/clang/lib/Serialization/ASTReaderDecl.cpp:3469


Reported using DrKonqi

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

Reply via email to