Skip to content

[SR-16096] Set filter crashes on iOS 15.3 (5.5) when compiled against iOS 15.4 (5.6) #3170

Open
@swift-ci

Description

@swift-ci
Contributor
Previous ID SR-16096
Radar None
Original Reporter racer1988 (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler, Foundation, swift
Labels Bug, 5.0Regression, CompilerCrash, OptimizedOnly, RunTimeCrash, Runtime
Assignee None
Priority Medium

md5: 767dafbdc16229adfc2b6eb7f9357f2a

Issue Description:

Compiling Code like:

{{let newOnClient: Set<Hashable> = filteredClientObjects.filter }}{ (syncObject) -> Bool in return syncObject.syncIdentifier == nil && syncObject.status != .deleted }

with Swift 5.6 and executing it on 5.5 Crashes at runtime.
Note: it does not crash while debugging, only on Release optimized builds

No details on the crash content:

Thread 22 Crashed:
0 — ? 0x0 ?

CC matthiaskmt (JIRA User)

Activity

swift-ci

swift-ci commented on Apr 5, 2022

@swift-ci
ContributorAuthor

Comment by Matthias Friese (JIRA)

Attached the beginning of the crash report

glessard

glessard commented on Apr 5, 2022

@glessard
Contributor

@swift-ci create

glessard

glessard commented on Apr 5, 2022

@glessard
Contributor

This is probably a duplicate of SR-16008.

transferred this issue fromswiftlang/swifton May 5, 2022
parkera

parkera commented on Jul 5, 2024

@parkera
Contributor

This probably shouldn't have been transferred out of the swift repository. Please re-open there if this is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @glessard@parkera@swift-ci

        Issue actions

          [SR-16096] Set `filter` crashes on iOS 15.3 (5.5) when compiled against iOS 15.4 (5.6) · Issue #3170 · swiftlang/swift-corelibs-foundation