Issue 75644
Summary segfault for clang-format -n
Labels clang-format
Assignees
Reporter vadyaov
    Running 	 % clang-format -n algorithms/*

algorithms directory consists of cpp2lib dir, 1 .h and 1 .cc file.

Is a directory
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 -n algorithms/cpp2lib algorithms/s21_graph_algorithms.cc algorithms/s21_graph_algorithms.h algorithms/s21_graph_algorithms.o
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):
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x31)[0x7ff2e963fd01]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0xee)[0x7ff2e963da3e]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(+0xe40236)[0x7ff2e9640236]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7ff2e8042520]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZNK4llvm9SourceMgr10GetMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEE+0xcf)[0x7ff2e95d04ef]
clang-format[0x40e067]
clang-format[0x40b2f0]
clang-format[0x409335]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7ff2e8029d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7ff2e8029e40]
clang-format[0x406475]
zsh: segmentation fault (core dumped)  clang-format -n algorithms/*

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to