Comments (7)
看报错感觉是pcre扩展出现了内存问题,你关闭pcre
扩展试试?
from yasd.
看报错感觉是pcre扩展出现了内存问题,你关闭
pcre
扩展试试?
https://www.php.net/manual/zh/pcre.installation.php
PCRE 是 PHP 核心扩展,所以总是启用的
这个方案不太可行吧,而且项目依赖正则,关了就运行不起来了。
from yasd.
能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?
from yasd.
能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?
我试试看
from yasd.
能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?
在容器里错误变成里corrupted size vs. prev_size
https://github.com/NHZEX/yasd-tests
sudo docker build -t imi_test:yasd .
sudo docker run -it --rm \
-p 9988:9988 \
-e IMI_DEBUG=true \
-e MAIN_DB_HOST=192.168.1.166 \
-e MAIN_DB_PORT=3306 \
-e MAIN_DB_DATABASE=db \
-e MAIN_DB_USERNAME=db \
-e MAIN_DB_PASSWORD=password \
-e DEBUG_HOST=192.168.138.124 \
imi_test:yasd
请求多几次,不是每次都出现的。
Get: http://192.168.138.122:9988/api
之前还有个项目是corrupted size vs. prev_size
和double free or corruption (!prev)
交替发生
[MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:40:32 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00237] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:40:33 $17.0] WARNING check_worker_exit_status: worker#2[pid=24] abnormal exit, status=0, signal=6
2021-03-25 08:45:02 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.01150] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:02 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00238] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:03 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00219] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:03 $17.0] WARNING check_worker_exit_status: worker#1[pid=48] abnormal exit, status=0, signal=6
2021-03-25 08:45:05 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00280] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00272] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00270] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:06 $17.0] WARNING check_worker_exit_status: worker#1[pid=62] abnormal exit, status=0, signal=6
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00271] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00286] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:07 $17.0] WARNING check_worker_exit_status: worker#2[pid=53] abnormal exit, status=0, signal=6
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.01248] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00276] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:08 $17.0] WARNING check_worker_exit_status: worker#1[pid=67] abnormal exit, status=0, signal=6
from yasd.
hyperf 2.2只要有sql查询,必然出现
[2022-01-19 16:05:30 $4178.0] WARNING Server::check_worker_exit_status(): worker(pid=6771, id=0) abnormal exit, status=0, signal=11
A bug occurred in Swoole-v4.8.6, please report it.
The Swoole developers probably don't know about it,
and unless you report it, chances are it won't be fixed.
You can read How to report a bug doc before submitting any bug reports:
https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md
Please do not send bug reports in the mailing list or personal letters.
The issue page is also suitable to submit feature requests.
OS: Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64
GCC_VERSION: 7.5.0
OPENSSL_VERSION: OpenSSL 1.1.1 11 Sep 2018
PHP_VERSION : 7.4.27
wsl1,Ubuntu 18.04,hyperf 2.2,swoole 4.8.6,yasd 0.3.9-alpha,PHP 7.4.27
from yasd.
可以考虑使用 swoole-src的 xdebug分支,https://github.com/swoole/swoole-src/tree/support-xdebug
可以直接使用xdebug进行调试,前提是PHP版本要大于等于8.1
from yasd.
Related Issues (20)
- View private properties of parent class will crashed HOT 2
- macos(M1X) + yasd + hyperf debug报错 HOT 5
- Undefined constant "request" HOT 3
- 请问下怎么解决单元测试覆盖率问题 HOT 5
- "php -e" debug with VsCode and Docker Alpine error "Segmentation fault" HOT 1
- Can not check the value of static variables in a class HOT 1
- M2 编译失败(M2 Compilation fails) HOT 9
- 能够进入,但是执行下一步,就会报这个错误。php代码没问题。 HOT 15
- Undefined constant "this" in yasd://debug-eval:1 HOT 5
- 大佬 这个报错啥原因呢 HOT 1
- It's not possible to compile in the php:8.1-cli-alpine3.17 HOT 1
- centos7 php7.2下编译失败
- output:Segmentation fault HOT 10
- There is an error in the compilation(make) HOT 3
- mark error ( errors generated. make: *** [src/remote_debugger.lo] Error 1 ) HOT 2
- make test 失败率90% ,php -e 报Segmentation fault 安装完后不能正常使用。 HOT 2
- centos7编译安装成功,配置文件也已加上扩展,但是php --ri yasd没有相关信息 HOT 1
- 我用sdebug时可以将hyperf断点停在vendor的Server.php中的sortServers函数里,但是使用yasd不行,是我哪里配置不对吗? HOT 2
- centos7系统下php8.2.4 make 报错 HOT 1
- 'zend_string *' (aka '_zend_string *') from 'char *' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yasd.