Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with C++20 modules #122504

Open
anarthal opened this issue Jan 10, 2025 · 1 comment
Open

Crash with C++20 modules #122504

anarthal opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
clang:modules C++20 modules and Clang Header Modules crash Prefer [crash-on-valid] or [crash-on-invalid]

Comments

@anarthal
Copy link

build] PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
[build] Stack dump:
[build] 0. Program arguments: /usr/bin/clang++-19 -DBOOST_CHARCONV_NO_LIB -DBOOST_CHARCONV_SOURCE -DBOOST_CHARCONV_STATIC_LINK -DBOOST_USE_MODULES -I/home/ruben/workspace/boost-with-modules/libs/charconv/include -I/home/ruben/workspace/boost-with-modules/libs/config/include -I/home/ruben/workspace/boost-with-modules/libs/assert/include -I/home/ruben/workspace/boost-with-modules/libs/core/include -I/home/ruben/workspace/boost-with-modules/libs/static_assert/include -I/home/ruben/workspace/boost-with-modules/libs/throw_exception/include -ftemplate-backtrace-limit=0 -stdlib=libc++ -g -std=c++23 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-include-angled-in-module-purview -MD -MT libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o -MF libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o.d @libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o.modmap -o libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o -c /home/ruben/workspace/boost-with-modules/libs/charconv/src/to_chars.cpp
[build] 1. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2024:26: current parser token 'fill_remaining_digits_with_0s'
[build] 2. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:1: parsing namespace 'boost'
[build] 3. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:19: parsing namespace 'boost::charconv'
[build] 4. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:40: parsing namespace 'boost::charconv::detail'
[build] 5. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1330:1: parsing function body 'boost::charconv::detail::floff'
[build] 6. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1330:1: in compound statement ('{}')
[build] 7. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1491:5: in compound statement ('{}')
[build] 8. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2014:9: in compound statement ('{}')
[build] 9. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2016:13: in compound statement ('{}')
[build] 10. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2023:17: in compound statement ('{}')
[build] #0 0x000073cf11a99f16 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xe99f16)
[build] #1 0x000073cf11a97af0 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xe97af0)
[build] #2 0x000073cf119e7910 (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xde7910)
[build] #3 0x000073cf10442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
[build] #4 0x000073cf1b22e50e (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2a2e50e)
[build] #5 0x000073cf1b22e036 clang::ASTReader::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2a2e036)
[build] #6 0x000073cf196e1a03 clang::DeclContext::lookup(clang::DeclarationName) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xee1a03)
[build] #7 0x000073cf1a242da9 (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a42da9)
[build] #8 0x000073cf1a23f6dd clang::Sema::CppLookupName(clang::LookupResult&, clang::Scope*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a3f6dd)
[build] #9 0x000073cf1a242943 clang::Sema::LookupName(clang::LookupResult&, clang::Scope*, bool, bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a42943)
[build] #10 0x000073cf1a24537c clang::Sema::LookupSingleName(clang::Scope*, clang::DeclarationName, clang::SourceLocation, clang::Sema::LookupNameKind, RedeclarationKind) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a4537c)
[build] #11 0x000073cf1a247fc7 clang::Sema::LookupOrCreateLabel(clang::IdentifierInfo*, clang::SourceLocation, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a47fc7)
[build] #12 0x000073cf194d50a8 clang::Parser::ParseGotoStatement() (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd50a8)
[build] #13 0x000073cf194d026f clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd026f)
[build] #14 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #15 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450)
[build] #16 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292)
[build] #17 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #18 0x000073cf194d2040 clang::Parser::ParseIfStatement(clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd2040)
[build] #19 0x000073cf194cf86e clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xccf86e)
[build] #20 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #21 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450)
[build] #22 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292)
[build] #23 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #24 0x000073cf194d2040 clang::Parser::ParseIfStatement(clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd2040)
[build] #25 0x000073cf194cf86e clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xccf86e)
[build] #26 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #27 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450)
[build] #28 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292)
[build] #29 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #30 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450)
[build] #31 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292)
[build] #32 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7)
[build] #33 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450)
[build] #34 0x000073cf194d8582 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd8582)
[build] #35 0x000073cf194f2710 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf2710)
[build] #36 0x000073cf1943673a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc3673a)
[build] #37 0x000073cf194e0302 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xce0302)
[build] #38 0x000073cf194df378 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcdf378)
[build] #39 0x000073cf194ded01 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcded01)
[build] #40 0x000073cf19434129 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc34129)
[build] #41 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f)
[build] #42 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b)
[build] #43 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d)
[build] #44 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe)
[build] #45 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f)
[build] #46 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b)
[build] #47 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d)
[build] #48 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe)
[build] #49 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f)
[build] #50 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b)
[build] #51 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d)
[build] #52 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe)
[build] #53 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f)
[build] #54 0x000073cf19452ea9 clang::Parser::ParseLinkage(clang::ParsingDeclSpec&, clang::DeclaratorContext) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc52ea9)
[build] #55 0x000073cf194f16de clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf16de)
[build] #56 0x000073cf194f10bb clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf10bb)
[build] #57 0x000073cf194f02c7 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf02c7)
[build] #58 0x000073cf194ee757 clang::Parser::ParseTopLevelDecl(clang::OpaquePtrclang::DeclGroupRef&, clang::Sema::ModuleImportState&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcee757)
[build] #59 0x000073cf1941ec8e clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc1ec8e)
[build] #60 0x000073cf1b46c015 clang::FrontendAction::Execute() (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2c6c015)
[build] #61 0x000073cf1b3dc8a4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2bdc8a4)
[build] #62 0x000073cf1b4e87be clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2ce87be)
[build] #63 0x00005a4d00d26ee3 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang++-19+0x11ee3)
[build] #64 0x00005a4d00d23f05 (/usr/bin/clang++-19+0xef05)
[build] #65 0x000073cf1b0776f9 (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x28776f9)
[build] #66 0x000073cf119e76a8 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xde76a8)
[build] #67 0x000073cf1b07706d clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optionalllvm::StringRef>, std::__cxx11::basic_string<char, std::char_traits, std::allocator>, bool) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x287706d)
[build] #68 0x000073cf1b03cde5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x283cde5)
[build] #69 0x000073cf1b03d04e clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x283d04e)
[build] #70 0x000073cf1b05a03c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x285a03c)
[build] #71 0x00005a4d00d23951 clang_main(int, char**, llvm::ToolContext const&) (/usr/bin/clang++-19+0xe951)
[build] #72 0x00005a4d00d31366 main (/usr/bin/clang++-19+0x1c366)
[build] #73 0x000073cf10429d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
[build] #74 0x000073cf10429e40 call_init ./csu/../csu/libc-start.c:128:20
[build] #75 0x000073cf10429e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
[build] #76 0x00005a4d00d21b95 _start (/usr/bin/clang++-19+0xcb95)
[build] clang++-19: error: clang frontend command failed with exit code 135 (use -v to see invocation)
[build] Ubuntu clang version 19.0.0 (++20240707042244+f4c781174b4b-1exp120240707042401.1790)
[build] Target: x86_64-pc-linux-gnu
[build] Thread model: posix
[build] InstalledDir: /usr/lib/llvm-19/bin
[build] clang++-19: note: diagnostic msg:
[build] ********************
[build]
[build] PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
[build] Preprocessed source(s) and associated run script(s) are located at:
[build] clang++-19: note: diagnostic msg: /tmp/to_chars-550c83.cpp
[build] clang++-19: note: diagnostic msg: /tmp/to_chars-550c83.sh
[build] clang++-19: note: diagnostic msg: file:///tmp/to_chars-550c83.cpp

to_chars-550c83.tar.gz

@EugeneZelenko EugeneZelenko added clang:modules C++20 modules and Clang Header Modules crash Prefer [crash-on-valid] or [crash-on-invalid] and removed new issue labels Jan 10, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 10, 2025

@llvm/issue-subscribers-clang-modules

Author: Anarthal (Rubén Pérez) (anarthal)

build] PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. [build] Stack dump: [build] 0. Program arguments: /usr/bin/clang++-19 -DBOOST_CHARCONV_NO_LIB -DBOOST_CHARCONV_SOURCE -DBOOST_CHARCONV_STATIC_LINK -DBOOST_USE_MODULES -I/home/ruben/workspace/boost-with-modules/libs/charconv/include -I/home/ruben/workspace/boost-with-modules/libs/config/include -I/home/ruben/workspace/boost-with-modules/libs/assert/include -I/home/ruben/workspace/boost-with-modules/libs/core/include -I/home/ruben/workspace/boost-with-modules/libs/static_assert/include -I/home/ruben/workspace/boost-with-modules/libs/throw_exception/include -ftemplate-backtrace-limit=0 -stdlib=libc++ -g -std=c++23 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-include-angled-in-module-purview -MD -MT libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o -MF libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o.d @libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o.modmap -o libs/charconv/CMakeFiles/boost_charconv.dir/src/to_chars.cpp.o -c /home/ruben/workspace/boost-with-modules/libs/charconv/src/to_chars.cpp [build] 1. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2024:26: current parser token 'fill_remaining_digits_with_0s' [build] 2. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:1: parsing namespace 'boost' [build] 3. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:19: parsing namespace 'boost::charconv' [build] 4. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:49:40: parsing namespace 'boost::charconv::detail' [build] 5. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1330:1: parsing function body 'boost::charconv::detail::floff' [build] 6. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1330:1: in compound statement ('{}') [build] 7. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:1491:5: in compound statement ('{}') [build] 8. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2014:9: in compound statement ('{}') [build] 9. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2016:13: in compound statement ('{}') [build] 10. /home/ruben/workspace/boost-with-modules/libs/charconv/include/boost/charconv/detail/dragonbox/floff.hpp:2023:17: in compound statement ('{}') [build] #0 0x000073cf11a99f16 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xe99f16) [build] #1 0x000073cf11a97af0 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xe97af0) [build] #2 0x000073cf119e7910 (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xde7910) [build] #3 0x000073cf10442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520) [build] #4 0x000073cf1b22e50e (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2a2e50e) [build] #5 0x000073cf1b22e036 clang::ASTReader::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2a2e036) [build] #6 0x000073cf196e1a03 clang::DeclContext::lookup(clang::DeclarationName) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xee1a03) [build] #7 0x000073cf1a242da9 (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a42da9) [build] #8 0x000073cf1a23f6dd clang::Sema::CppLookupName(clang::LookupResult&, clang::Scope*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a3f6dd) [build] #9 0x000073cf1a242943 clang::Sema::LookupName(clang::LookupResult&, clang::Scope*, bool, bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a42943) [build] #10 0x000073cf1a24537c clang::Sema::LookupSingleName(clang::Scope*, clang::DeclarationName, clang::SourceLocation, clang::Sema::LookupNameKind, RedeclarationKind) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a4537c) [build] #11 0x000073cf1a247fc7 clang::Sema::LookupOrCreateLabel(clang::IdentifierInfo*, clang::SourceLocation, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x1a47fc7) [build] #12 0x000073cf194d50a8 clang::Parser::ParseGotoStatement() (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd50a8) [build] #13 0x000073cf194d026f clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd026f) [build] #14 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #15 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450) [build] #16 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292) [build] #17 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #18 0x000073cf194d2040 clang::Parser::ParseIfStatement(clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd2040) [build] #19 0x000073cf194cf86e clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xccf86e) [build] #20 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #21 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450) [build] #22 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292) [build] #23 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #24 0x000073cf194d2040 clang::Parser::ParseIfStatement(clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd2040) [build] #25 0x000073cf194cf86e clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xccf86e) [build] #26 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #27 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450) [build] #28 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292) [build] #29 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #30 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450) [build] #31 0x000073cf194d0292 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd0292) [build] #32 0x000073cf194ce8e7 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcce8e7) [build] #33 0x000073cf194d7450 clang::Parser::ParseCompoundStatementBody(bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd7450) [build] #34 0x000073cf194d8582 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcd8582) [build] #35 0x000073cf194f2710 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf2710) [build] #36 0x000073cf1943673a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc3673a) [build] #37 0x000073cf194e0302 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xce0302) [build] #38 0x000073cf194df378 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcdf378) [build] #39 0x000073cf194ded01 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcded01) [build] #40 0x000073cf19434129 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc34129) [build] #41 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f) [build] #42 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b) [build] #43 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d) [build] #44 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe) [build] #45 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f) [build] #46 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b) [build] #47 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d) [build] #48 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe) [build] #49 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f) [build] #50 0x000073cf1945296b clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5296b) [build] #51 0x000073cf1945237d clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc5237d) [build] #52 0x000073cf194342fe clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc342fe) [build] #53 0x000073cf194efb9f clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcefb9f) [build] #54 0x000073cf19452ea9 clang::Parser::ParseLinkage(clang::ParsingDeclSpec&, clang::DeclaratorContext) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc52ea9) [build] #55 0x000073cf194f16de clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf16de) [build] #56 0x000073cf194f10bb clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf10bb) [build] #57 0x000073cf194f02c7 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcf02c7) [build] #58 0x000073cf194ee757 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xcee757) [build] #59 0x000073cf1941ec8e clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0xc1ec8e) [build] #60 0x000073cf1b46c015 clang::FrontendAction::Execute() (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2c6c015) [build] #61 0x000073cf1b3dc8a4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2bdc8a4) [build] #62 0x000073cf1b4e87be clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x2ce87be) [build] #63 0x00005a4d00d26ee3 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang++-19+0x11ee3) [build] #64 0x00005a4d00d23f05 (/usr/bin/clang++-19+0xef05) [build] #65 0x000073cf1b0776f9 (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x28776f9) [build] #66 0x000073cf119e76a8 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/lib/llvm-19/bin/../lib/libLLVM.so.19.0+0xde76a8) [build] #67 0x000073cf1b07706d clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x287706d) [build] #68 0x000073cf1b03cde5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x283cde5) [build] #69 0x000073cf1b03d04e clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x283d04e) [build] #70 0x000073cf1b05a03c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/usr/lib/llvm-19/bin/../lib/libclang-cpp.so.19.0+0x285a03c) [build] #71 0x00005a4d00d23951 clang_main(int, char**, llvm::ToolContext const&) (/usr/bin/clang++-19+0xe951) [build] #72 0x00005a4d00d31366 main (/usr/bin/clang++-19+0x1c366) [build] #73 0x000073cf10429d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 [build] #74 0x000073cf10429e40 call_init ./csu/../csu/libc-start.c:128:20 [build] #75 0x000073cf10429e40 __libc_start_main ./csu/../csu/libc-start.c:379:5 [build] #76 0x00005a4d00d21b95 _start (/usr/bin/clang++-19+0xcb95) [build] clang++-19: error: clang frontend command failed with exit code 135 (use -v to see invocation) [build] Ubuntu clang version 19.0.0 (++20240707042244+f4c781174b4b-1~exp1~20240707042401.1790) [build] Target: x86_64-pc-linux-gnu [build] Thread model: posix [build] InstalledDir: /usr/lib/llvm-19/bin [build] clang++-19: note: diagnostic msg: [build] ******************** [build] [build] PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: [build] Preprocessed source(s) and associated run script(s) are located at: [build] clang++-19: note: diagnostic msg: /tmp/to_chars-550c83.cpp [build] clang++-19: note: diagnostic msg: /tmp/to_chars-550c83.sh [build] clang++-19: note: diagnostic msg: file:///tmp/to_chars-550c83.cpp

to_chars-550c83.tar.gz

@ChuanqiXu9 ChuanqiXu9 self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:modules C++20 modules and Clang Header Modules crash Prefer [crash-on-valid] or [crash-on-invalid]
Projects
None yet
Development

No branches or pull requests

4 participants