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

    <tr>
        <th>Summary</th>
        <td>
            clangd crash
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          Du-Guang-rong
      </td>
    </tr>
</table>

<pre>
    clangd version 19.1.1 (CentOS 19.1.1-5.el10)
Features: linux
Platform: x86_64-unknown-linux-gnu; target=x86_64-redhat-linux-gnu


PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
 #0 0x00007f24b8438f4a llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM.so.19.1+0x638f4a)
 #1 0x00007f24b84363f6 llvm::sys::RunSignalHandlers() (/lib64/libLLVM.so.19.1+0x6363f6)
 #2 0x00007f24b843970b (/lib64/libLLVM.so.19.1+0x63970b)
 #3 0x00007f24bea69ac0 __restore_rt (/lib64/libc.so.6+0x40ac0)
 #4 0x00007f24b83c7ee1 llvm::StringMapImpl::LookupBucketFor(llvm::StringRef, unsigned int) (/lib64/libLLVM.so.19.1+0x5c7ee1)
 #5 0x0000561159bb11f6 (/usr/bin/clangd+0x5c21f6)
 #6 0x0000561159bafc84 (/usr/bin/clangd+0x5c0c84)
 #7 0x000056115a20a78f (/usr/bin/clangd+0xc1b78f)
 #8 0x0000561159939837 (/usr/bin/clangd+0x34a837)
 #9 0x00005611599d20f8 (/usr/bin/clangd+0x3e30f8)
#10 0x00005611599d1b6a (/usr/bin/clangd+0x3e2b6a)
#11 0x00005611599cd763 (/usr/bin/clangd+0x3de763)
#12 0x00005611599cb83f (/usr/bin/clangd+0x3dc83f)
#13 0x0000561159b45002 (/usr/bin/clangd+0x556002)
#14 0x00007f24beabd9e9 start_thread (/lib64/libc.so.6+0x949e9)
#15 0x00007f24beb2d4bc __GI___clone3 (/lib64/libc.so.6+0x1044bc)
Signalled during AST worker action: Build AST
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyc1d1vm0gQAPC_Zv2ysrVfLPDAg9PWvUqpLqqre0X7MWDOeLH2I0n_-xPgCjt3iqOTIhHB-DejWYZRIXStA6hQ9oCyzyuV4mHw1ee0_pqUa9d-cO1KD_ZXZXrlWoufwYducJiWG7qhGLHiE7j45_5yY51toKcEsRKR7Q5UTB4C4lvcdy69IrJ96lVsBn8a770WspZindzRDS9uPYWsW5cQf8BR-RYi4p8vQR7sQcWrGLKd_54ev2z3X3BI-tRFrLBOLfZwHnzEccCHGM9jfsR2iO3aLh6S3pjhhNiu759_X9ZnP_wNJiK260JIEBDbYeUs7pzpkwUcD4CNV-GAtTLH6JWBDSJbjBgnmLwSQkjeMKELwYtGKDzZfIv4NvwK8z9PvnNxH5U5_hx_jlixBHn1Ug8helAnxCRin3DnImLl2N6xxE5LMV8fH__6vgnDZuw2Yg_kVU4J536P5dA35UjeyP8q50dy-651qv9DOduDD1Oqj2UczSUje5OxzIn-EDMGLgy_ZkDJUhmC69pDiIOH2sd_m2YE5aQJogxZMHFTEzc5AL3qwj76zrXf1fnb6dzPtx6H4ZjOD8kcIe4Gf3M8c_gPaMaTSW6aGPvxI8qm9Etx2aW4TFKalVpT2sgLk4JHbKc7h9huHriLwOh1y-WtoBpTiHsCMYVYhPxaUIyovGjeFwzVedEsQnFTQ8nLgufvC1yogueLUN4KlpGmuCMAJ00xC-O7Tt4IVEt1T2BaqkWgt4KxueR3BAu55IvA3gi64Hc6ya0peLMI_PY0RUYIu3OamSSELYK4nR1tSyhxiMrHOh48KPvu7JSihHLBshtMMyu0wXX99Vtd16YfHPB3NUqE0Gbm5i9MDxbbNI4Q3u5_4pfBH8FjZWI3uHENPKSut-Ojla24LXmpVlDRnLPxtWJkdaigAU4EV7JQZVM0xAgjC10SkTFBFKhVVzHCBKVMkoxnjGykyBTllkjLiiY3gASBk-r6zTjVm8G3q-lDX1Gay5yseqWhD9MSZMzBC56eIsbGneiraUfo1AYkSN-FGBYmdrGH38txWhGr5Pvq_--dS0XPFfsnAAD__1pjLV0">