Skip to content

createdump crash report can have multiple threads indicated as crashed #60932

Closed
@kdubau

Description

@kdubau

Description

It appears like a faulted task with an unobserved exception can cause the threadpool thread to be marked "crashed" in future crash reports. Or said differently, if the process crashes while a faulted task has not yet had it's exception observed, both the actual crashing thread and the threadpool thread that ran the faulted task, will be marked "crashed" in the crash report json.

Reproduction Steps

Run a task on a background thread that throws, but never observe the exception. Then crash the process on the main thread.

Expected behavior

Only the crashing thread is marked crashed.

Actual behavior

Multiple threads are marked as the crashing thread in the crash report.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions