swooletw / laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
MIT License
4.04k stars 390 forks source link

ob_end_clean(): failed to delete buffer. No buffer to delete #493

Open mouyong opened 3 years ago

mouyong commented 3 years ago

Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)

  1. Please provide your PHP and Swoole version. (php -v and php --ri swoole)
    PHP 7.4.16 (cli) (built: Apr 10 2021 13:37:36) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.16, Copyright (c), by Zend Technologies
swoole

Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 4.6.7
Built => May 27 2021 10:31:11
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608
  1. Please provide your Laravel/Lumen version.

    Laravel Framework 8.45.1
  2. Which release version of this package are you using?

    +-----------------+--------------------------------------------+
    | Name            | Value                                      |
    +-----------------+--------------------------------------------+
    | PHP Version     | 7.4.16                                     |
    | Swoole Version  | 4.6.7                                      |
    | Laravel Version | 8.45.1                                     |
    | Listen IP       | 0.0.0.0                                    |
    | Listen Port     | 80                                         |
    | Server Status   | Online                                     |
    | Reactor Num     | 1                                          |
    | Worker Num      | 1                                          |
    | Task Worker Num | 0                                          |
    | Websocket Mode  | Off                                        |
    | Master PID      | 102                                        |
    | Manager PID     | 109                                        |
    | Log Path        | /var/www/html/storage/logs/swoole_http.log |
    +-----------------+--------------------------------------------+
  3. What did you do? If possible, provide a recipe for reproducing the error. when i use dcat-admin in laravel-swoole,and export some data,it said this error.

  4. What did you expect to see? i want export xlsx file.

  5. What did you see instead?

image

mouyong commented 3 years ago

PZZ`2 2GHA2B 2LNL`7YO~B

Arkanius commented 2 years ago

It looks wierd to me. Doesn't look like swoole problem imo.

Are you using nginx or other web server or just swoole?