swoole / yasd

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

Unable to connect using VSCode #82

Closed juber-nunes closed 3 years ago

juber-nunes commented 3 years ago

The installation is done

I'm using laravel-s on a containerized environment.

image

zend_extension=yasd yasd.debug_mode=remote yasd.remote_host=127.0.0.1 yasd.remote_port=9000

but not connecting on VsCode

image

Originally posted by @juberjj in https://github.com/swoole/yasd/issues/78#issuecomment-760904975

sy-records commented 3 years ago

You need to set debug_mode as remote, not cmd

juber-nunes commented 3 years ago

Hi @sy-records

That's what've done

image

huanghantao commented 3 years ago

Can you use the following command to connect?

nc host.docker.internal 9003 -vv
huanghantao commented 3 years ago

And don't forget the -e option, for example:

php -e bin/index.php
juber-nunes commented 3 years ago

Port seems to be refusing connections, weird as I have it opened on firewall

image

huanghantao commented 3 years ago

By the way, yasd currently does not support remote_host using domain name. Maybe you should use IP instead.

huanghantao commented 3 years ago

Port seems to be refusing connections, weird as I have it opened on firewall

image

Has your IDE started listening? You can check the port.

juber-nunes commented 3 years ago

@huanghantao by having the ip set resolves the connection issue by running rc, I cann see connection opened and if I close it on IDE I get appropriate response, but still not debugging it

image

juber-nunes commented 3 years ago

on VSCode I have this

I'm using "laravels" to serve the application

image

huanghantao commented 3 years ago

Can you show me the contents of the terminal? There is no problem with your VS Code configuration.

juber-nunes commented 3 years ago

Sure. Just to let you know, it seems to connect as you can see "running" on editor call stack but it doesn't seem to hold it. image

huanghantao commented 3 years ago

Have you set a breakpoint? Perhaps you can set a breakpoint in the entry file to test.

huanghantao commented 3 years ago

If the project paths of your virtual machine and your host do not match, you need to set path mapping, just like:

// virtual machine -> local
"pathMappings": {
  "/var/www": "${workspaceRoot}/www",
}
juber-nunes commented 3 years ago

I did indeed, also included "everything" just in case but I got nothing. I've done the same with sdebug and the only reason I got a little further was because of a flag "xdebug.remote_autostart=on"

huanghantao commented 3 years ago

I did indeed, also included "everything" just in case but I got nothing. I've done the same with sdebug and the only reason I got a little further was because of a flag "xdebug.remote_autostart=on"

yasd does not need to configure any Xdebug configuration items, just remote_host and remote_port

huanghantao commented 3 years ago

Can you configure the following configuration? After debugging, the debug.log file will be generated in the current directory, you can provide me with a look:

yasd.log_level=0
juber-nunes commented 3 years ago

which is great. :) . One step forward with pathmappings

image

juber-nunes commented 3 years ago

debug.log

breakpoint_list -i 1 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 2 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 3 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 4 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 5 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 6 -t line -f file:///engage-web/bootstrap/autoload.php -n 3 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 7 -t line -f file:///engage-web/app/Http/Controllers/Auth/ForgotPasswordController.php -n 45 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 8 -t line -f file:///engage-web/public/index.php -n 52 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 9 -t line -f file:///engage-web/app/Notifications/ResetPassword.php -n 42 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 10 180<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 11 180<?xml version="1.0" encoding="iso-8859-1"?>

run -i 12 286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

1 286<?xml version="1.0" encoding="iso-8859-1"?>

juber-nunes commented 3 years ago

Removed the breakpoint from autoload and the error stopped. Went to the browser to capture other entrypoints but no luck

498<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 1 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 2 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 3 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 4 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 5 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 6 -t line -f file:///engage-web/bootstrap/autoload.php -n 3 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 7 -t line -f file:///engage-web/app/Http/Controllers/Auth/ForgotPasswordController.php -n 45 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 8 -t line -f file:///engage-web/public/index.php -n 52 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 9 -t line -f file:///engage-web/app/Notifications/ResetPassword.php -n 42 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 10 180<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 11 180<?xml version="1.0" encoding="iso-8859-1"?>

run -i 12 286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

286<?xml version="1.0" encoding="iso-8859-1"?>

