|
| 1 | +--- |
| 2 | +name: I am experiencing a panic on WSL |
| 3 | +about: Report a panic when using Rustup on WSL |
| 4 | +labels: bug |
| 5 | +--- |
| 6 | + |
| 7 | +<!-- Please read the following very carefully and decide if you |
| 8 | +actually need to file this bug... |
| 9 | +
|
| 10 | +WSL, specifically WSL 1, has a limitation where glibc 2.31 and |
| 11 | +newer will panic, fundamentally the panic will look something |
| 12 | +like the following: |
| 13 | +
|
| 14 | +thread 'main' panicked at 'assertion failed: `(left == right)` |
| 15 | + left: `22`, |
| 16 | + right: `4`', src/libstd/sys/unix/thread.rs:166:21 |
| 17 | +
|
| 18 | +This is a bug, but it's a bug in WSL, not in Rust/Rustup and will |
| 19 | +affect other programs built with Rust too. Working around it |
| 20 | +with Rustup will not help you until WSL (or glibc) is fixed. |
| 21 | +
|
| 22 | +This is known to affect: |
| 23 | +
|
| 24 | +* Ubuntu 20.04 |
| 25 | +* Arch Linux |
| 26 | +
|
| 27 | +But it may affect other versions of Linux on WSL1. |
| 28 | +
|
| 29 | +You can find more information on the WSL bug report here: |
| 30 | +
|
| 31 | +https://github.com/microsoft/WSL/issues/4898 |
| 32 | +` |
| 33 | +If you're CERTAIN that you're not reporting yet another duplicate |
| 34 | +of the above issue, then... |
| 35 | +
|
| 36 | +Thanks for filing a 🐛 bug report 😄! --> |
| 37 | + |
| 38 | +**Problem** |
| 39 | +<!-- A clear and concise description of what the bug is. --> |
| 40 | +<!-- including what currently happens and what you expected to happen. --> |
| 41 | + |
| 42 | +**Steps** |
| 43 | +<!-- The steps to reproduce the bug. --> |
| 44 | +1. |
| 45 | +2. |
| 46 | +3. |
| 47 | + |
| 48 | +**Possible Solution(s)** |
| 49 | +<!-- Not obligatory, but suggest a fix/reason for the bug, --> |
| 50 | +<!-- or ideas how to implement the addition or change --> |
| 51 | + |
| 52 | +**Notes** |
| 53 | + |
| 54 | +Output of `rustup --version`: |
| 55 | +Output of `rustup show`: |
0 commit comments