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
swoole-1.8.5-alpha, websocket使用task有问题 #653
Comments
|
使用 git pull更新到最新代码也是一样有这些问题. 使用 commit 0227513 |
1.8.4也有问题,官方的demo都跑不了。 |
本地无法重现此问题,你git pull 后执行make clean了吗? |
抱歉,本地用的是PHP7,在php5.6下 test1.php 和 test2.php 都是正常的. |
使用1.8.5-beta php5.6 websocket多协议还是会挂掉 *** Error in `php': free(): invalid size: 0x00007efcc07108c0 *** core: #0 0x00007efd184e6cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 |
是否可以稳定重现,如果可以请发给一下demo程序。 |
本地跑比较正常.无法稳定重现. 生产环境随着用户量的增多,从每天挂两三次到现在几十次. 有的时候也会无限报错 |
暂时无法确定是哪里出错,稍后会尝试进行修复。请加我的QQ以方便沟通。 12811247 |
|
不使用task正常,使用了task 后 websocket的message不能正常处理.
test1.php
websocket连接时报错:
PHP Warning: Invalid callback , no array or string given in /Swoole/swoole_chat/test1.php on line 32
Warning: Invalid callback , no array or string given in /Swoole/swoole_chat/test1.php on line 32
PHP Warning: swoole_http_server::start(): onOpen handler error in /Swoole/swoole_chat/test1.php on line 32
Warning: swoole_http_server::start(): onOpen handler error in /Swoole/swoole_chat/test1.php on line 32
[2016-05-04 11:12:24 $25283.0] WARNING swManager_check_exit_status: worker#0 abnormal exit, status=0, signal=11
test2.php
websocket连接时报错:
server: handshake success with fd1
[2016-05-04 11:17:39 $25413.0] WARNING swManager_check_exit_status: worker#0 abnormal exit, status=0, signal=11
The text was updated successfully, but these errors were encountered: