llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

clang-format terminated by signal 11

Open igoodful opened this issue 1 year ago • 4 comments

[root@dev /root]# find ./mysql-server-8032-format-test/ -name ".cc" -exec clang-format -i {} ; PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-format -i ./mysql-server-8032-format-test/plugin/audit_null/audit_null.cc 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-17.so 0x00007fe04a3d75dc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 60 1 libLLVM-17.so 0x00007fe04a3d5184 llvm::sys::RunSignalHandlers() + 68 2 libLLVM-17.so 0x00007fe04a3d5c95 3 libpthread.so.0 0x00007fe054714c20 4 libclang-cpp.so.17 0x00007fe050fbeef0 5 libclang-cpp.so.17 0x00007fe053926b32 clang::format::WhitespaceManager::alignArrayInitializers(unsigned int, unsigned int) + 114 6 libclang-cpp.so.17 0x00007fe053926c66 clang::format::WhitespaceManager::alignArrayInitializers() + 198 7 libclang-cpp.so.17 0x00007fe05392ba74 clang::format::WhitespaceManager::generateReplacements() + 324 8 libclang-cpp.so.17 0x00007fe0538a9475 9 libclang-cpp.so.17 0x00007fe0538e628e clang::format::TokenAnalyzer::process(bool) + 2718 10 libclang-cpp.so.17 0x00007fe05389f0f7 11 libclang-cpp.so.17 0x00007fe05389f15b 12 libclang-cpp.so.17 0x00007fe0538ab6a1 clang::format::internal::reformat(clang::format::FormatStyle const&, llvm::StringRef, llvm::ArrayRefclang::tooling::Range, unsigned int, unsigned int, unsigned int, llvm::StringRef, clang::format::FormattingAttemptStatus) + 2289 13 libclang-cpp.so.17 0x00007fe0538accaa clang::format::reformat(clang::format::FormatStyle const&, llvm::StringRef, llvm::ArrayRefclang::tooling::Range, llvm::StringRef, clang::format::FormattingAttemptStatus*) + 58 14 clang-format 0x000055cb75f7c618 15 clang-format 0x000055cb75f75fe8 16 libc.so.6 0x00007fe048c97493 __libc_start_main + 243 17 clang-format 0x000055cb75f7649e find: ‘clang-format’ terminated by signal 11 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-format -i ./mysql-server-8032-format-test/router/src/harness/tests/test_vt100.cc 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-17.so 0x00007efd0eb6d5dc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 60 1 libLLVM-17.so 0x00007efd0eb6b184 llvm::sys::RunSignalHandlers() + 68 2 libLLVM-17.so 0x00007efd0eb6bc95 3 libpthread.so.0 0x00007efd18eaac20 4 libclang-cpp.so.17 0x00007efd15754ef0 5 libclang-cpp.so.17 0x00007efd180bcb32 clang::format::WhitespaceManager::alignArrayInitializers(unsigned int, unsigned int) + 114 6 libclang-cpp.so.17 0x00007efd180bcc66 clang::format::WhitespaceManager::alignArrayInitializers() + 198 7 libclang-cpp.so.17 0x00007efd180c1a74 clang::format::WhitespaceManager::generateReplacements() + 324 8 libclang-cpp.so.17 0x00007efd1803f475 9 libclang-cpp.so.17 0x00007efd1807c28e clang::format::TokenAnalyzer::process(bool) + 2718 10 libclang-cpp.so.17 0x00007efd180350f7 11 libclang-cpp.so.17 0x00007efd1803515b 12 libclang-cpp.so.17 0x00007efd180416a1 clang::format::internal::reformat(clang::format::FormatStyle const&, llvm::StringRef, llvm::ArrayRefclang::tooling::Range, unsigned int, unsigned int, unsigned int, llvm::StringRef, clang::format::FormattingAttemptStatus*) + 2289 13 libclang-cpp.so.17 0x00007efd18042caa clang::format::reformat(clang::format::FormatStyle const&, llvm::StringRef, llvm::ArrayRefclang::tooling::Range, llvm::StringRef, clang::format::FormattingAttemptStatus*) + 58 14 clang-format 0x0000557ecd624618 15 clang-format 0x0000557ecd61dfe8 16 libc.so.6 0x00007efd0d42d493 __libc_start_main + 243 17 clang-format 0x0000557ecd61e49e find: ‘clang-format’ terminated by signal 11

igoodful avatar Mar 19 '24 08:03 igoodful