alibaba / coobjc

coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
https://github.com/alibaba/coobjc
Apache License 2.0
4.03k stars 525 forks source link

【崩溃】调用co_launch{ } 必现crash #117

Closed baoshanzhang closed 1 year ago

baoshanzhang commented 1 year ago

Context and Description

Environment Details

swift 调用co_launch{ } 必定crash

image

hosten1 commented 1 year ago

同样的问题,不过官方应该是放弃维护了

NianJi commented 1 year ago

这个是依赖的 fishhook 挂了,可以试试自行拷贝最新的fishhook替换一下, 或者干脆注释fishhook 的调用,这里只是在 debug 的时候生效,用于调试时查看堆栈的。 或者用 master 分支试试,记得之前修复过。