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-12146] Swiift 5.2 bad access _allocateUninitializedArray #54581
Comments
Comment by Ben A (JIRA) This worked in Xcode 11.3. It crashes in Xcode 11.4b1 |
@swift-ci create |
benasher44 (JIRA User) Thank you for reporting this. To help us figure out what’s going on, could you share either a copy of your project, or a crash report file from Console.app, with us? If you’re worried about posting this information in a public bug tracker, you can file it through Apple’s Feedback Assistant instead—information filed there is kept confidential. |
Comment by Ben A (JIRA) Filed with the binary (private to our app) framework and a repro script I used to run a small sample that links the binary framework at FB7572162 |
Comment by Ben A (JIRA) confirmed this still happens in Xcode 11.4b2 |
Comment by Ben A (JIRA) brentdax (JIRA User) just wanted to check in. Is this still being looked at? Was the info provided in the feedback assistant enough to debug? Thanks |
Comment by Ben A (JIRA) Confirmed still crashing in Xcode 11.4b3 |
Comment by Ben A (JIRA) brentdax (JIRA User) this still happens in Xcode 11.4 GM. Will there be a follow up release to fix this? Our app now crashes on launch. |
This looks like SR-12169. As a workaround, could you avoid using `objc_runtime_name`? |
Attachment: Download
Environment
macOS 10.15.2
Xcode 11.4b1
swift --version:
Additional Detail from JIRA
md5: a6aafd7c9efbacc8213569639a7793de
duplicates:
objc_runtime_name
causes Swift 5.2 binary segmentation faultIssue Description:
I have a crash with this trace when we launch our iOS app:
The crashing code looks something like this (runs in a non-main global GCD queue):
It crashes creating the dictionary.
ObjCLib is a binary Obj-C framework.
I've been trying all day to come up with a small reproducer, but everything I've tried works fine (i.e. doesn't reproduce the crash) 🙁
The text was updated successfully, but these errors were encountered: