Skip to content

Crash: value tried to resume its continuation more than once #2563

Closed
@ifabijanovic

Description

@ifabijanovic

Short description of the issue:

Seeing a new crash after updating to RxSwift 6.6.0

Expected outcome:

Does not crash

What actually happens:

After updating to RxSwift 6.6.0 started seeing crashes with this message:

`_Concurrency/CheckedContinuation.swift:167: Fatal error: SWIFT TASK CONTINUATION MISUSE: value tried to resume its continuation more than once, returning <some_value>!`

We downgraded to 6.5.0 and the crash went away.

Self contained code example that reproduces the issue:

I do not have a code sample, the crash stack trace just shows RxSwift code, it is unclear where in the App code is it originating from.

RxSwift/RxCocoa/RxBlocking/RxTest version/commit

Crashes in RxSwift 6.6.0, does not in 6.5.0

Platform/Environment

  • iOS
  • macOS
  • tvOS
  • watchOS
  • playgrounds

How easy is to reproduce? (chances of successful reproduce after running the self contained code)

  • easy, 100% repro
  • sometimes, 10%-100%
  • hard, 2% - 10%
  • extremely hard, %0 - 2%

Xcode version:

  15.0.0

⚠️ Fields below are optional for general issues or in case those questions aren't related to your issue, but filling them out will increase the chances of getting your issue resolved. ⚠️

Installation method:

  • CocoaPods
  • Carthage
  • Git submodules
  • SPM

I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)

  • yes (which ones)
  • no

Level of RxSwift knowledge:
(this is so we can understand your level of knowledge
and formulate the response in an appropriate manner)

  • just starting
  • I have a small code base
  • I have a significant code base

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