swoole / yasd

Yet Another Swoole Debugger
https://huanghantao.github.io/yasd-wiki/
Apache License 2.0
357 stars 35 forks source link

Using yasd debugging, when I use the command PHP - e think spool start, I can start the service normally. When I visit the web page, I report an error #79

Closed 597297321 closed 1 year ago

597297321 commented 3 years ago

[root@localhost test.com]# php -e think swoole start Starting swoole http server... Swoole http server started: http://0.0.0.0:8324 You can exit with CTRL-C Error in `swoole_http_server: worker process for ThinkPHP': free(): invalid next size (fast): 0x0000000002464610 ======= Backtrace: ========= /usr/lib64/libc.so.6(+0x81299)[0x7fd006f7f299] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/yasd.so(_ZNSt6vectorIPN4yasd10StackFrameESaIS2_EE19_M_emplace_back_auxIJRS2EEEvDpOT+0x99)[0x7fcfffc8dbc9] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/yasd.so(_Z21save_prev_stack_frameP18_zend_execute_data+0xf2)[0x7fcfffc8da52] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/yasd.so(_Z15yasd_execute_exP18_zend_execute_data+0x46)[0x7fcfffc8dac6] swoole_http_server: worker process for ThinkPHP(execute_ex+0x8fcc)[0x91f78c] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/yasd.so(_Z15yasd_execute_exP18_zend_execute_data+0x52)[0x7fcfffc8dad2] swoole_http_server: worker process for ThinkPHP(execute_ex+0x8df5)[0x91f5b5] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/yasd.so(_Z15yasd_execute_exP18_zend_execute_data+0x52)[0x7fcfffc8dad2] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so(_ZN6swoole12PHPCoroutine9main_funcEPv+0x324)[0x7fcffeb31a04] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so(_ZN6swoole9coroutine7Context12context_funcEPv+0x12)[0x7fcffeba2f32] /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so(make_fcontext+0x21)[0x7fcffebffa01] ======= Memory map: ======== 00400000-00c78000 r-xp 00000000 fd:00 1161015 /www/server/php/73/bin/php 00e77000-00f3b000 r--p 00877000 fd:00 1161015 /www/server/php/73/bin/php 00f3b000-00f4c000 rw-p 0093b000 fd:00 1161015 /www/server/php/73/bin/php 00f4c000-00f72000 rw-p 00000000 00:00 0 01f01000-02265000 rw-p 00000000 00:00 0 [heap] 02265000-0268f000 rw-p 00000000 00:00 0 [heap] 7fcff4000000-7fcff4021000 rw-p 00000000 00:00 0 7fcff4021000-7fcff8000000 ---p 00000000 00:00 0 7fcff9400000-7fcff9c00000 rw-p 00000000 00:00 0 7fcff9f3e000-7fcffa13f000 rw-s 00000000 00:04 486231 /dev/zero (deleted) 7fcffa13f000-7fcffa340000 rw-s 00000000 00:04 486229 /dev/zero (deleted) 7fcffa340000-7fcffb3c0000 rw-s 00000000 00:04 486220 /dev/zero (deleted) 7fcffb3c0000-7fcffc3c1000 r--s 00000000 00:04 486217 /dev/zero (deleted) 7fcffc3c1000-7fcffd7eb000 rw-s 00000000 00:04 486216 /dev/zero (deleted) 7fcffd7eb000-7fcffe200000 rw-s 00000000 00:04 486215 /dev/zero (deleted) 7fcffe200000-7fcffe600000 rw-p 00000000 00:00 0 7fcffe602000-7fcffe803000 rw-s 00000000 00:04 486171 /dev/zero (deleted) 7fcffe803000-7fcffe811000 r-xp 00000000 fd:00 1774528 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole_loader73.so 7fcffe811000-7fcffe8ba000 r-xp 00000000 00:00 0 7fcffe8ba000-7fcffeab9000 ---p 000b7000 fd:00 1774528 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole_loader73.so 7fcffeab9000-7fcffeabe000 rw-p 0002c000 fd:00 1774528 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole_loader73.so 7fcffeabe000-7fcffec7b000 r-xp 00000000 fd:00 1774536 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so 7fcffec7b000-7fcffee7b000 ---p 001bd000 fd:00 1774536 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so 7fcffee7b000-7fcffee8b000 r--p 001bd000 fd:00 1774536 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so 7fcffee8b000-7fcffee91000 rw-p 001cd000 fd:00 1774536 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/swoole.so 7fcffee91000-7fcffee96000 rw-p 00000000 00:00 0 7fcffee96000-7fcffef1c000 r-xp 00000000 fd:00 1636131 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/redis.so 7fcffef1c000-7fcfff11c000 ---p 00086000 fd:00 1636131 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/redis.so 7fcfff11c000-7fcfff122000 r--p 00086000 fd:00 1636131 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/redis.so 7fcfff122000-7fcfff127000 rw-p 0008c000 fd:00 1636131 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/redis.so 7fcfff127000-7fcfff654000 r-xp 00000000 fd:00 1199796 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so 7fcfff654000-7fcfff854000 ---p 0052d000 fd:00 1199796 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so 7fcfff854000-7fcfff855000 r--p 0052d000 fd:00 1199796 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so 7fcfff855000-7fcfff856000 rw-p 0052e000 fd:00 1199796 /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so 7fcfff856000-7fcfff859000 r-xp 00000000 fd:00 1774571 /usr/lib64/libboost_system.so.1.53.0 7fcfff859000-7fcfffa58000 ---p 00003000 fd:00 1774571 /usr/lib64/libboost_system.so.1.53.0 7fcfffa58000-7fcfffa59000 r--p 00002000 fd:00 1774571 /usr/lib64/libboost_system.so.1.53.0 7fcfffa59000-7fcfffa5a000 rw-p 00003000 fd:00 1774571 /usr/lib64/libboost_system.so.1.53.0 7fcfffa5a000-7fcfffa6f000 r-xp 00000000 fd:00 1774578 /usr/lib64/libboost_filesystem.so.1.53.0 7fcfffa6f000-7fcfffc6f000 ---p 00015000 fd:00 1774578 /usr/lib64/libboost_filesystem.so.1.53.0 7fcfffc6f000-7fcfffc70000 r--p 00015000 fd:00 1774578 /usr/lib64/libboost_filesystem.so.1.53.0PHP Fatal error: Uncaught Error: Call to a member function make() on null in /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25 Stack trace:

