首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
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 () ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
发布于4年前 · 15 次浏览 · 来自
提问
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
回复