fix accidental save (and restore) of sigmask when interpreting try#59878
fix accidental save (and restore) of sigmask when interpreting try#59878DilumAluthge merged 2 commits intomasterfrom
Conversation
Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.
|
Note that this is a confusing one, since the officially published source code that Apple claims is being run does not have this bug (apple-oss-distributions/libplatform@main...rel/libplatform-349), but is also very clearly not the code that is actually present in libsystem_platform.dylib via disassembly, which is mostly similar but has more pointer authentication code. That code is APSL licensed, so Apple can do whatever they want there, just confusing to have them seemingly intentionally misrepresent which code is being used. And it just happens to be in our favor, performance-wise, to disable executing the buggy function. |
…59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry. Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit c1353ac)
…59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry. Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit c1353ac)
|
Hey folks, just saw this issue after experiencing ericphanson/LicenseCheck.jl#11 (comment) on Julia 1.10.10 -- Will this be backported to 1.10 as well? Thank you! |
…uliaLang#59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.
… when interpreting try (#59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.
…uliaLang#59878) (#258) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.
…59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry. Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit c1353ac)
|
This doesn't backport cleanly to 1.10. @vtjnash Can you do a manual backport? |
|
git praise says you can't because it already is done |
…uliaLang#59878) Noticed during bug hunting of ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry. Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit c1353ac)
Noticed during bug hunting of
ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.