Repository: rust
Issue: rustc --version segmentation fault
Labels: I-crash,O-x86_64,T-compiler,C-bug,O-x86_32

After installing rust with `$ curl -sSf https://static.rust-lang.org/rustup.sh | sh` (following info found at [https://github.com/rust-lang-nursery/rustup.rs/issues/695](https://github.com/rust-lang-nursery/rustup.rs/issues/695)), a segmentation fault occurs when running rustc.

I tried the following code and received notification of the the fault instead of the version string:
```
$ rustc --version
Segmentation fault
```
When running the command via strace, the version string displays:
```
$ strace -o /dev/null rustc --version
rustc 1.27.2 (58cc626de 2018-07-18)
```
Info about the system:
```
$ strace -o /dev/null rustc --version --verbose
rustc 1.27.2 (58cc626de 2018-07-18)
binary: rustc
commit-hash: 58cc626de3301192d5d8c6dcbde43b5b44211ae2
commit-date: 2018-07-18
host: i686-unknown-linux-gnu
release: 1.27.2
LLVM version: 6.0

$ cat /etc/*-release
Fedora release 20 (Heisenbug)
NAME=Fedora
VERSION="20 (Heisenbug)"
ID=fedora
VERSION_ID=20
PRETTY_NAME="Fedora 20 (Heisenbug)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:20"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=20
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=20
Fedora release 20 (Heisenbug)
Fedora release 20 (Heisenbug)

$ uname --all
Linux s7netserver 3.12.5-301.fc20.i686+PAE #1 SMP Mon Dec 16 18:42:48 EST 2013 i686 i686 i386 GNU/Linux

$ lscpu
Architecture:          i686
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 55
Model name:            Intel(R) Celeron(R) CPU  N2807  @ 1.58GHz
Stepping:              8
CPU MHz:               498.000
CPU max MHz:           1578.0000
CPU min MHz:           498.0000
BogoMIPS:              3166.39
Virtualization:        VT-x
L1d cache:             24K
L1i cache:             32K
L2 cache:              1024K
```

Backtrace:
```
$ RUST_BACKTRACE=1 rustc --version
Segmentation fault
```

gdb:
```
$ gdb -quiet --args rustc --version
Reading symbols from rustc...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/rustc --version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) bt
No stack.
(gdb) list
1	/* Data for i386 version of processor capability information.
2	   Copyright (C) 2001-2013 Free Software Foundation, Inc.
3	   This file is part of the GNU C Library.
4	   Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
5	
6	   The GNU C Library is free software; you can redistribute it and/or
7	   modify it under the terms of the GNU Lesser General Public
8	   License as published by the Free Software Foundation; either
9	   version 2.1 of the License, or (at your option) any later version.
10	
(gdb)
```
The gdb 'edit' command leads to this being displayed:

> "/usr/src/debug/glibc-2.18/sysdeps/i386/dl-procinfo.c" 82L, 2484C

Post made by me on the Rust forum in relation to this issue:
[https://users.rust-lang.org/t/rustc-version-segmentation-fault/19100/5?u=zis](https://users.rust-lang.org/t/rustc-version-segmentation-fault/19100/5?u=zis)