Skip to content
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

无法打印协程的bt #5648

Closed
omigafu opened this issue Dec 31, 2024 · 1 comment
Closed

无法打印协程的bt #5648

omigafu opened this issue Dec 31, 2024 · 1 comment

Comments

@omigafu
Copy link

omigafu commented Dec 31, 2024

Please answer these questions before submitting your issue.

使用gdb调试php进程

(gdb) co_list
coroutine 42964 SW_CORO_WAITING
(gdb) co_bt 42964
coroutine cid: [42964]
One of the arguments you tried to pass to get_task could not be converted to what the function wants.
@matyhtf
Copy link
Member

matyhtf commented Jan 3, 2025

无法重现,本地测试可以用。检查你的 swoole 或 php 编译时是否启用了 -g 调试参数,或者使用了 strip 删除了所有符号。导致无法执行某些函数。

@matyhtf matyhtf closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants