Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 17, 2025

Noticed during bug hunting of
ericphanson/LicenseCheck.jl#11 (comment) and may cause performance degradation for interpreter-executed try blocks or scope entry.

Noticed during bug hunting of
ericphanson/LicenseCheck.jl#11 (comment)
and may cause performance degradation for interpreter-executed try
blocks or scope entry.
@giordano giordano added system:mac Affects only macOS backport 1.11 Change should be backported to release-1.11 backport 1.12 Change should be backported to release-1.12 labels Oct 17, 2025
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Oct 18, 2025
@vtjnash
Copy link
Member Author

vtjnash commented Oct 18, 2025

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.

@DilumAluthge DilumAluthge merged commit c1353ac into master Oct 19, 2025
7 checks passed
@DilumAluthge DilumAluthge deleted the jn/interp-setjmp-mask branch October 19, 2025 00:55
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Oct 19, 2025
KristofferC pushed a commit that referenced this pull request Oct 21, 2025
…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 <[email protected]>
(cherry picked from commit c1353ac)
KristofferC pushed a commit that referenced this pull request Oct 21, 2025
…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 <[email protected]>
(cherry picked from commit c1353ac)
@KristofferC KristofferC mentioned this pull request Oct 21, 2025
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.11 Change should be backported to release-1.11 backport 1.12 Change should be backported to release-1.12 system:mac Affects only macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants