-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
php7.2.5 Swoole\Coroutine\Redis 连接阻塞,连接失败 #1599
Comments
没有复现, 建议按照这个贴一下 https://wiki.swoole.com/wiki/page/10.html |
PHP: GCC: os: bt: 十分感谢 |
我用GDB跟到异常退出的地方,swoole_redis_coro.c:1308 |
我用swoole的异步redis客户端也连不上。 swoole async redis connect fail 协程异常退出的原因应该是,connect没有建立,然后去关闭connect,调用了无法访问的错误内存地址。 |
#1585 |
编译最新swoole要升级GCC,可能会跟项目里面的C代码有冲突,选择绕过此问题,先用PHP的普通Redis客户端,谢谢了。 |
php7.2.5 Swoole\Coroutine\Redis 连接阻塞,连接失败
php:
7.2.5
swoole:
redis-server:
3.2
os:
centos6.5
测试代码:
输出:
php redis is work
Segmentation fault
The text was updated successfully, but these errors were encountered: