Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

[NSFetchedResultsController] ASTableView crash in ASDeleteElementsInMultidimensionalArrayAtIndexPaths #1493

Closed
@ankorko

Description

@ankorko

On the initial load of an ASTableView I am sometimes getting a crash in ASDeleteElementsInMultidimensionalArrayAtIndexPaths. In the update block [arr removeObjectsAtIndexes:indexSet]; the array is empty but the indexSet is not. I think this is happening when the ASTableView is still loading but the NSFetchedResultsControllerDelegate tries to make an update.

Is there something I am doing wrong?

I do not have a way of reproducing other than starting up the app many times. I am attaching a full stack trace. I will also try to reproduce in a demo project.

bt_all.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions