Skip to content

Assert on process shutdown while tracing C implementation of EventPipe #46159

@josalem

Description

@josalem

A checked build of the C implementation of EventPipe triggers an assert during process shutdown if the app has a tracing session open.

Assert failure(PID 21410 [0x000053a2], Thread: 23643989 [0x168c755]): thread->session_state [i] == 0
    File: /Users/josalem/git/alts/runtime/src/native/eventpipe/ep-thread.c Line: 64
    Image: /Users/josalem/git/EventPipeLab/scalability/corescaletest/c-checked/corescaletest

This is a valid scenario that works under the C++ implementation.

Belongs to #46079

CC - @lateralusX

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions