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
[SR-12169] Using objc_runtime_name
causes Swift 5.2 binary segmentation fault
#54594
Comments
Also submitted as FB7571694. |
Hey folks, is it realistic to expect this to be fixed before Xcode 11.4 GM? How hard is it for a beginner to look into it? Thanks! |
@swift-ci create |
Here's a fix: https://github.com/apple/swift/pull/30250/files |
@jckarter thank you Joe! |
Hey folks, it seems like the fix hasn't made it into 5.2, has it? Is there a chance that it lands in a 5.2 patch release? |
Sorry, the 5.2 branch wasn't taking changes by the time I could get the fix in. |
As a workaround, you can try avoiding use of |
@jckarter I see, thanks for the update! |
Environment
swiftc -version
xcodebuild -version
Additional Detail from JIRA
md5: edadb668b27a79468187db2779386dee
is duplicated by:
Issue Description:
test.h:
test.m
test.swift
Compiled and run with
clang test.m -c swiftc test.o test.swift -o test -import-objc-header test.h ./test
produces segmentation fault.
Works properly without `objc_runtime_name` attribute.
The text was updated successfully, but these errors were encountered: