Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING Server::check_worker_exit_status(): worker(pid=8162, id=13) abnormal exit, status=0, signal=11 #5388

Open
jasonccs opened this issue Jun 29, 2024 · 2 comments

Comments

@jasonccs
Copy link

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error.

[DEBUG] Event Hyperf\Process\Event\BeforeProcessHandle handled by Hyperf\Process\Listener\LogBeforeProcessStartListener listener.
[DEBUG] Event Hyperf\Process\Event\BeforeProcessHandle handled by Hyperf\Server\Listener\InitProcessTitleListener listener.
[2024-06-29 22:42:51 $7647.0] WARNING Server::check_worker_exit_status(): worker(pid=8162, id=13) abnormal exit, status=0, signal=11
A bug occurred in Swoole-v5.1.3, please report it.
The Swoole developers probably don't know about it,
and unless you report it, chances are it won't be fixed.
You can read How to report a bug doc before submitting any bug reports:

https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md
Please do not send bug reports in the mailing list or personal letters.
The issue page is also suitable to submit feature requests.

OS: Linux 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64
GCC_VERSION: 10.3.1 20211027
PHP_VERSION : 8.3.8

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of Swoole are you using (show your php --ri swoole)?
    swoole

Swoole => enabled
Author => Swoole Team [email protected]
Version => 5.1.3
Built => Jun 29 2024 19:22:14
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
http2 => enabled
json => enabled
pcre => enabled
zlib => 1.2.12
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?
    OS: Linux 5.15.90.1-microsoft-standard-WSL2 编译出错 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64
    GCC_VERSION: 10.3.1 20211027
    PHP_VERSION : 8.3.8
@jasonccs
Copy link
Author

image
Hyperf 启动 一直反复打印这个

@NathanFreeman
Copy link
Member

NathanFreeman commented Jul 1, 2024

请检查一下是否有xdebug这个扩展,是的话先屏蔽掉,虽然swoole5可以兼容xdebug,但是xdebug中的某个配置会触发swoole进程不断重启,除非找到是具体哪个xdebug配置引起的问题。

举个例子,xdebug会检查迭代操作,例如foreach,如果程序运行超过xdebug配置允许的次数,它就会抛出致命错误导致进程退出。

而且谜之操作就是xdebug引发的错误信息还不会输出到终端中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants