-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Description
Stack dump:
0. Program arguments: /usr/bin/clang++ -O2 -g -std=c++23 -fPIC -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wpadded-bitfield -fconstexpr-steps=16777216 -Wmissing-prototypes -Wno-implicit-const-int-float-conversion -Wno-user-defined-literals -Wno-vla-cxx-extension -Wno-unqualified-std-cast-call -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-overloaded-virtual -Wno-unused-private-field -fcolor-diagnostics -Werror -DAK_EXPORTS -DENABLE_COMPILETIME_FORMAT_CHECK -D_FILE_OFFSET_BITS=64 -I/home/jonne/src/ladybird.clang -I/home/jonne/src/ladybird.clang/Services -I/home/jonne/src/ladybird.clang/Libraries -I/home/jonne/src/ladybird.clang/Build/release/Lagom -I/home/jonne/src/ladybird.clang/Build/release/Lagom/Services -I/home/jonne/src/ladybird.clang/Build/release/Lagom/Libraries -I/home/jonne/src/ladybird.clang/Meta/Lagom/../.. -I/home/jonne/src/ladybird.clang/Meta/Lagom/../../Libraries -I/home/jonne/src/ladybird.clang/Meta/Lagom/../../Services -I/home/jonne/src/ladybird.clang/Build/release -isystem /home/jonne/src/ladybird.clang/Build/release/vcpkg_installed/x64-linux/include -DNDEBUG -c -MD -MT Lagom/AK/CMakeFiles/AK.dir/JsonParser.cpp.o -MF Lagom/AK/CMakeFiles/AK.dir/JsonParser.cpp.o.d -fcolor-diagnostics -o Lagom/AK/CMakeFiles/AK.dir/JsonParser.cpp.o /home/jonne/src/ladybird.clang/AK/JsonParser.cpp
1. <unknown> parser at unknown location
2. /home/jonne/src/ladybird.clang/AK/UnicodeCodePointView.h:19:1: parsing namespace 'AK'
3. /home/jonne/src/ladybird.clang/AK/UnicodeCodePointView.h:536:1: parsing struct/union/class body 'AK::UnicodeCodePointViewBase'
#0 0x00007fdd7dbbefde llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/../lib/libLLVM.so.18.1+0xbbefde)
#1 0x00007fdd7dbbcd5c llvm::sys::CleanupOnSignal(unsigned long) (/usr/bin/../lib/libLLVM.so.18.1+0xbbcd5c)
#2 0x00007fdd7daade78 (/usr/bin/../lib/libLLVM.so.18.1+0xaade78)
#3 0x00007fdd7ca558c0 __restore_rt libc_sigaction.c:0:0
#4 0x00007fdd8633b308 clang::Lexer::LexTokenInternal(clang::Token&, bool) (/usr/bin/../lib/libclang-cpp.so.18.1+0xb3b308)
#5 0x00007fdd863be184 clang::Preprocessor::Lex(clang::Token&) (/usr/bin/../lib/libclang-cpp.so.18.1+0xbbe184)
#6 0x00007fdd863deaca (/usr/bin/../lib/libclang-cpp.so.18.1+0xbdeaca)
#7 0x00007fdd864d5c46 clang::Parser::ExpectAndConsume(clang::tok::TokenKind, unsigned int, llvm::StringRef) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcd5c46)
#8 0x00007fdd8641c2f1 clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc1c2f1)
#9 0x00007fdd8641eba0 clang::Parser::ParseCXXClassMemberDeclarationWithPragmas(clang::AccessSpecifier&, clang::ParsedAttributes&, clang::TypeSpecifierType, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc1eba0)
#10 0x00007fdd8641efbd clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc1efbd)
#11 0x00007fdd86421511 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc21511)
#12 0x00007fdd863eb7ef clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) (/usr/bin/../lib/libclang-cpp.so.18.1+0xbeb7ef)
#13 0x00007fdd864bdada clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcbdada)
#14 0x00007fdd864c65a2 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcc65a2)
#15 0x00007fdd864c67c7 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcc67c7)
#16 0x00007fdd863fec06 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xbfec06)
#17 0x00007fdd864da94c clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcda94c)
#18 0x00007fdd86415357 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc15357)
#19 0x00007fdd864189e0 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/bin/../lib/libclang-cpp.so.18.1+0xc189e0)
#20 0x00007fdd863fedf8 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xbfedf8)
#21 0x00007fdd864da94c clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcda94c)
#22 0x00007fdd864dc2d5 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/usr/bin/../lib/libclang-cpp.so.18.1+0xcdc2d5)
#23 0x00007fdd863cd72a clang::ParseAST(clang::Sema&, bool, bool) (/usr/bin/../lib/libclang-cpp.so.18.1+0xbcd72a)
#24 0x00007fdd886065f9 clang::FrontendAction::Execute() (/usr/bin/../lib/libclang-cpp.so.18.1+0x2e065f9)
#25 0x00007fdd88580dd9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/bin/../lib/libclang-cpp.so.18.1+0x2d80dd9)
#26 0x00007fdd8869767b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/bin/../lib/libclang-cpp.so.18.1+0x2e9767b)
#27 0x00005618f99e0876 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang+++0x15876)
#28 0x00005618f99d8dda (/usr/bin/clang+++0xddda)
#29 0x00007fdd881baba9 (/usr/bin/../lib/libclang-cpp.so.18.1+0x29baba9)
#30 0x00007fdd7daae293 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/bin/../lib/libLLVM.so.18.1+0xaae293)
#31 0x00007fdd881bb261 (/usr/bin/../lib/libclang-cpp.so.18.1+0x29bb261)
#32 0x00007fdd881825c6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/usr/bin/../lib/libclang-cpp.so.18.1+0x29825c6)
#33 0x00007fdd8818307d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/usr/bin/../lib/libclang-cpp.so.18.1+0x298307d)
#34 0x00007fdd881960cc clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/usr/bin/../lib/libclang-cpp.so.18.1+0x29960cc)
#35 0x00005618f99ddf35 clang_main(int, char**, llvm::ToolContext const&) (/usr/bin/clang+++0x12f35)
#36 0x00005618f99d8166 main (/usr/bin/clang+++0xd166)
#37 0x00007fdd7ca3fc4c __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#38 0x00007fdd7ca3fd05 call_init ./csu/../csu/libc-start.c:128:20
#39 0x00007fdd7ca3fd05 __libc_start_main@GLIBC_2.2.5 ./csu/../csu/libc-start.c:347:5
#40 0x00005618f99d81c1 _start (/usr/bin/clang+++0xd1c1)
clang++: error: clang frontend command failed with exit code 135 (use -v to see invocation)
clang version 18.1.8
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Metadata
Metadata
Assignees
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]