-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assert failure in sgen-mono.c while running System.Drawing tests #44165
Comments
Tagging subscribers to this area: @CoffeeFlux |
Tagging subscribers to this area: @BrzVlad |
@BrzVlad can you take a look? If it doesn't seem like a GC issue feel free to bounce it back. |
|
Tagging subscribers to this area: @CoffeeFlux |
bah we should change
to
so that we get a better assert message. So there are two things happening here: we decided to skip the thread from a stop-the-world suspend for some reason, and the thread has a non-empty handle stack. On Windows one reason we might skip a thread is if If that's what's happening, it's not surprising that the thread had a non-empty handle stack. it could have been doing any arbitrary work when we tried to preempt it. I think this is another piece of evidence that we need to be able to back out of the whole STW and start over. (Similar to the pthread_kill transient failures - #32377 (comment)). Skipping the thread just invites the GC to miss roots. /cc @lateralusX |
Moving to 7.0.0 |
Moving to 8.0.0 and assigning to @lateralusX |
Closing this issue for a couple of different reasons:
|
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-44136-merge-c86262a09b5b4ea99f/System.Drawing.Common.Tests/console.5aca01fc.log?sv=2019-07-07&se=2020-11-22T19%3A39%3A42Z&sr=c&sp=rl&sig=D2w6NnhCPSVf5cfFCGA%2BU%2By6nJ5llAgjBphBA5DUxMk%3D
The text was updated successfully, but these errors were encountered: