MARiA so cute
MARiA so cute
还要看看gdb之后, f 0 进入alloc函数,执行完`FixedPoolSlice *slice = impl->head;`这行代码之后的slice和impl->head的具体值。 `p *slice` `p *impl->head`
I will test it later.
@kolaente Hi. I can not reproduce it. Could you please use valgrind to track your program? Have you used the `xdebug` extension?
Sorry, I hase made a mistake, use gdb to track your program. ```shell ps aux | grep swoole ```  ```shell gdb attach 651337 ``` And now executing your code...
I can not reproduce it. What is the size of your file?
你这里有个定时器,你这个定时器是在哪个阶段设置的,可以的话提供一下可以复现的最小代码
```php Swoole\Runtime::enableCoroutine($flags = SWOOLE_HOOK_ALL); $connection = null; $timerId = Timer::tick(5000, function () : void { try { write_log('Checking stale: '.(time() - Database::getLastAccessedTime())); if (time() - Database::getLastAccessedTime() > 60) { global...
You can not run blocking operations in the `timer` otherwise it will affect the next task execution if you have not enabled coroutine hook.
The PHP blocking functions will turn to non-blocking function if you put `Swoole\Runtime::enableCoroutine($flags = SWOOLE_HOOK_ALL);` You can execute your code in a non docker environment to find where the problem...