alibaba / alibaba/coobjc

调用函数 void coroutine_resume_im(coroutine_t *co) 时,没有保证 coroutine_t 的状态为 Ready 或 Suspend

Open
#84 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
4k
Forks
519
PR merge metrics
No merged PRs in 30d

Description

堆栈
![image](https://user-images.githubusercontent.com/10847925/58527500-7885e900-8205-11e9-9558-c43f97509fe0.png)

推测崩溃的代码行:coroutine.m:237

Contributor guide

Open the contributing guide

Research direction

Inspect coroutine.m around line 237 and trace the coroutine_t state before coroutine_resume_im is called. Reproduce the reported crash if possible; done requires establishing how the Ready or Suspend state guarantee should be handled and verifying the reported failure no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.