Skip to content

SqOperation Sync Crash #450

Description

@siddharthsenpaypay

The deadline timer and retry timer are two independent GCD timers running on a background dispatch queue, both holding a reference to the same SqOperation instance. When the app is backgrounded mid-flight (background fetch, silent push), iOS freezes all GCD timers. On resume, both timers fire simultaneously — one calls run() while the other tears down the operation. This is a use-after-free race condition.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions