You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fuzzing.md
+35-8
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,43 @@ project, please read this guide before reporting fuzzer-generated bugs!
22
22
- Include all of the information requested in the bug report template
23
23
- Search for existing reports with the same message and query stack
24
24
- Format the test case with `rustfmt`, if it maintains the bug
25
+
- Indicate that the bug was found by fuzzing
25
26
26
27
*Please don't:*
27
28
28
29
- Report lots of bugs that use internal features, including but not limited to
29
-
`custom_mir`, `lang_items`, `no_std`, and `rustc_attrs`.
30
+
`custom_mir`, `lang_items`, `no_core`, and `rustc_attrs`.
30
31
- Seed your fuzzer with inputs that are known to crash rustc (details below).
31
32
32
33
### Discussion
33
34
34
35
If you're not sure whether or not an ICE is a duplicate of one that's already
35
36
been reported, please go ahead and report it and link to issues you think might
36
37
be related. In general, ICEs on the same line but with different *query stacks*
37
-
are usually distinct bugs.
38
+
are usually distinct bugs. For example, [#109020][#109202] and [#109129][#109129]
39
+
had similar error messages:
40
+
41
+
```
42
+
error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:195:90: Failed to normalize <[closure@src/main.rs:36:25: 36:28] as std::ops::FnOnce<(Emplacable<()>,)>>::Output, maybe try to call `try_normalize_erasing_regions` instead
43
+
```
44
+
```
45
+
error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:195:90: Failed to normalize <() as Project>::Assoc, maybe try to call `try_normalize_erasing_regions` instead
46
+
```
47
+
but different query stacks:
48
+
```
49
+
query stack during panic:
50
+
#0 [fn_abi_of_instance] computing call ABI of `<[closure@src/main.rs:36:25: 36:28] as core::ops::function::FnOnce<(Emplacable<()>,)>>::call_once - shim(vtable)`
51
+
end of query stack
52
+
```
53
+
```
54
+
query stack during panic:
55
+
#0 [check_mod_attrs] checking attributes in top-level module
56
+
#1 [analysis] running analysis passes on this crate
0 commit comments