1 286<?xml version="1.0" encoding="iso-8859-1"?>

498<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 1 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 2 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 3 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 4 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 5 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 6 -t line -f file:///engage-web/app/Http/Controllers/Auth/ForgotPasswordController.php -n 45 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 7 -t line -f file:///engage-web/public/index.php -n 52 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_set -i 8 -t line -f file:///engage-web/app/Notifications/ResetPassword.php -n 42 192<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 9 179<?xml version="1.0" encoding="iso-8859-1"?>

breakpoint_list -i 10 180<?xml version="1.0" encoding="iso-8859-1"?>

run -i 11

huanghantao commented 3 years ago

Can you provide valgrind log? for example:

USE_ZEND_ALLOC=0 valgrind --log-file=valgrind.log --trace-children=yes php -e xxx.php

then show me the valgrind.log.

juber-nunes commented 3 years ago

I'd need to install valgring as it's not at the moment. give me few moments please

juber-nunes commented 3 years ago

==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x597B181: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x597B181: php_swoole_server_minit (swoole_server.cc:713) ==9546== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x5985D88: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x5985D88: php_swoole_server_port_minit (swoole_server_port.cc:166) ==9546== by 0x5911F4E: zm_startup_swoole (php_swoole.cc:771) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x5938CAC: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x5938CAC: php_swoole_http_request_minit (swoole_http_request.cc:290) ==9546== by 0x5911F55: zm_startup_swoole (php_swoole.cc:772) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x593CDE6: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x593CDE6: php_swoole_http_response_minit (swoole_http_response.cc:289) ==9546== by 0x5911F5C: zm_startup_swoole (php_swoole.cc:773) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x593E5BD: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x593E5BD: php_swoole_http_server_minit (swoole_http_server.cc:159) ==9546== by 0x5911F63: zm_startup_swoole (php_swoole.cc:774) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x5940537: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x5940537: php_swoole_http_server_coro_minit (swoole_http_server_coro.cc:277) ==9546== by 0x5911F6A: zm_startup_swoole (php_swoole.cc:775) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x59953F9: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x59953F9: php_swoole_websocket_server_minit (swoole_websocket_server.cc:643) ==9546== by 0x5911F71: zm_startup_swoole (php_swoole.cc:776) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x599567F: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x599567F: php_swoole_websocket_server_minit (swoole_websocket_server.cc:654) ==9546== by 0x5911F71: zm_startup_swoole (php_swoole.cc:776) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9546== by 0x596EF00: sw_zend_register_class_alias (php_swoole.h:742) ==9546== by 0x596EF00: php_swoole_redis_server_minit (swoole_redis_server.cc:69) ==9546== by 0x5911F78: zm_startup_swoole (php_swoole.cc:777) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x59170B4: zend::known_strings_init() (php_swoole_cxx.cc:90) ==9546== by 0x5911FA3: zm_startup_swoole (php_swoole.cc:789) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x534DCB: ??? (in /usr/local/bin/php) ==9546== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9546== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9546== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x54A691: zend_register_ini_entries (in /usr/local/bin/php) ==9546== by 0x53CF4CE: zm_startup_yasd(int, int) (yasd.cc:114) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x536AD5: zend_startup_module (in /usr/local/bin/php) ==9546== by 0x53C1F7: ??? (in /usr/local/bin/php) ==9546== by 0x52572F: zend_llist_apply_with_del (in /usr/local/bin/php) ==9546== by 0x53C336: ??? (in /usr/local/bin/php) ==9546== by 0x4D437A: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x55992A: ??? (in /usr/local/bin/php) ==9546== by 0x54A6E5: zend_register_ini_entries (in /usr/local/bin/php) ==9546== by 0x53CF4CE: zm_startup_yasd(int, int) (yasd.cc:114) ==9546== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9546== by 0x536AD5: zend_startup_module (in /usr/local/bin/php) ==9546== by 0x53C1F7: ??? (in /usr/local/bin/php) ==9546== by 0x52572F: zend_llist_apply_with_del (in /usr/local/bin/php) ==9546== by 0x53C336: ??? (in /usr/local/bin/php) ==9546== by 0x4D437A: php_module_startup (in /usr/local/bin/php) ==9546== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9546== by 0x25F164: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x51B481: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9546== by 0x5916D59: swoole_compile_string(_zval_struct, char) (php_swoole_cxx.cc:27) ==9546== by 0x524117: zend_eval_stringl (in /usr/local/bin/php) ==9546== by 0x5916FAF: zend::eval(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) (php_swoole_cxx.cc:75) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x510228: ??? (in /usr/local/bin/php) ==9546== by 0x51032C: ??? (in /usr/local/bin/php) ==9546== by 0x51B564: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9546== by 0x5916D59: swoole_compile_string(_zval_struct, char) (php_swoole_cxx.cc:27) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x51136F: ??? (in /usr/local/bin/php) ==9546== by 0x51544E: ??? (in /usr/local/bin/php) ==9546== by 0x5175CD: ??? (in /usr/local/bin/php) ==9546== by 0x51AB7F: ??? (in /usr/local/bin/php) ==9546== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9546== by 0x51B58B: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x51136F: ??? (in /usr/local/bin/php) ==9546== by 0x513791: ??? (in /usr/local/bin/php) ==9546== by 0x519018: ??? (in /usr/local/bin/php) ==9546== by 0x51B501: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x519B9D: ??? (in /usr/local/bin/php) ==9546== by 0x517569: ??? (in /usr/local/bin/php) ==9546== by 0x519D46: ??? (in /usr/local/bin/php) ==9546== by 0x5174DB: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x51136F: ??? (in /usr/local/bin/php) ==9546== by 0x515F60: ??? (in /usr/local/bin/php) ==9546== by 0x5166AF: ??? (in /usr/local/bin/php) ==9546== by 0x516A8C: ??? (in /usr/local/bin/php) ==9546== by 0x51FF15: ??? (in /usr/local/bin/php) ==9546== by 0x51E141: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9546== by 0x511283: ??? (in /usr/local/bin/php) ==9546== by 0x51132F: ??? (in /usr/local/bin/php) ==9546== by 0x5113FF: ??? (in /usr/local/bin/php) ==9546== by 0x515F60: ??? (in /usr/local/bin/php) ==9546== by 0x5166AF: ??? (in /usr/local/bin/php) ==9546== by 0x516A8C: ??? (in /usr/local/bin/php) ==9546== by 0x51FF15: ??? (in /usr/local/bin/php) ==9546== by 0x51E141: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x510228: ??? (in /usr/local/bin/php) ==9546== by 0x510A51: ??? (in /usr/local/bin/php) ==9546== by 0x51B9C9: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5597C2: ??? (in /usr/local/bin/php) ==9546== by 0x512756: ??? (in /usr/local/bin/php) ==9546== by 0x517FAC: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x52093D: ??? (in /usr/local/bin/php) ==9546== by 0x51E120: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9546== by 0x51E141: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5597C2: ??? (in /usr/local/bin/php) ==9546== by 0x510228: ??? (in /usr/local/bin/php) ==9546== by 0x51A8A5: ??? (in /usr/local/bin/php) ==9546== by 0x51A90A: ??? (in /usr/local/bin/php) ==9546== by 0x51AB59: ??? (in /usr/local/bin/php) ==9546== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9546== by 0x51B58B: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x512756: ??? (in /usr/local/bin/php) ==9546== by 0x51E62F: ??? (in /usr/local/bin/php) ==9546== by 0x51DEE3: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x52097E: ??? (in /usr/local/bin/php) ==9546== by 0x51E120: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x512756: ??? (in /usr/local/bin/php) ==9546== by 0x517FAC: ??? (in /usr/local/bin/php) ==9546== by 0x51D2C8: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51E459: ??? (in /usr/local/bin/php) ==9546== by 0x51DEE3: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x510228: ??? (in /usr/local/bin/php) ==9546== by 0x51A8A5: ??? (in /usr/local/bin/php) ==9546== by 0x51A90A: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x52097E: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x53AEF6: zend_declare_class_constant_ex (in /usr/local/bin/php) ==9546== by 0x516FB2: ??? (in /usr/local/bin/php) ==9546== by 0x51E0F9: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51F504: ??? (in /usr/local/bin/php) ==9546== by 0x51E157: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x516E47: ??? (in /usr/local/bin/php) ==9546== by 0x51E113: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51F504: ??? (in /usr/local/bin/php) ==9546== by 0x51E157: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5596E6: ??? (in /usr/local/bin/php) ==9546== by 0x5141E8: ??? (in /usr/local/bin/php) ==9546== by 0x520092: ??? (in /usr/local/bin/php) ==9546== by 0x51E141: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51F504: ??? (in /usr/local/bin/php) ==9546== by 0x51E157: ??? (in /usr/local/bin/php) ==9546== by 0x520B0D: ??? (in /usr/local/bin/php) ==9546== by 0x520B67: ??? (in /usr/local/bin/php) ==9546== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9546== ==9546== ==9546== More than 100 errors detected. Subsequent errors ==9546== will still be recorded, but in less detail than before. ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x50FC4C: ??? (in /usr/local/bin/php) ==9546== by 0x51D310: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9546== by 0x51E141: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51F504: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x519523: ??? (in /usr/local/bin/php) ==9546== by 0x51FF34: ??? (in /usr/local/bin/php) ==9546== by 0x51740C: ??? (in /usr/local/bin/php) ==9546== by 0x51AB7F: ??? (in /usr/local/bin/php) ==9546== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9546== by 0x51B8C8: ??? (in /usr/local/bin/php) ==9546== by 0x5175DF: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51E459: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x404EE18: strlcpy (in /lib/ld-musl-x86_64.so.1) ==9546== by 0x746F6F622F626576: ??? ==9546== by 0x75612F7061727472: ??? ==9546== by 0x702E64616F6C6F73: ??? ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x404EE18: strlcpy (in /lib/ld-musl-x86_64.so.1) ==9546== by 0x646E65762F626576: ??? ==9546== by 0x6F706D6F632F726E: ??? ==9546== by 0x6F7475612F726572: ??? ==9546== by 0x6165725F64616F6B: ??? ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x527E11: zend_is_identical (in /usr/local/bin/php) ==9546== by 0x527E6E: is_identical_function (in /usr/local/bin/php) ==9546== by 0x5199B0: ??? (in /usr/local/bin/php) ==9546== by 0x5174FB: ??? (in /usr/local/bin/php) ==9546== by 0x519D46: ??? (in /usr/local/bin/php) ==9546== by 0x5174DB: ??? (in /usr/local/bin/php) ==9546== by 0x52093D: ??? (in /usr/local/bin/php) ==9546== by 0x51E120: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x52097E: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x54334F: zend_hash_exists (in /usr/local/bin/php) ==9546== by 0x411DEE: ??? (in /usr/local/bin/php) ==9546== by 0x5236FE: zend_call_function (in /usr/local/bin/php) ==9546== by 0x523CB4: zend_lookup_class_ex (in /usr/local/bin/php) ==9546== by 0x524698: zend_fetch_class_by_name (in /usr/local/bin/php) ==9546== by 0x5A9046: ??? (in /usr/local/bin/php) ==9546== by 0x5B141A: execute_ex (in /usr/local/bin/php) ==9546== by 0x53D37B1: yasd_execute_ex (base.cc:131) ==9546== by 0x53D37B1: yasd_execute_ex(_zend_execute_data) (base.cc:110) ==9546== by 0x5AB3EB: ??? (in /usr/local/bin/php) ==9546== by 0x5AFD79: execute_ex (in /usr/local/bin/php) ==9546== by 0x53D37B1: yasd_execute_ex (base.cc:131) ==9546== by 0x53D37B1: yasd_execute_ex(_zend_execute_data) (base.cc:110) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9546== by 0x5134AE: ??? (in /usr/local/bin/php) ==9546== by 0x513531: ??? (in /usr/local/bin/php) ==9546== by 0x51D39A: ??? (in /usr/local/bin/php) ==9546== by 0x51752B: ??? (in /usr/local/bin/php) ==9546== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9546== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9546== by 0x51E12D: ??? (in /usr/local/bin/php) ==9546== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9546== by 0x51740C: ??? (in /usr/local/bin/php) ==9546== by 0x51AB7F: ??? (in /usr/local/bin/php) ==9546== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9546== ==9546== Conditional jump or move depends on uninitialised value(s) ==9546== at 0x404EE18: strlcpy (in /lib/ld-musl-x86_64.so.1) ==9546== by 0x2F7070612F626576: ??? ==9546== by 0x2E737265706C6567: ??? ==9546== by 0x65766172616C2F64: ??? ==9546== by 0x70756B6361622D6B: ??? ==9546== by 0x6C65482F6372732E: ??? ==9546== by 0x6E75662F7372656F: ??? ==9546== by 0x702E736E6F697462: ??? ==9546== by 0x68702E6F74007067: ??? ==9546== by 0x6F: ??? ==9546== by 0x7C1E30F: ??? ==9546== ==9546== ==9546== Process terminating with default action of signal 2 (SIGINT) ==9546== at 0x4044A95: kill (in /lib/ld-musl-x86_64.so.1) ==9546== ==9546== HEAP SUMMARY: ==9546== in use at exit: 9,929,392 bytes in 60,662 blocks ==9546== total heap usage: 152,513 allocs, 91,851 frees, 35,922,730 bytes allocated ==9546== ==9546== LEAK SUMMARY: ==9546== definitely lost: 3,408 bytes in 142 blocks ==9546== indirectly lost: 400 bytes in 12 blocks ==9546== possibly lost: 4,617,986 bytes in 34,164 blocks ==9546== still reachable: 5,307,598 bytes in 26,344 blocks ==9546== suppressed: 0 bytes in 0 blocks ==9546== Rerun with --leak-check=full to see details of leaked memory ==9546== ==9546== Use --track-origins=yes to see where uninitialised values come from ==9546== For lists of detected and suppressed errors, rerun with: -s ==9546== ERROR SUMMARY: 21562 errors from 108 contexts (suppressed: 0 from 0)

huanghantao commented 3 years ago

which is great. :) . One step forward with pathmappings

image

I don't find any errors in valgrind.log. I need you to trigger this error.

juber-nunes commented 3 years ago

I've triggered that error once more and captured valgrind.log

==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x597A0E4: zend_hash_find_ptr (zend_hash.h:792) ==9714== by 0x597A0E4: sw_zend_register_function_alias (php_swoole.h:710) ==9714== by 0x597A0E4: php_swoole_server_minit (swoole_server.cc:659) ==9714== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x597A240: zend_hash_find_ptr (zend_hash.h:792) ==9714== by 0x597A240: sw_zend_register_function_alias (php_swoole.h:710) ==9714== by 0x597A240: php_swoole_server_minit (swoole_server.cc:660) ==9714== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x597A3AD: zend_hash_find_ptr (zend_hash.h:792) ==9714== by 0x597A3AD: sw_zend_register_function_alias (php_swoole.h:710) ==9714== by 0x597A3AD: php_swoole_server_minit (swoole_server.cc:662) ==9714== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x597A5AD: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x597A5AD: php_swoole_server_minit (swoole_server.cc:665) ==9714== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x597B181: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x597B181: php_swoole_server_minit (swoole_server.cc:713) ==9714== by 0x5911F47: zm_startup_swoole (php_swoole.cc:770) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x5985D88: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x5985D88: php_swoole_server_port_minit (swoole_server_port.cc:166) ==9714== by 0x5911F4E: zm_startup_swoole (php_swoole.cc:771) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x5938CAC: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x5938CAC: php_swoole_http_request_minit (swoole_http_request.cc:290) ==9714== by 0x5911F55: zm_startup_swoole (php_swoole.cc:772) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x593CDE6: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x593CDE6: php_swoole_http_response_minit (swoole_http_response.cc:289) ==9714== by 0x5911F5C: zm_startup_swoole (php_swoole.cc:773) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x593E5BD: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x593E5BD: php_swoole_http_server_minit (swoole_http_server.cc:159) ==9714== by 0x5911F63: zm_startup_swoole (php_swoole.cc:774) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x5940537: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x5940537: php_swoole_http_server_coro_minit (swoole_http_server_coro.cc:277) ==9714== by 0x5911F6A: zm_startup_swoole (php_swoole.cc:775) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x59953F9: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x59953F9: php_swoole_websocket_server_minit (swoole_websocket_server.cc:643) ==9714== by 0x5911F71: zm_startup_swoole (php_swoole.cc:776) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x599567F: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x599567F: php_swoole_websocket_server_minit (swoole_websocket_server.cc:654) ==9714== by 0x5911F71: zm_startup_swoole (php_swoole.cc:776) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x536CB5: zend_register_class_alias_ex (in /usr/local/bin/php) ==9714== by 0x596EF00: sw_zend_register_class_alias (php_swoole.h:742) ==9714== by 0x596EF00: php_swoole_redis_server_minit (swoole_redis_server.cc:69) ==9714== by 0x5911F78: zm_startup_swoole (php_swoole.cc:777) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x59170B4: zend::known_strings_init() (php_swoole_cxx.cc:90) ==9714== by 0x5911FA3: zm_startup_swoole (php_swoole.cc:789) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x534DCB: ??? (in /usr/local/bin/php) ==9714== by 0x5412F1: zend_hash_apply (in /usr/local/bin/php) ==9714== by 0x5350A9: zend_startup_modules (in /usr/local/bin/php) ==9714== by 0x4D4375: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== by 0x401C1EE: ??? (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x54A691: zend_register_ini_entries (in /usr/local/bin/php) ==9714== by 0x53CF4CE: zm_startup_yasd(int, int) (yasd.cc:114) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x536AD5: zend_startup_module (in /usr/local/bin/php) ==9714== by 0x53C1F7: ??? (in /usr/local/bin/php) ==9714== by 0x52572F: zend_llist_apply_with_del (in /usr/local/bin/php) ==9714== by 0x53C336: ??? (in /usr/local/bin/php) ==9714== by 0x4D437A: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x55992A: ??? (in /usr/local/bin/php) ==9714== by 0x54A6E5: zend_register_ini_entries (in /usr/local/bin/php) ==9714== by 0x53CF4CE: zm_startup_yasd(int, int) (yasd.cc:114) ==9714== by 0x534D36: zend_startup_module_ex (in /usr/local/bin/php) ==9714== by 0x536AD5: zend_startup_module (in /usr/local/bin/php) ==9714== by 0x53C1F7: ??? (in /usr/local/bin/php) ==9714== by 0x52572F: zend_llist_apply_with_del (in /usr/local/bin/php) ==9714== by 0x53C336: ??? (in /usr/local/bin/php) ==9714== by 0x4D437A: php_module_startup (in /usr/local/bin/php) ==9714== by 0x5B8A8C: ??? (in /usr/local/bin/php) ==9714== by 0x25F164: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x51B481: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9714== by 0x5916D59: swoole_compile_string(_zval_struct, char) (php_swoole_cxx.cc:27) ==9714== by 0x524117: zend_eval_stringl (in /usr/local/bin/php) ==9714== by 0x5916FAF: zend::eval(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) (php_swoole_cxx.cc:75) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x510228: ??? (in /usr/local/bin/php) ==9714== by 0x51032C: ??? (in /usr/local/bin/php) ==9714== by 0x51B564: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9714== by 0x5916D59: swoole_compile_string(_zval_struct, char) (php_swoole_cxx.cc:27) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x51136F: ??? (in /usr/local/bin/php) ==9714== by 0x51544E: ??? (in /usr/local/bin/php) ==9714== by 0x5175CD: ??? (in /usr/local/bin/php) ==9714== by 0x51AB7F: ??? (in /usr/local/bin/php) ==9714== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9714== by 0x51B58B: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x51136F: ??? (in /usr/local/bin/php) ==9714== by 0x513791: ??? (in /usr/local/bin/php) ==9714== by 0x519018: ??? (in /usr/local/bin/php) ==9714== by 0x51B501: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x519B9D: ??? (in /usr/local/bin/php) ==9714== by 0x517569: ??? (in /usr/local/bin/php) ==9714== by 0x519D46: ??? (in /usr/local/bin/php) ==9714== by 0x5174DB: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x51136F: ??? (in /usr/local/bin/php) ==9714== by 0x515F60: ??? (in /usr/local/bin/php) ==9714== by 0x5166AF: ??? (in /usr/local/bin/php) ==9714== by 0x516A8C: ??? (in /usr/local/bin/php) ==9714== by 0x51FF15: ??? (in /usr/local/bin/php) ==9714== by 0x51E141: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x542FDF: zend_hash_find (in /usr/local/bin/php) ==9714== by 0x511283: ??? (in /usr/local/bin/php) ==9714== by 0x51132F: ??? (in /usr/local/bin/php) ==9714== by 0x5113FF: ??? (in /usr/local/bin/php) ==9714== by 0x515F60: ??? (in /usr/local/bin/php) ==9714== by 0x5166AF: ??? (in /usr/local/bin/php) ==9714== by 0x516A8C: ??? (in /usr/local/bin/php) ==9714== by 0x51FF15: ??? (in /usr/local/bin/php) ==9714== by 0x51E141: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x510228: ??? (in /usr/local/bin/php) ==9714== by 0x510A51: ??? (in /usr/local/bin/php) ==9714== by 0x51B9C9: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9714== by 0x51752B: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5597C2: ??? (in /usr/local/bin/php) ==9714== by 0x512756: ??? (in /usr/local/bin/php) ==9714== by 0x517FAC: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x52093D: ??? (in /usr/local/bin/php) ==9714== by 0x51E120: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9714== by 0x51E141: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5597C2: ??? (in /usr/local/bin/php) ==9714== by 0x510228: ??? (in /usr/local/bin/php) ==9714== by 0x51A8A5: ??? (in /usr/local/bin/php) ==9714== by 0x51A90A: ??? (in /usr/local/bin/php) ==9714== by 0x51AB59: ??? (in /usr/local/bin/php) ==9714== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9714== by 0x51B58B: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9714== by 0x51752B: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x512756: ??? (in /usr/local/bin/php) ==9714== by 0x51E62F: ??? (in /usr/local/bin/php) ==9714== by 0x51DEE3: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x52097E: ??? (in /usr/local/bin/php) ==9714== by 0x51E120: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x512756: ??? (in /usr/local/bin/php) ==9714== by 0x517FAC: ??? (in /usr/local/bin/php) ==9714== by 0x51D2C8: ??? (in /usr/local/bin/php) ==9714== by 0x51752B: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51E459: ??? (in /usr/local/bin/php) ==9714== by 0x51DEE3: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x510228: ??? (in /usr/local/bin/php) ==9714== by 0x51A8A5: ??? (in /usr/local/bin/php) ==9714== by 0x51A90A: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51D2D3: ??? (in /usr/local/bin/php) ==9714== by 0x51752B: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x52097E: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x53AEF6: zend_declare_class_constant_ex (in /usr/local/bin/php) ==9714== by 0x516FB2: ??? (in /usr/local/bin/php) ==9714== by 0x51E0F9: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51F504: ??? (in /usr/local/bin/php) ==9714== by 0x51E157: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x516E47: ??? (in /usr/local/bin/php) ==9714== by 0x51E113: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51F504: ??? (in /usr/local/bin/php) ==9714== by 0x51E157: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== by 0x4FC2F7: compile_string (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x5596E6: ??? (in /usr/local/bin/php) ==9714== by 0x5141E8: ??? (in /usr/local/bin/php) ==9714== by 0x520092: ??? (in /usr/local/bin/php) ==9714== by 0x51E141: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51F504: ??? (in /usr/local/bin/php) ==9714== by 0x51E157: ??? (in /usr/local/bin/php) ==9714== by 0x520B0D: ??? (in /usr/local/bin/php) ==9714== by 0x520B67: ??? (in /usr/local/bin/php) ==9714== by 0x4FA55B: ??? (in /usr/local/bin/php) ==9714== ==9714== ==9714== More than 100 errors detected. Subsequent errors ==9714== will still be recorded, but in less detail than before. ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x50FC4C: ??? (in /usr/local/bin/php) ==9714== by 0x51D310: ??? (in /usr/local/bin/php) ==9714== by 0x51752B: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51FF3E: ??? (in /usr/local/bin/php) ==9714== by 0x51E141: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51F504: ??? (in /usr/local/bin/php) ==9714== ==9714== Conditional jump or move depends on uninitialised value(s) ==9714== at 0x559612: zend_string_equal_val (in /usr/local/bin/php) ==9714== by 0x519523: ??? (in /usr/local/bin/php) ==9714== by 0x51FF34: ??? (in /usr/local/bin/php) ==9714== by 0x51740C: ??? (in /usr/local/bin/php) ==9714== by 0x51AB7F: ??? (in /usr/local/bin/php) ==9714== by 0x51AE9B: ??? (in /usr/local/bin/php) ==9714== by 0x51B8C8: ??? (in /usr/local/bin/php) ==9714== by 0x5175DF: ??? (in /usr/local/bin/php) ==9714== by 0x51DFC6: ??? (in /usr/local/bin/php) ==9714== by 0x51F1A6: ??? (in /usr/local/bin/php) ==9714== by 0x51E12D: ??? (in /usr/local/bin/php) ==9714== by 0x51E459: ??? (in /usr/local/bin/php) ==9714== ==9714== ==9714== Process terminating with default action of signal 2 (SIGINT) ==9714== at 0x4044A95: kill (in /lib/ld-musl-x86_64.so.1) ==9714== ==9714== HEAP SUMMARY: ==9714== in use at exit: 3,993,272 bytes in 28,638 blocks ==9714== total heap usage: 45,161 allocs, 16,523 frees, 10,225,501 bytes allocated ==9714== ==9714== LEAK SUMMARY: ==9714== definitely lost: 3,192 bytes in 133 blocks ==9714== indirectly lost: 400 bytes in 12 blocks ==9714== possibly lost: 2,260,554 bytes in 17,631 blocks ==9714== still reachable: 1,729,126 bytes in 10,862 blocks ==9714== suppressed: 0 bytes in 0 blocks ==9714== Rerun with --leak-check=full to see details of leaked memory ==9714== ==9714== Use --track-origins=yes to see where uninitialised values come from ==9714== For lists of detected and suppressed errors, rerun with: -s ==9714== ERROR SUMMARY: 5363 errors from 102 contexts (suppressed: 0 from 0)

huanghantao commented 3 years ago

Sorry, I didn't find any useful log.

huanghantao commented 3 years ago

You can delete yasd.debug_log. It is possible that this was configured to cause the problem.

juber-nunes commented 3 years ago

done

juber-nunes commented 3 years ago

any other suggestions, anything at this stage :)

huanghantao commented 3 years ago

Maybe you can see if you can debug single file.

huanghantao commented 3 years ago

And are you Chinese? May be I can help you remotely.

juber-nunes commented 3 years ago

I'm not Chinese. I feel the whole thing is almost there, perhaps the way "laravels" is setup. https://github.com/hhxsv5/laravel-s

juber-nunes commented 3 years ago

As well, the browser doen't seem to trigger breakpoints. If you want me to try PHPStorm I can try that as well

huanghantao commented 3 years ago

I'm not Chinese. I feel the whole thing is almost there, perhaps the way "laravels" is setup. https://github.com/hhxsv5/laravel-s

OK, I'll try laravel-s today

juber-nunes commented 3 years ago

That's brilliant. Out of curiosity what are you using to serve your application with swoole?

huanghantao commented 3 years ago

Hi, I find this is a yasd bug.

image
huanghantao commented 3 years ago

laravel-s will execute:

php -c php.ini artisan laravels config
image

but it will coredump:

image
huanghantao commented 3 years ago

Hi, I found this problem because Opcache was installed. When I disable opcache, I can debug laravel-s:

image image image image image

I am debugging on the host, so path mapping is not configured, you should configure it.

juber-nunes commented 3 years ago

That's brilliant, I'll test it right away.

juber-nunes commented 3 years ago

Still no luck on that on VSCode but I'll try those steps on PHPStorm. My scenario is like this, app, db, redis are conteinerized and working fine. Serving the application with laravel-s. VSCode picks it something but not the application.

image

image

I've stopped laravel-s and served the application with php -S x.x.x.x:3000 and using the Xdebug and a browser plugin I was able to debug the application. Something funny with laravel-s perhaps.

huanghantao commented 3 years ago

Can you use yasd to debug the entry file bin/laravels?Maybe you can set a breakpoint in 'bin/laravels'.

juber-nunes commented 3 years ago

The same I'm afraid. :(

image

huanghantao commented 3 years ago

You don't seem to have set breakpoints in bin/laravels. Just like:

image