New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.2.13-Segmentation fault (core dumped) #2829
Comments
@codezm 首先感谢您的BUG反馈, 我是无情的自动回复机器人,请您快速确认以下几点来帮助我们定位您的问题:
USE_ZEND_ALLOC=0 valgrind --log-file=/tmp/valgrind.log php xxx.php
|
==65777== Memcheck, a memory error detector |
|
SwooleTracker扩展的问题, 已转交处理, 可以先关闭Tracker扩展 |
请问如何关闭 Tracker 扩展? 是编译参数 |
|
Please answer these questions before submitting your issue. Thanks!
bash-4.4# php test-swoole-coroutine-http-client.php
Segmentation fault (core dumped)
Type "apropos word" to search for commands related to "word"...
Reading symbols from php...(no debugging symbols found)...done.
[New LWP 65733]
[New LWP 65737]
[New LWP 65736]
[New LWP 65735]
[New LWP 65734]
warning: Can't read pathname for load map: No error information.
btCore was generated by `php test-swoole-coroutine-http-client.php'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055b07d4fb070 in zend_hash_str_find ()
[Current thread is 1 (LWP 65733)]
(gdb) bt
#0 0x000055b07d4fb070 in zend_hash_str_find ()
#1 0x00007f14009663a4 in coro_http_tick (frame=0x7f1400638d00, context=0x7f14006389c0) at /src/swoole-apm/apm_intercept.c:2565
#2 0x00007f14009620b4 in apm_execute_core (internal=internal@entry=1 '\001', execute_data=execute_data@entry=0x7f1401675390, return_value=return_value@entry=0x7f1400638e90) at /src/swoole-apm/apm.c:1947
#3 0x00007f1400963c70 in apm_execute_internal (execute_data=0x7f1401675390, return_value=0x7f1400638e90) at /src/swoole-apm/apm.c:2052
#4 0x000055b07d57c64a in ?? ()
#5 0x000055b07d52e09b in execute_ex ()
#6 0x00007f1400963a49 in apm_execute_ex (execute_data=0x7f1401675130) at /src/swoole-apm/apm.c:1998
#7 0x000055b07d57c334 in ?? ()
#8 0x000055b07d52e09b in execute_ex ()
#9 0x00007f1400963a49 in apm_execute_ex (execute_data=0x7f14016750a0) at /src/swoole-apm/apm.c:1998
#10 0x00007f1401244108 in swoole::PHPCoroutine::create_func (arg=) at /tmp/swoole-new/swoole_coroutine.cc:281
#11 0x00007f14011fd6db in swoole::Context::context_func (arg=0x55b07e25bf78) at /tmp/swoole-new/src/coroutine/context.cc:87
#12 0x00007f14012af041 in make_fcontext () at /tmp/swoole-new/thirdparty/boost/asm/make_x86_64_sysv_elf_gas.S:64
#13 0x0000000000000000 in ?? ()
2. What did you expect to see?
Swoole\Coroutine\Http\Client
Segmentation fault (core dumped)
php --ri swoole
)?swoole
Swoole => enabled
Author => Swoole Team team@swoole.com
Version => 4.2.13
Built => Sep 12 2019 16:09:23
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
zlib => enabled
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.fast_serialize => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.9.4
PRETTY_NAME="Alpine Linux v3.9"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
PHP 7.1.20 (cli) (built: Jun 27 2019 14:39:00) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
gcc (Alpine 8.3.0) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: