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-2766] Segmentation fault on optional multiplication #45370

Closed
swift-ci opened this issue Sep 27, 2016 · 2 comments
Closed

[SR-2766] Segmentation fault on optional multiplication #45370

swift-ci opened this issue Sep 27, 2016 · 2 comments
Assignees
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 type checker Area → compiler: Semantic analysis

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-2766
Radar None
Original Reporter op (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CompilerCrash, TypeChecker
Assignee @rudkx
Priority Medium

md5: 1d6e9b7506e298c81321a6199b5a1eb6

duplicates:

  • SR-1512 Assertion failure: "Already marked as a fixed binding" when implementing index(_:offsetBy:limit:)

Issue Description:

Something along these lines will crash the compiler. Same in Playground.

import UIKit
let image = UIImage()
let bytes = image.cgImage?.height ?? 0 * image.cgImage?.bytesPerRow ?? 0

I'm at Xcode 8.

@belkadan
Copy link
Contributor

Infinite loop in ConstraintSystem::simplifyRestrictedConstraint.

@rudkx
Copy link
Member

rudkx commented Sep 27, 2016

Debug build asserts: Assertion failed: (!adjacency.FixedBinding && "Already marked as a fixed binding?"), function addFixedBinding

We've seen several reports of this, but it's not clear that they are actually dups without more investigation, so I'll keep this open and take a look.

@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 type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

4 participants