Skip to content

CoreCLR profiler check exists of native thread leading runtime crash? #115511

Answered by janvorli
AlexeiNaabal asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, you are right, the way it happens you don't have any control over it and my change from 2 years ago has actually caused this issue.

It seems that while I've added the GCX_COOP into the body after ensuring that the runtime has registered the thread, I've forgotten to remove the GCX_COOP_THREAD_EXISTS(GET_THREAD()); from the header of the ProfileEnter.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@huoyaoyuan
Comment options

@AlexeiNaabal
Comment options

Comment options

You must be logged in to vote
5 replies
@AlexeiNaabal
Comment options

@janvorli
Comment options

Answer selected by AlexeiNaabal
@janvorli
Comment options

@AlexeiNaabal
Comment options

@janvorli
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants