|
| 1 | +name: I am experiencing a panic on WSL |
| 2 | +description: Report a panic when using Rustup on WSL |
| 3 | +labels: [bug] |
| 4 | +body: |
| 5 | + - type: markdown |
| 6 | + attributes: |
| 7 | + value: > |
| 8 | + Please read the following very carefully and decide if you |
| 9 | + actually need to file this bug... |
| 10 | +
|
| 11 | + WSL, specifically WSL 1, has a limitation where glibc 2.31 and |
| 12 | + newer will panic, fundamentally the panic will look something |
| 13 | + like the following: |
| 14 | +
|
| 15 | + thread 'main' panicked at 'assertion failed: `(left == right)` |
| 16 | + left: `22`, |
| 17 | + right: `4`', src/libstd/sys/unix/thread.rs:166:21 |
| 18 | +
|
| 19 | + This is a bug, but it's a bug in WSL, not in Rust/Rustup and will |
| 20 | + affect other programs built with Rust too. Working around it |
| 21 | + with Rustup will not help you until WSL (or glibc) is fixed. |
| 22 | +
|
| 23 | + This is known to affect: |
| 24 | +
|
| 25 | + * Ubuntu 20.04 |
| 26 | + * Arch Linux |
| 27 | +
|
| 28 | + But it may affect other versions of Linux on WSL1. |
| 29 | +
|
| 30 | + You can find more information on the WSL bug report |
| 31 | + [here](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 | + - type: textarea |
| 39 | + id: problem |
| 40 | + attributes: |
| 41 | + label: Problem |
| 42 | + description: > |
| 43 | + A clear and concise description of what the bug is, |
| 44 | + including what currently happens and what you expected to happen. |
| 45 | + validations: |
| 46 | + required: true |
| 47 | + |
| 48 | + - type: textarea |
| 49 | + id: steps |
| 50 | + attributes: |
| 51 | + label: Steps |
| 52 | + description: The steps to reproduce the bug. |
| 53 | + placeholder: | |
| 54 | + 1. |
| 55 | + 2. |
| 56 | + 3. |
| 57 | + validations: |
| 58 | + required: true |
| 59 | + |
| 60 | + - type: textarea |
| 61 | + id: solutions |
| 62 | + attributes: |
| 63 | + label: Possible Solution(s) |
| 64 | + description: > |
| 65 | + Not obligatory, but suggest a fix/reason for the bug, |
| 66 | + or ideas how to implement the addition or change. |
| 67 | +
|
| 68 | + - type: textarea |
| 69 | + id: notes |
| 70 | + attributes: |
| 71 | + label: Notes |
| 72 | + |
| 73 | + - type: textarea |
| 74 | + id: version |
| 75 | + attributes: |
| 76 | + label: Rustup version |
| 77 | + description: Output of `rustup --version` |
| 78 | + render: console |
| 79 | + validations: |
| 80 | + required: true |
| 81 | + |
| 82 | + - type: textarea |
| 83 | + id: toolchains |
| 84 | + attributes: |
| 85 | + label: Installed toolchains |
| 86 | + description: Output of `rustup show` |
| 87 | + render: console |
| 88 | + validations: |
| 89 | + required: true |
0 commit comments