0 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php(50): think\swoole\Manager->getPools()

1 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Container.php(292): think\swoole\Manager->think\swoole\concerns{closure}()

2 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Container.php(356): think\Container->invokeFunction(Object(Closure), Array)

3 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Object(Closure), Array)

4 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch(Object(Closure), Array)

5 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/WithApplication.php(45): think\Event->trigger('swoole.workerEr...', Array)

6 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/In in /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php on line 25

[think\exception\ErrorException]
Uncaught Error: Call to a member function make() on null in /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25
Stack trace:

0 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php(50): think\swoole\Manager->getPools()

1 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Container.php(292): think\swoole\Manager->think\swoole\concerns{closure}()

2 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Container.php(356): think\Container->invokeFunction(Object(Closure), Array)

3 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Object(Closure), Array)

4 /www/wwwroot/test.com/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch(Object(Closure), Array)

5 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/WithApplication.php(45): think\Event->trigger('swoole.workerEr...', Array)

6 /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/In

Exception trace: () at /www/wwwroot/test.com/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25 think\initializer\Error->appShutdown() at n/a:n/a

huanghantao commented 3 years ago

Can you provide valgrind log?

huanghantao commented 3 years ago

I found you install swoole_loader,may be you should disable it.

597297321 commented 3 years ago

I found you install swoole_loader,may be you should disable it.

Because the source code needs swoole_ Loader can start the service, so I can't disable it

597297321 commented 3 years ago

Can you provide valgrind log?

