首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swoole-worker core dump
### 问题描述 swoole-worker core dump ### Swoole版本,PHP版本,以及操作系统版本信息 swoole 4.8.3 php 7.4.26 ### 相关代码 ``` [root@1f8fd6d8b36d swoole-worker-demo]# gdb php -c core.271 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/php...Reading symbols from /usr/bin/php...(no debugging symbols found)...done. (no debugging symbols found)...done. [New LWP 271] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `_data_swoole-worker-demo_gatewa'. Program terminated with signal 11, Segmentation fault. #0 jump_fcontext () at /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S:70 70 /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S: No such file or directory. Missing separate debuginfos, use: debuginfo-install php-cli-7.4.26-1.el7.remi.x86_64 (gdb) bt #0 jump_fcontext () at /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S:70 #1 0x00007fa555c08c70 in ?? () #2 0x00007fa55555d390 in ?? () #3 0x000055d45bdb40b2 in zif_call_user_func () #4 0x000055d45bf06c8d in execute_ex () #5 0x000055d45be72306 in zend_call_function () #6 0x000055d45bdb40b2 in zif_call_user_func () ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
发布于2年前 · 13 次浏览 · 来自
提问
akangtr
### 问题描述 swoole-worker core dump ### Swoole版本,PHP版本,以及操作系统版本信息 swoole 4.8.3 php 7.4.26 ### 相关代码 ``` [root@1f8fd6d8b36d swoole-worker-demo]# gdb php -c core.271 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/php...Reading symbols from /usr/bin/php...(no debugging symbols found)...done. (no debugging symbols found)...done. [New LWP 271] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `_data_swoole-worker-demo_gatewa'. Program terminated with signal 11, Segmentation fault. #0 jump_fcontext () at /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S:70 70 /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S: No such file or directory. Missing separate debuginfos, use: debuginfo-install php-cli-7.4.26-1.el7.remi.x86_64 (gdb) bt #0 jump_fcontext () at /data/swoole-src/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S:70 #1 0x00007fa555c08c70 in ?? () #2 0x00007fa55555d390 in ?? () #3 0x000055d45bdb40b2 in zif_call_user_func () #4 0x000055d45bf06c8d in execute_ex () #5 0x000055d45be72306 in zend_call_function () #6 0x000055d45bdb40b2 in zif_call_user_func () ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2021-12-16
鲁飞
使用`valgrind`追踪 ```bash USE_ZEND_ALLOC=0 valgrind --log-file=/tmp/valgrind.log php your_file.php ``` 然后提交错误 https://wiki.swoole.com/#/other/issue
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。