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-TbHMq8iqO4yzZ5jxJWBYLLnLOZByJSDQsScqNkaUyrggS7GreqWeYIGiSJ_vN7zPQBWecs4h-Ysa2oSiTOk7qhqVCZljWQcwU3pgmJJywt8eNLSZIbFmHh9Tg7nooHTWNUhNhZOi1N6qYoj-1rYNnuij_67JF75bpv5mIFhPLfwEQimSl>52958</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lldb errors when std::terminate() is called
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
TestingPlant
</td>
</tr>
</table>
<pre>
I'm using the following code:
```cpp
#include <exception>
int main() {
std::terminate();
}
```
When running it through lldb, I get the following:
```
$ clang++ a.cpp
$ lldb ./a.out
(lldb) target create "./a.out"
Current executable set to '/tmp/a.out' (x86_64).
(lldb) r
Process 20396 launched: '/tmp/a.out' (x86_64)
terminate called without an active exception
error: libstdc++.so.6 {0x0003f174}: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x2183) attribute, but range extraction failed (invalid range list offset 0x2183), please file a bug and attach the file at the start of this error message
error: libstdc++.so.6 {0x0002efbb}: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x13cf) attribute, but range extraction failed (invalid range list offset 0x13cf), please file a bug and attach the file at the start of this error message
Process 20396 stopped
* thread #1, name = 'a.out', stop reason = signal SIGABRT
frame #0: 0x00007ffff7a94d22 libc.so.6`raise + 322
libc.so.6`raise:
-> 0x7ffff7a94d22 <+322>: movq 0x108(%rsp), %rax
0x7ffff7a94d2a <+330>: subq %fs:0x28, %rax
0x7ffff7a94d33 <+339>: jne 0x7ffff7a94d54 ; <+372>
0x7ffff7a94d35 <+341>: movl %r8d, %eax
```
I'm using llvm 13.0.0-6, lldb 13.0.0-2, and clang 13.0.0-4 from Arch Linux.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVduO2zgM_RrnhRhDkXzLgx8yk04xwC626A7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