]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/data_race/dealloc_write_race1.stderr
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / tools / miri / tests / fail / data_race / dealloc_write_race1.stderr
1 error: Undefined Behavior: Data race detected between Deallocate on thread `<unnamed>` and Write on thread `<unnamed>` at ALLOC
2   --> $DIR/dealloc_write_race1.rs:LL:CC
3    |
4 LL | /             __rust_dealloc(
5 LL | |
6 LL | |                 ptr.0 as *mut _,
7 LL | |                 std::mem::size_of::<usize>(),
8 LL | |                 std::mem::align_of::<usize>(),
9 LL | |             );
10    | |_____________^ Data race detected between Deallocate on thread `<unnamed>` and Write on thread `<unnamed>` at ALLOC
11    |
12    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
13    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
14    = note: BACKTRACE:
15    = note: inside closure at $DIR/dealloc_write_race1.rs:LL:CC
16
17 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
18
19 error: aborting due to previous error
20