Skip to content
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-11567] EXC_BAD_ACCESS (code=EXC_I386_GPFLT) #53972

Open
swift-ci opened this issue Oct 3, 2019 · 4 comments
Open

[SR-11567] EXC_BAD_ACCESS (code=EXC_I386_GPFLT) #53972

swift-ci opened this issue Oct 3, 2019 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software regression run-time crash Bug → crash: Swift code crashed during execution swift 5.1

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Oct 3, 2019

Previous ID SR-11567
Radar rdar://problem/55987388
Original Reporter Mani (JIRA User)
Type Bug

Attachment: Download

Environment
  • Xcode 11.2 beta 1

  • macOS Mojave 10.14.6 (18G103)

Previously tested with Xcode 11.1 GM and it works with no issue.

Additional Detail from JIRA
Votes 5
Component/s Compiler
Labels Bug, 5.1Regression, RunTimeCrash
Assignee None
Priority Medium

md5: 66c05266f1d02158a39e692753f30d92

Issue Description:

This is currently reproducible with using PromiseKit `after` helper method which causes a crash because of "EXC_BAD_ACCESS (code=EXC_I386_GPFLT)"

  • Using latest stable PromiseKit (6.11.0) through SwiftPM

  • This started happening in Xcode 11.2 beta 1

  • You can reproduce it by calling after(seconds: TimeInterval) anywhere in the code, example:

after(seconds: 2).done {
    print("yay")
}
  • The exception is happening in [Guarantee.swift] EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

Attached project can be used to reproduce this. I use Console for reproducing this, but it doesn't happen in a console app:

after(seconds: 2).done {
    print("Yaaay, no crahs!")
}
RunLoop.main.run()
@belkadan
Copy link
Contributor

belkadan commented Oct 4, 2019

@swift-ci create

@swift-ci
Copy link
Collaborator Author

Comment by Loïs Di Qual (JIRA)

Can confirm that this crash still occurs on Xcode 11.2 beta 2.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Nov 1, 2019

Comment by Eric (JIRA)

I believe this is the same SPM bug as SR-11564

@swift-ci
Copy link
Collaborator Author

swift-ci commented Jan 8, 2020

Comment by Mani Ramezan (JIRA)

This issue is resolved in Xcode 11.3

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software regression run-time crash Bug → crash: Swift code crashed during execution swift 5.1
Projects
None yet
Development

No branches or pull requests

3 participants