<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/85752>85752</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang-format terminated by signal 11
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          igoodful
      </td>
    </tr>
</table>

<pre>
    [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::ArrayRef<clang::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::ArrayRef<clang::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::ArrayRef<clang::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::ArrayRef<clang::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

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsWM2O2zYXfRp6Q9igqP-FF54fIwEm-AYzwVe0G4Mir2Q2FOmSlBPn6QtK8sy4qWu1TZqgjTcSqaN7zz26JA_MnJONBlii9AqlNzPW-a2xS9kYI-pOzSojDuGZNcajhAjYY0TX_Si9QTTGtdQCLxBdtwf3i5o7sHuw84LEdF4b2zI_9-A8oms816wFjChFdLXgHFGK5_ABOOaK6WZE47nEKL9C-Q1G6TWKrxC5QWR1f3e7erzFrqta6THDVddgCztjPfYGb73fORSvEF0jum6k33bVgpsW0bVS--NlvrPmZ-CBi3SuAxdIMS2w1Fx1ArDfAuaWuS2uGH_nLeOwGNI_esbfYdG1u5ClnyILRMp7axrLWsxs07WgfSDxSTlTxNmprpEa0TXrhPQb3Sl1Mgh6_YYJfi_91nQeu0NbGYWDug4jWoB2nQV8MB3esj3gvvYBJD-CxVKHZxbfr96-wsZiB74vHfReWqNDHXjPLEYZubv7_5vN449vrv539_qn24dNeAVlJGi-M1L34kuPaPksC8ZKVuG9eZQvnMH9j3wghJC8BpKwWOSp4D2r8Fa8cgc33NxbqX1f4NugPaLFM8iy9xvjvAXWIpoheo2lDokxolc4I0PyaELyNCqS30v-0OlH2WimXjEtFFiHaPEUvxji0ynxeZkO6LhH7_zWAhMLZxbkFJ0meZRwOnJPevTQO3y3C_gof4kmdQVQj-j0EjouaVbFdGjGocKh44b7H7bSg9sxDm-YZg3YYZop2eiVtezwWksvWd8wQYlO99uEGFS_xqfjQaU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