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-1201] All generic class crash on iOS 7 #43809

Closed
swift-ci opened this issue Apr 10, 2016 · 2 comments
Closed

[SR-1201] All generic class crash on iOS 7 #43809

swift-ci opened this issue Apr 10, 2016 · 2 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 run-time crash Bug → crash: Swift code crashed during execution

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1201
Radar None
Original Reporter kuzmisin (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment

iOS 7
Xcode Version 7.3 (7D175)
Deployment Target: 7.0
Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)

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

md5: 388ca35717c4d270f21263ed8d839e33

duplicates:

  • SR-1096 swift2.2 generics property crash

relates to:

  • SR-815 Generic classes with default property initializers bug

Issue Description:

all generic classes crashing on iOS7 (iOS 9 works OK), 100% reproducible, simple test code:

class SomeClass<T> {

    var generic: String?
}

let test = SomeClass<String>() // EXC_BAD_ACCESS
@belkadan
Copy link
Contributor

cc @gparker42, @jckarter

@gparker42
Copy link
Mannequin

gparker42 mannequin commented Apr 11, 2016

Duplicate of https://bugs.swift.org/browse/SR-1096 .

@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
This issue was closed.
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 run-time crash Bug → crash: Swift code crashed during execution
Projects
None yet
Development

No branches or pull requests

3 participants