Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tmijieux
Copy link
Contributor

@tmijieux tmijieux commented Dec 27, 2021

Fixes #21369
Related to dotnet/android#6546

job_major_mod_union_preclean can race with the tarjan bridge
implementation that changes the vtable pointer by settings the three
lower bits. this results in invalid loading of the vtable
(shifted by 7 bytes) which in turn give a wrong desc to the scan
functions

This change is released under the MIT license.

…od_union_preclean

fixes mono#21369

job_major_mod_union_preclean can race with the tarjan bridge
implementation that changes the vtable pointer by settings the three
lower bits. this results in invalid loading of the vtable
(shifted by 7 bytes)  which in turn give a wrong desc to the scan
functions

This change is released under the MIT license.
@BrzVlad
Copy link
Member

BrzVlad commented Dec 30, 2021

@tmijieux Many thanks for the fix.

We should have this backported everywhere.

@directhex
Copy link
Contributor

/azp run mono-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@directhex
Copy link
Contributor

@monojenkins build

@lambdageek
Copy link
Member

/backport to 2020-02

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2022

Started backporting to 2020-02: https://github.com/mono/mono/actions/runs/1650198102

@lambdageek
Copy link
Member

/azp run sync-mono-to-runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek lambdageek merged commit 16b53fa into mono:main Jan 3, 2022
jonpryor pushed a commit to dotnet/android that referenced this pull request Jan 5, 2022
Fixes: #6546

Context: mono/mono#21384

Changes: mono/mono@b8d7525...a5d1934

  * mono/mono@a5d1934898b: transform sgen_get_descriptor to parallel safe version in job_major_mod_union_preclean (#21391)
jonpryor pushed a commit to dotnet/android that referenced this pull request Jan 5, 2022
Fixes: #6546

Context: mono/mono#21384

Changes: mono/mono@b8d7525...a5d1934

  * mono/mono@a5d1934898b: transform sgen_get_descriptor to parallel safe version in job_major_mod_union_preclean (#21391)
ThomasKuehne pushed a commit to ThomasKuehne/mono that referenced this pull request Mar 23, 2024
…od_union_preclean (mono#21384)

fixes mono#21369
Related to dotnet/android#6546

job_major_mod_union_preclean can race with the tarjan bridge
implementation that changes the vtable pointer by settings the three
lower bits. this results in invalid loading of the vtable
(shifted by 7 bytes)  which in turn give a wrong desc to the scan
functions

This change is released under the MIT license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sgen aborting because of theorically unreachable code

4 participants