10000 WARNING Worker::report_error(): worker(pid=747729, id=6) abnormal exit, status=0, signal=11 · Issue #5753 · swoole/swoole-src · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WARNING Worker::report_error(): worker(pid=747729, id=6) abnormal exit, status=0, signal=11 #5753

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

Closed A851
pz9042 opened this issue May 8, 2025 · 1 comment

Comments

@pz9042
Copy link
pz9042 commented May 8, 2025
[2025-05-08 19:10:22 $747717.0] WARNING Worker::report_error(): worker(pid=747729, id=6) abnormal exit, status=0, signal=11
A bug occurred in Swoole-v6.0.0, 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.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64
GCC_VERSION: 11.4.0
OPENSSL_VERSION: OpenSSL 3.0.2 15 Mar 2022
PHP_VERSION : 8.3.12

public function onMessage( $server, $frame ): void{
        echo date( 'H:i:s' ).' 收到消息: '.$frame ->data.PHP_EOL;
        /** @var \Swoole\Table $swooleServerFdTable */
        $swooleServerFdTable = $this ->container ->get( 'swooleServerFdTable' );
        var_dump( $swooleServerFdTable->stats() );
        return;
}

只要打印$swooleServerFdTable->stats() 就会报这个错

@pz9042 pz9042 closed this as completed May 8, 2025
@NathanFreeman
Copy link
Member

使用valgrind检查一下问题所在
https://wiki.swoole.com/zh-cn/#/other/issue?id=%e5%86%85%e5%ad%98%e5%88%86%e6%9e%90-%e5%bc%ba%e7%83%88%e6%8e%a8%e8%8d%90

或者用var_dump打印一下$swooleServerFdTable是否为null

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
0