-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Labels
compiler-rt:tysanType sanitizerType sanitizercrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Description
Stack dump:
0. Program arguments: /usr/bin/clang++-20 -DCHECK_INTERNAL -DFILESDIR=\"/mnt/s/GitHub/cppcheck-fw\" -DHAVE_RULES -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -I/mnt/s/GitHub/cppcheck-fw/cmake-build-debug-wsl-ubuntu-2004-clang-20-libcxx/lib -I/mnt/s/GitHub/cppcheck-fw/lib -I/mnt/s/GitHub/cppcheck-fw/externals -I/mnt/s/GitHub/cppcheck-fw/externals/tinyxml2 -I/mnt/s/GitHub/cppcheck-fw/externals/picojson -I/mnt/s/GitHub/cppcheck-fw/externals/simplecpp -g -Weverything -pedantic -gdwarf-4 -stdlib=libc++ -Wno-documentation-unknown-command -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-implicit-float-conversion -Wno-switch-enum -Wno-date-time -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-sign-compare -Wno-unsafe-buffer-usage -Wno-global-constructors -Wno-exit-time-destructors -Wno-padded -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-switch-default -Wno-four-char-constants -Wno-weak-vtables -Wno-multichar -U_GLIBCXX_DEBUG -fsanitize=type -std=c++11 -Xclang -include-pch -Xclang /mnt/s/GitHub/cppcheck-fw/cmake-build-debug-wsl-ubuntu-2004-clang-20-libcxx/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx.pch -o CMakeFiles/cppcheck-core.dir/vf_analyzers.cpp.o -c /mnt/s/GitHub/cppcheck-fw/lib/vf_analyzers.cpp
1. <eof> parser at end of file
2. Optimizer
3. Running pass "tysan" on module "/mnt/s/GitHub/cppcheck-fw/lib/vf_analyzers.cpp"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 libLLVM.so.20.0 0x00007f6b63feba96 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 54
1 libLLVM.so.20.0 0x00007f6b63fe9740 llvm::sys::RunSignalHandlers() + 80
2 libLLVM.so.20.0 0x00007f6b63feaef4 llvm::sys::CleanupOnSignal(unsigned long) + 244
3 libLLVM.so.20.0 0x00007f6b63f35370
4 libpthread.so.0 0x00007f6b6f76c420
5 libLLVM.so.20.0 0x00007f6b6419a070 llvm::Value::getContext() const + 0
6 libLLVM.so.20.0 0x00007f6b64e3f14e
7 libLLVM.so.20.0 0x00007f6b64e3db04 llvm::TypeSanitizerPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 6116
8 libclang-cpp.so.20.0 0x00007f6b6d4e3dbd
9 libLLVM.so.20.0 0x00007f6b64175327 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 487
10 libclang-cpp.so.20.0 0x00007f6b6d4dbcac
11 libclang-cpp.so.20.0 0x00007f6b6d4d4b93 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) + 6739
12 libclang-cpp.so.20.0 0x00007f6b6d8a54a4 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 2052
13 libclang-cpp.so.20.0 0x00007f6b6c4325c9 clang::ParseAST(clang::Sema&, bool, bool) + 633
14 libclang-cpp.so.20.0 0x00007f6b6e3152d5 clang::FrontendAction::Execute() + 85
15 libclang-cpp.so.20.0 0x00007f6b6e28fa14 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 980
16 libclang-cpp.so.20.0 0x00007f6b6e39761e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 702
17 clang++-20 0x00007f6b6f7dcacf cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 5903
18 clang++-20 0x00007f6b6f7d9b35
19 libclang-cpp.so.20.0 0x00007f6b6df2dac9
20 libLLVM.so.20.0 0x00007f6b63f35108 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 136
21 libclang-cpp.so.20.0 0x00007f6b6df2d5dd clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const + 365
22 libclang-cpp.so.20.0 0x00007f6b6def7566 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const + 486
23 libclang-cpp.so.20.0 0x00007f6b6def771e clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const + 142
24 libclang-cpp.so.20.0 0x00007f6b6df1198d clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) + 365
25 clang++-20 0x00007f6b6f7d960f clang_main(int, char**, llvm::ToolContext const&) + 6223
26 clang++-20 0x00007f6b6f7e5c86 main + 102
27 libc.so.6 0x00007f6b62b04083 __libc_start_main + 243
28 clang++-20 0x00007f6b6f7d7a6e _start + 46
clang++-20: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Ubuntu clang version 20.0.0 (++20250109052615+f8f8598fd886-1~exp1~20250109172636.1278)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-20/bin
clang++-20: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++-20: note: diagnostic msg: /tmp/vf_analyzers-14db56.cpp
clang++-20: note: diagnostic msg: /tmp/vf_analyzers-14db56.sh
clang++-20: note: diagnostic msg:
********************
IIRC this was still working fine a few days ago. I assume this might have been caused by 2a16328.
I am using the apt.llvm.org packages on WSL1 ubuntu 20.04 on Windows 10.
Metadata
Metadata
Assignees
Labels
compiler-rt:tysanType sanitizerType sanitizercrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]