Skip to content

Conversation

@VSadov
Copy link
Member

@VSadov VSadov commented Sep 8, 2022

Fixes:#75005

We are using uninitialized endTime when Wait with a timeout waits on a conditional variable on OSX.
This can result in unpredictable behavior. On NativeAOT it results in BGC starting without a signal and asserting/crashing.

@ghost ghost added the area-GC-coreclr label Sep 8, 2022
@ghost ghost assigned VSadov Sep 8, 2022
@ghost
Copy link

ghost commented Sep 8, 2022

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes:#75005

We are using uninitialized endTime when waiting on a conditional variable on OSX.
This can result in unpredictable behavior. On NativeAOT it results in BGC starting without a signal and asserting/crashing.

Author: VSadov
Assignees: -
Labels:

area-GC-coreclr

Milestone: -

@VSadov VSadov requested review from janvorli and jkotas September 8, 2022 19:24
@VSadov
Copy link
Member Author

VSadov commented Sep 8, 2022

I think this will need to be ported to 7.0

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Maoni0
Copy link
Member

Maoni0 commented Sep 8, 2022

agreed. please backport. thanks @VSadov!

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@VSadov
Copy link
Member Author

VSadov commented Sep 9, 2022

Thanks!!

@VSadov
Copy link
Member Author

VSadov commented Sep 9, 2022

/backport to release/7.0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2022

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3019221522

@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants