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-15734] Mysterious crash on Windows #58011

Closed
swift-ci opened this issue Jan 15, 2022 · 4 comments
Closed

[SR-15734] Mysterious crash on Windows #58011

swift-ci opened this issue Jan 15, 2022 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-15734
Radar None
Original Reporter SDGGiesbrecht (JIRA User)
Type Bug
Environment

Swift 5.5.1, Windows

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: cccc9c64ff31d4f200fc35d3a085a312

Issue Description:

The following code crashes at runtime (only on Windows), but I am unable to narrow it down any further:

import XCTest
protocol UmbrellaProtocol: Hashable {}
extension UmbrellaProtocol {
  func exercise() {
    var hasher = Hasher()
    hash(into: &hasher)
  }
}
extension Int: UmbrellaProtocol {}
class DebuggingTests: XCTestCase {
  func testInt() {
    0.exercise()
  }
}

Aside from exit code 1, there is no indication of what goes wrong. It just gets to “Test Case 'DebuggingTests.testInt' started” and then abruptly dies.

@swift-ci
Copy link
Collaborator Author

Comment by Jeremy David Giesbrecht (JIRA)

@compnerd, have you encountered this?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@SDGGiesbrecht
Copy link

I am not sure if the issue is completely gone in 5.6, but several specific instances of it no longer seem to be a problem.

@SDGGiesbrecht
Copy link

I am no longer able to reproduce this in any way. This issue can be closed.

@compnerd
Copy link
Collaborator

Closing this as indicated by the last comment.

@compnerd compnerd closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 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.
Projects
None yet
Development

No branches or pull requests

3 participants