-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Race condition in task killing #1923
Copy link
Copy link
Closed
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Milestone
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Type
Fields
Give feedbackNo fields configured for issues without a type.
If you run this enough times it will eventually fail: (EDIT by bblum: update to new closure syntax & new failure propagation semantics)
The race is between the two tasks, one that wants to unblock the third by killing it, the other by sending a message.