Open magicento opened 1 year ago
这边看看能不能提供一下执行信息 https://wiki.swoole.com/#/other/issue?id=关于段错误核心转储
这边看看能不能提供一下执行信息 https://wiki.swoole.com/#/other/issue?id=关于段错误核心转储
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/php/bin/php...done.
[New LWP 6822]
[New LWP 6842]
[New LWP 6843]
Missing separate debuginfo for /lib/libpng15.so.15
Try: yum --enablerepo='debug' install /usr/lib/debug/.build-id/9d/ce7a7cadc13c5d4a9bd1004943f0f391f01af7.debug
Missing separate debuginfo for /lib/libjpeg.so.62
Try: yum --enablerepo='debug' install /usr/lib/debug/.build-id/c8/003de0c1c7d588561b35d5456d5e592177af2e.debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `api-server.Worker'.
Program terminated with signal 11, Segmentation fault.
at /usr/include/c++/4.8.2/functional:2469
2469 if (_M_empty())
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 c-ares-1.10.0-3.el7.x86_64 cyrus-sasl-lib-2.1.26-24.el7_9.x86_64 glibc-2
.17-324.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-55.el7_9.x86_64 libcom_err-1.42.9-19.el7.x86_64 libcurl-7.84.0-3.0.cf.rhel7.x86_64 l
ibgcc-4.8.5-44.el7.x86_64 libgcrypt-1.5.3-14.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 libicu-50.2-4.el7_7.x86_64 libidn2-2.3.3-1.el7.x86_64 libnghttp2-1.3
3.0-1.1.el7.x86_64 libpsl-0.20.2-6.el7.x86_64 libselinux-2.5-15.el7.x86_64 libssh2-1.10.0-4.0.cf.rhel7.x86_64 libstdc++-4.8.5-44.el7.x86_64 libunistring-0.
9.3-9.el7.x86_64 libwebp-0.3.0-11.el7.x86_64 libxml2-2.9.1-6.el7_9.6.x86_64 libxslt-1.1.28-6.el7.x86_64 nspr-4.34.0-3.1.el7_9.x86_64 nss-3.79.0-4.el7_9.x86
_64 nss-softokn-freebl-3.79.0-4.el7_9.x86_64 nss-util-3.79.0-1.el7_9.x86_64 oniguruma-6.8.2-2.el7.x86_64 openldap-2.4.44-25.el7_9.x86_64 openssl-libs-1.0.2
k-26.el7_9.x86_64 pcre-8.32-17.el7.x86_64 sqlite-3.7.17-8.el7_7.1.x86_64 wlibsodium-1.0.17-1.el7.x86_64 xz-libs-5.2.2-2.el7_9.x86_64 zlib-1.2.7-21.el7_9.x8
6_64
(gdb) bt
at /usr/include/c++/4.8.2/functional:2469
at /root/mysoft/swoole-v5.0.3/src/server/worker.cc:468
at /root/mysoft/swoole-v5.0.3/src/server/manager.cc:614
at /usr/include/c++/4.8.2/functional:2071
at /root/mysoft/swoole-v5.0.3/ext-src/swoole_server.cc:2573
at /root/mysoft/lnmp1.9/src/php-8.1.19/Zend/zend_vm_execute.h:60151
at /root/mysoft/lnmp1.9/src/php-8.1.19/Zend/zend.c:1846
(gdb) f 1
542 (*task->on_resume)(task);
(gdb) f 0
at /usr/include/c++/4.8.2/functional:2469
2469 if (_M_empty())
(gdb)
OS: Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64 GCC_VERSION: Apple LLVM 14.0.0 (clang-1400.0.29.202) PHP_VERSION : 8.1.12
OS: Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64 GCC_VERSION: Apple LLVM 14.0.0 (clang-1400.0.29.202) PHP_VERSION : 8.1.12
What did you see instead?
What version of Swoole are you using (
php --ri swoole
)?swoole
Swoole => enabled Author => Swoole Team team@swoole.com Version => 5.0.1 Built => Jan 11 2023 17:47:37 coroutine => enabled with boost asm context kqueue => enabled rwlock => enabled http2 => enabled json => enabled pcre => enabled zlib => 1.2.11 brotli => E16777225/D16777225 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 => Off => Off swoole.unixsock_buffer_size => 262144 => 262144
php -v ─╯ PHP 8.1.12 (cli) (built: Oct 30 2022 12:55:34) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.12, Copyright (c) Zend Technologies with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies
gcc -v ─╯ Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: x86_64-apple-darwin22.4.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin