Skip to content

-[NSNull _removeFromSupernodeIfEqualTo:]: unrecognized selector sent to instance #2059

Open
@JohnEstropia

Description

@JohnEstropia

I've started seeing this in the wild from an app built with Xcode 13.3:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull _removeFromSupernodeIfEqualTo:]: unrecognized selector sent to instance 0x1db948558'

The crash happens on this line in ASLayoutTransition.mm, which seems to suggest that _removedSubnodes is being passed an NSArray with instances of NSNull in it.

I couldn't reproduce it in debug builds so It may be an optimization issue.

Edit: Confirmed that issue doesn't happen on Xcode 13.2 builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions