Skip to content

Crash: withCheckedThrowingContinuation fatal in reown-swift (possible double-resume or missing resume) #222

@victronlink

Description

@victronlink

We are encountering a runtime crash inside Swift Concurrency when using reown-swift.
The crash occurs in $ss31withCheckedThrowingContinuation... and appears to be caused by an invalid continuation lifecycle (likely double-resume or resume-after-cancel).

  • Client: [Swift]
  • Version [1.8.0]

Crashed: com.apple.root.user-initiated-qos.cooperative
0 reown_swift 0x780fc
$ss31withCheckedThrowingContinuation9isolation8function_xScA_pSgYi_
SSyScCyxs5Error_pGXEtYaKlFTwbSb_Tg5 + 100
1 libswift_Concurrency.dylib
swift::runJobInEstablishedExecutorContext(swift::Job*)
2 libswift_Concurrency.dylib
swift_job_runImpl(swift::Job*, swift::SerialExecutorRef)
3 libdispatch.dylib
_dispatch_root_queue_drain
4 libdispatch.dylib
_dispatch_worker_thread2
5 libsystem_pthread.dylib
_pthread_wqthread
6 libsystem_pthread.dylib
start_wqthread

  • Device: [iPhone14]
  • OS: [iOS18]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions