friendsofhyperf / components

🚀 The most popular components for Hyperf.
MIT License
77 stars 18 forks source link

fix(bugs): all coroutines are asleep - deadlock! #715

Open littlezo opened 1 week ago

littlezo commented 1 week ago

=================================================================== [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!

===================================================================

[Coroutine-1]

0 /xx/vendor/hyperf/engine/src/Channel.php(41): Swoole\Coroutine\Channel->pop()

1 /xx/vendor/friendsofhyperf/sentry/src/HttpClient/HttpClient.php(83): Hyperf\Engine\Channel->pop()

2 [internal function]: FriendsOfHyperf\Sentry\HttpClient\HttpClient->FriendsOfHyperf\Sentry\HttpClient{closure}()

huangdijia commented 1 week ago

可以给一下复现代码吗?

littlezo commented 1 week ago

可以给一下复现代码吗?

配合 hyperf/watcher 组件 重载时 触发死锁

littlezo commented 1 week ago

可以给一下复现代码吗?

hyperf/watcher aop ast 出现未捕获异常,触发异常上报,异常触发前 worker 并未就绪也就产生了这个错误

littlezo commented 1 week ago

可以给一下复现代码吗?

https://github.com/hyperf/hyperf/pull/7084

huangdijia commented 1 week ago

我看看