==124832== Warning: client switching stacks? SP change: 0x1ffeffbcf0 --> 0x183ffff8 ==124832== to suppress, use: --max-stackframe=137015311608 or greater ==124832== further instances of this message will not be shown. ==124811== Warning: client switching stacks? SP change: 0x1ffeffbef0 --> 0x18198d98 ==124811== to suppress, use: --max-stackframe=137017831768 or greater ==124811== Conditional jump or move depends on uninitialised value(s) ==124811== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124811== by 0x8E31E9: ZEND_IS_NOT_EQUAL_SPEC_TMPVAR_TMPVAR_HANDLER (in /www/server/php/73/bin/php) ==124811== by 0x91BB06: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x88D8E8: zend_call_function (in /www/server/php/73/bin/php) ==124811== by 0x708C5D: zim_reflection_class_newInstanceArgs (in /www/server/php/73/bin/php) ==124811== by 0x91E942: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== Uninitialised value was created by a heap allocation ==124811== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124811== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124811== by 0x8C1CB9: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124811== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124811== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124811== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124811== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124811== ==124811== Conditional jump or move depends on uninitialised value(s) ==124811== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124811== by 0x799B94: zif_in_array (in /www/server/php/73/bin/php) ==124811== by 0x91E942: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data*) (base.cc:131) ==124811== Uninitialised value was created by a heap allocation ==124811== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124811== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124811== by 0x8C1D44: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124811== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124811== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124811== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124811== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124811== ==124811== Warning: client switching stacks? SP change: 0x18198d90 --> 0x1ffeffbef0 ==124811== to suppress, use: --max-stackframe=137017831776 or greater ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x896434: zendi_smart_streq (in /www/server/php/73/bin/php) ==124832== by 0x8E2B45: ZEND_IS_EQUAL_SPEC_TMPVAR_CONST_HANDLER (in /www/server/php/73/bin/php) ==124832== by 0x91BA18: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F5B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F5B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1CB9: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124832== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124832== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124832== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124832== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124832== ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x407CFEC: ??? ==124832== by 0x18B66327: ??? ==124832== by 0x18B66327: ??? ==124832== by 0x18B66342: ??? ==124832== by 0xA86D72F: ??? ==124832== by 0x18B66327: ??? ==124832== Uninitialised value was created by a stack allocation ==124832== at 0x88BCB0: zend_register_bool_constant (in /www/server/php/73/bin/php) ==124832== ==124811== Warning: client switching stacks? SP change: 0x1ffeffbef0 --> 0x189ffff8 ==124811== to suppress, use: --max-stackframe=137009020664 or greater ==124811== further instances of this message will not be shown. ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x8E31E9: ZEND_IS_NOT_EQUAL_SPEC_TMPVAR_TMPVAR_HANDLER (in /www/server/php/73/bin/php) ==124832== by 0x91BB06: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x88D8E8: zend_call_function (in /www/server/php/73/bin/php) ==124832== by 0x708C5D: zim_reflection_class_newInstanceArgs (in /www/server/php/73/bin/php) ==124832== by 0x91E942: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1CB9: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124832== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124832== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124832== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124832== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124832== ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x799B94: zif_in_array (in /www/server/php/73/bin/php) ==124832== by 0x91E942: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data*) (base.cc:131) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1D44: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124832== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124832== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124832== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124832== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124832== ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x8CCDA7: zend_std_has_property (in /www/server/php/73/bin/php) ==124832== by 0x8DCCE7: ZEND_ISSET_ISEMPTY_PROP_OBJ_SPEC_CV_CONST_HANDLER (in /www/server/php/73/bin/php) ==124832== by 0x9197B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F5B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x88D8E8: zend_call_function (in /www/server/php/73/bin/php) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1414: zend_string_init_interned_permanent (in /www/server/php/73/bin/php) ==124832== by 0x89EC07: zend_register_functions (in /www/server/php/73/bin/php) ==124832== by 0x89FD51: zend_register_module_ex (in /www/server/php/73/bin/php) ==124832== by 0x83D814: php_register_extensions (in /www/server/php/73/bin/php) ==124832== by 0x83DFB7: php_module_startup (in /www/server/php/73/bin/php) ==124832== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124832== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124832== ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x91E35E: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F5B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x88D8E8: zend_call_function (in /www/server/php/73/bin/php) ==124832== by 0x7A7201: zif_call_user_func (in /www/server/php/73/bin/php) ==124832== by 0x91E942: execute_ex (in /www/server/php/73/bin/php) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1414: zend_string_init_interned_permanent (in /www/server/php/73/bin/php) ==124832== by 0x89EC07: zend_register_functions (in /www/server/php/73/bin/php) ==124832== by 0x89FD51: zend_register_module_ex (in /www/server/php/73/bin/php) ==124832== by 0x83D814: php_register_extensions (in /www/server/php/73/bin/php) ==124832== by 0x83DFB7: php_module_startup (in /www/server/php/73/bin/php) ==124832== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124832== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124832== ==124832== Conditional jump or move depends on uninitialised value(s) ==124832== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124832== by 0x90306A: ZEND_IS_EQUAL_SPEC_CV_TMPVAR_HANDLER (in /www/server/php/73/bin/php) ==124832== by 0x919A14: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== by 0x91F5B4: execute_ex (in /www/server/php/73/bin/php) ==124832== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124832== Uninitialised value was created by a heap allocation ==124832== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124832== by 0x8738A8: __zend_malloc (in /www/server/php/73/bin/php) ==124832== by 0x8C1AE3: zend_new_interned_string_permanent.part.5 (in /www/server/php/73/bin/php) ==124832== by 0x8A3CBF: zend_declare_property_ex (in /www/server/php/73/bin/php) ==124832== by 0x8A3F57: zend_declare_property (in /www/server/php/73/bin/php) ==124832== by 0x8A4037: zend_declare_property_long (in /www/server/php/73/bin/php) ==124832== by 0x123DCB9A: php_swoole_coroutine_minit (swoole_coroutine.cc:794) ==124832== by 0x123C7C3D: zm_startup_swoole (php_swoole.cc:732) ==124832== by 0x89E124: zend_startup_module_ex (in /www/server/php/73/bin/php) ==124832== by 0x89E1BB: zend_startup_module_zval (in /www/server/php/73/bin/php) ==124832== by 0x8AA272: zend_hash_apply (in /www/server/php/73/bin/php) ==124832== by 0x89E469: zend_startup_modules (in /www/server/php/73/bin/php) ==124832== ==124811== Conditional jump or move depends on uninitialised value(s) ==124811== at 0x8C1762: zend_string_equal_val (in /www/server/php/73/bin/php) ==124811== by 0x902A9D: ZEND_IS_EQUAL_SPEC_CV_CONST_HANDLER (in /www/server/php/73/bin/php) ==124811== by 0x9192E8: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== by 0x91F78B: execute_ex (in /www/server/php/73/bin/php) ==124811== by 0x1135EAD1: yasd_execute_ex(_zend_execute_data) (base.cc:131) ==124811== Uninitialised value was created by a heap allocation ==124811== at 0x4C29F73: malloc (vg_replace_malloc.c:309) ==124811== by 0x8738A8: zend_malloc (in /www/server/php/73/bin/php) ==124811== by 0x8C1CB9: zend_interned_strings_init (in /www/server/php/73/bin/php) ==124811== by 0x89A97C: zend_startup (in /www/server/php/73/bin/php) ==124811== by 0x83D992: php_module_startup (in /www/server/php/73/bin/php) ==124811== by 0x9211DC: php_cli_startup (in /www/server/php/73/bin/php) ==124811== by 0x45DD73: main (in /www/server/php/73/bin/php) ==124811==

huanghantao commented 3 years ago

Are you debugging an encrypted file?

597297321 commented 3 years ago

我发现您已安装swoole_loader,也许您应该禁用它。

I found you install swoole_loader,may be you should disable it.

您要调试加密文件吗?

Are you debugging an encrypted file?

There are encrypted files in the source code. Is it caused by encrypted files?

huanghantao commented 3 years ago

May be