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

phpstorm yasd hyperf debug报错 #156

Closed
htcud opened this issue Dec 10, 2021 · 1 comment
Closed

phpstorm yasd hyperf debug报错 #156

htcud opened this issue Dec 10, 2021 · 1 comment

Comments

@htcud
Copy link

htcud commented Dec 10, 2021

image

hyperf应用程序报以下错误,程序就会死掉
php(55540,0x111bc9dc0) malloc: Incorrect checksum for freed object 0x7fb28940daa8: probably modified after being freed.
Corrupt value: 0x0
php(55541,0x111bc9dc0) malloc: Incorrect checksum for freed object 0x7fb28931dd38: probably modified after being freed.
Corrupt value: 0x0
php(55541,0x111bc9dc0) malloc: *** set a breakpoint in malloc_error_break to debug
php(55540,0x111bc9dc0) malloc: *** set a breakpoint in malloc_error_break to debug
php(55545,0x111bc9dc0) malloc: Incorrect checksum for freed object 0x7fb289614208: probably modified after being freed.
Corrupt value: 0x0
php(55544,0x111bc9dc0) malloc: Incorrect checksum for freed object 0x7fb28931eed8: probably modified after being freed.
Corrupt value: 0x0
php(55545,0x111bc9dc0) malloc: *** set a breakpoint in malloc_error_break to debug
php(55544,0x111bc9dc0) malloc: *** set a breakpoint in malloc_error_break to debug
php(55546,0x111bc9dc0) malloc: Incorrect checksum for freed object 0x7fb28940b818: probably modified after being freed.
Corrupt value: 0x0

@huanghantao
Copy link
Member

可以考虑使用 swoole-src的 xdebug分支,https://github.com/swoole/swoole-src/tree/support-xdebug
可以直接使用xdebug进行调试,前提是PHP版本要大于等于8.1

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