easyswoole
easyswoole copied to clipboard
重启渲染引擎有异常报错
`<?php namespace App\HttpController;
use EasySwoole\Http\AbstractInterface\Controller; use EasySwoole\Template\Render;
class Index extends Controller {
function index()
{
$this->response()->write(Render::getInstance()->render('index.tpl',[
'user'=>'easyswoole',
'time'=>time()
]));
}
function reload(){
Render::getInstance()->restartWorker();
$this->response()->write(1);
}
}` 访问index/reload 报以下异常 [2020-06-06 16:27:01 $4478.0] WARNING swManager_check_exit_status: worker#7[pid=4490] abnormal exit, status=0, signal=11 A bug occurred in Swoole-v4.4.16, 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.
[2020-06-06 16:27:01][debug][error]:[Argument 1 passed to EasySwoole\Http\Response::write() must be of the type string, null given, called in /www/wwwroot/cxy.qcq.cc/App/HttpController/Index/Base.php on line 201 at file:/www/wwwroot/cxy.qcq.cc/vendor/easyswoole/http/src/Response.php line:76] [2020-06-06 16:27:01 $4478.0] WARNING swManager_check_exit_status: worker#6[pid=4489] abnormal exit, status=0, signal=11 A bug occurred in Swoole-v4.4.16, 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.
[2020-06-06 16:27:01 @6330.0] WARNING swSignalfd_setup: signalfd has been created [2020-06-06 16:27:01 @6331.0] WARNING swSignalfd_setup: signalfd has been created
解决了吗这个问题
您的邮件我已经收到!
解决了吗这个问题
https://github.com/easy-swoole/easyswoole/issues/342#issuecomment-988526423
您的邮件我已经收到!