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-1427] Segmentation fault: 11 when compiling PromiseKit while emitting SIL function #44036
Comments
Can you note which revision of PromiseKit you're using, so that we can reproduce this? |
Comment by Sergey Galezdinov (JIRA) latest 2.2.2 release, through cocoapods. Specifying this in Podfile: pod 'PromiseKit', :subspecs => ['Foundation'] |
Comment by Sergey Galezdinov (JIRA) Sorry, 3.1.1 release |
Comment by Marcus Wu (JIRA) I am also experiencing a segmentation fault with the 3.1.1 release. It compiles successfully in Debug, but fails during Archive. I get the following stack trace:
|
Comment by Martin Redington (JIRA) I'm seeing an identical crash to the initial reporter, compiling against PromiseKit 3.0 with Release, but not Debug configuration |
I reproduced with 7.3.1. I'll see if I can narrow it down a bit. |
Roman thinks this is fixed on ToT. |
Comment by Eliezer Talón (JIRA) I can reproduce this issue as well when building with optimisations enabled for Debug (e.g. |
Comment by Ben Wood (JIRA) I can also reproduce this issue, I am using version 3.2.0 of PromiseKit, Does anybody have a workaround? |
Comment by John Stricker (JIRA) Ben.Wood (JIRA User) there's some work arounds discussed at promise kit 's github. If you aren't using promise kit with notifications then you can remove the NSNotification category (this is what I did and it solved the problem for our project). Here's a link to the Promise kit's github issue and the specific workaround I mentioned |
Is this bug obsolete? |
Comment by Nathan Hosselton (JIRA) @slavapestov It is no longer applicable for PromiseKit since we worked around it. So I can't speak to whether the underlying bug was fixed. I can try to resurface if it would be helpful. |
Environment
Xcode 7.3.1 (7D1014)
Additional Detail from JIRA
md5: 1bc43f2dbdc9347e0ffcfd4e8c61c163
Issue Description:
Compiler crashes when archiving a project that uses PromiseKit. Debug schemes compiles with no errors.
Failing module: NSNotificationCenter+Promise.swift
The text was updated successfully, but these errors were encountered: