[lldb-dev] suspect bug: lldb segfault when redirecting `--version` output

Alexander Samoilov alexander.samoilov at googlemail.com
Sun Jun 14 23:18:51 PDT 2015


Hi All,

Stumbled upon the following behavior:

```sh
$ /usr/bin/lldb --version
lldb version 3.6.0 ( revision )
```
ok, but
```
/usr/bin/lldb --version  >& LLDB.VERS
Segmentation fault (core dumped)
```
Suspect a bug, debugged it a bit, failed in `wcscmp ()`
More details are here:
https://github.com/rust-lang/rust/issues/26297

Thanks!
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150615/594d8431/attachment.html>


More information about the lldb-dev mailing list