首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
异步Http2.0客户端 Segmentation fault (core dumped),请问是什么原因导致?
<?php $client = new Swoole\Http2\Client("dev.abc.net", 443, true); $client->post("/v1.1/user/login", ["account" => "18320860106","type" => "1",'password' => 'abc1006'], function ($o) use($client) { echo $o->body; $client->close(); }); Swoole\Event::wait(); ----------------------------------------------------------我是分隔线------------------------------------------------------------- Core was generated by `php test.php'. Program terminated with signal SIGSEGV, Segmentation fault. #0 zim_swoole_http2_client_post (execute_data=0x7fc2f8813120, return_value=0x7fc2f8813100) at /home/zhongbo/Downloads/swoole-swoole-v2.0.9/swoole/swoole_http_v2_client.c:1040 1040 if (!cli && hcc->connecting == 1)
发布于7年前 · 7 次浏览 · 来自
提问
相
相信
<?php $client = new Swoole\Http2\Client("dev.abc.net", 443, true); $client->post("/v1.1/user/login", ["account" => "18320860106","type" => "1",'password' => 'abc1006'], function ($o) use($client) { echo $o->body; $client->close(); }); Swoole\Event::wait(); ----------------------------------------------------------我是分隔线------------------------------------------------------------- Core was generated by `php test.php'. Program terminated with signal SIGSEGV, Segmentation fault. #0 zim_swoole_http2_client_post (execute_data=0x7fc2f8813120, return_value=0x7fc2f8813100) at /home/zhongbo/Downloads/swoole-swoole-v2.0.9/swoole/swoole_http_v2_client.c:1040 1040 if (!cli && hcc->connecting == 1)
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2019-04-19
系
系统管理员
请升级至`2.0.10`版本。
赞
0
回复
2019-04-19
L
Lxinnnb
2.0.10版报的错不一样哦 -------------------------------------我是分割线----------------------------------------------------------- Core was generated by `php test.php'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fc2f6ed7d20 in zim_swoole_web
赞
0
回复