openswoole / ext-openswoole

Programmatic server for PHP with async IO, coroutines and fibers

Home Page:https://openswoole.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIGSEGV error when max_request_execution_time is set

allsilaevex opened this issue · comments

  1. What did you do? If possible, provide a simple script for reproducing the error.
set the max_request_execution_time parameter to any value
  1. What did you expect to see?
-
  1. What did you see instead?
1. send a request
2. the request is successfully processed and a response is sent
3. after the time specified in max_request_execution_time, an error occurs, which is described below


A bug occurred in OpenSwoole-v22.0.0, please report it.
Please submit bug report at:
>> https://github.com/openswoole/swoole-src/issues 

OS: Linux 5.4.0-149-generic #166-Ubuntu SMP Tue Apr 18 16:51:45 UTC 2023 x86_64
GCC_VERSION: 12.2.1 20220924
OPENSSL_VERSION: OpenSSL 3.0.9 30 May 2023
PHP_VERSION : 8.2.6

image

  1. What version of OpenSwoole are you using (show your php --ri openswoole)?
Open Swoole => enabled
Author => Open Swoole Group <hello@openswoole.com>
Version => 22.0.0
Built => Jun  1 2023 07:21:54
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 3.0.9 30 May 2023
dtls => enabled
http2 => enabled
hook-curl => enabled
pcre => enabled
zlib => 1.2.13
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled

Directive => Local Value => Master Value
openswoole.enable_coroutine => On => On
openswoole.enable_preemptive_scheduler => Off => Off
openswoole.display_errors => On => On
openswoole.unixsock_buffer_size => 8388608 => 8388608
  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?
b4537ba107a6:/app$ uname -a
Linux b4537ba107a6 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 Linux

b4537ba107a6:/app$ php -v
PHP 8.2.6 (cli) (built: May 11 2023 20:25:30) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies

b4537ba107a6:/app$ gcc -v
bash: gcc: command not found

You can also try the following OpenSwoole support channels: