--------- ==1668== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1668== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==1668== Command: /qa/binaries/MS131218-mysql-8.0.13-linux-x86_64-val-debug/bin/mysqld --no-defaults --basedir=/qa/binaries/MS131218-mysql-8.0.13-linux-x86_64-val-debug --datadir=/dev/shm/1544698458/data --port=33293 --tmpdir=/dev/shm/1544698458/tmp --pid-file=/dev/shm/1544698458/pid.pid --core-file --log-error=/dev/shm/1544698458/error.log.out --socket=/dev/shm/1544698458/socket.sock ==1668== 2018-12-14T04:50:41.785674Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2018-12-14T04:50:41.886348Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/dev/shm' in the path is accessible to all OS users. Consider choosing a different directory. 2018-12-14T04:50:47.202275Z 0 [System] [MY-010931] [Server] /qa/binaries/MS131218-mysql-8.0.13-linux-x86_64-val-debug/bin/mysqld: ready for connections. Version: '8.0.13-debug-valgrind' socket: '/dev/shm/1544698458/socket.sock' port: 33293 Source distribution. 2018-12-14T04:50:49.200524Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' 2018-12-14T04:50:49.227862Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of bind-address: '*' port: 33060 failed, `bind()` failed with error: Address already in use (98). Do you already have another mysqld server running with Mysqlx ?' 2018-12-14T04:50:49.260347Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/tmp/mysqlx.sock' failed, another process with PID 9414 is using UNIX socket file' 2018-12-14T04:50:49.294049Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. ==1668== Thread 38: ==1668== Invalid read of size 1 ==1668== at 0x33C69EB: Item_field::print(String*, enum_query_type) (item.cc:7001) ==1668== by 0x4238D5C: dd::fill_dd_partition_from_create_info(THD*, dd::Table*, HA_CREATE_INFO const*, List const&, partition_info*) (dd_table.cc:1478) ==1668== by 0x423BC10: dd::fill_dd_table_from_create_info(THD*, dd::Table*, std::__cxx11::basic_string, Stateless_allocator > const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO const*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2109) ==1668== by 0x423D12F: dd::create_dd_user_table(THD*, dd::Schema const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2263) ==1668== by 0x423D2CD: dd::create_table(THD*, dd::Schema const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2286) ==1668== by 0x309B44D: rea_create_base_table(THD*, char const*, dd::Schema const&, char const*, char const*, HA_CREATE_INFO*, List&, unsigned int, KEY*, Alter_info::enum_enable_or_disable, unsigned int, FOREIGN_KEY*, handler*, bool, bool, partition_info*, bool*, std::unique_ptr >*, handlerton**) (sql_table.cc:903) ==1668== by 0x30AFF05: create_table_impl(THD*, dd::Schema const&, char const*, char const*, char const*, char const*, HA_CREATE_INFO*, Alter_info*, bool, unsigned int, bool, bool, bool, bool*, KEY**, unsigned int*, Alter_info::enum_enable_or_disable, FOREIGN_KEY**, unsigned int*, FOREIGN_KEY*, unsigned int, dd::Table const*, unsigned int, std::unique_ptr >*, handlerton**) (sql_table.cc:7906) ==1668== by 0x30C6AAD: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:14699) ==1668== by 0x35C9E39: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:345) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== Address 0x3f637740 is 32 bytes inside a block of size 34 free'd ==1668== at 0x7A91DBB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1668== by 0x455FB41: my_raw_free(void*) (my_malloc.cc:281) ==1668== by 0x455F9CE: my_free(void*) (my_malloc.cc:153) ==1668== by 0x455F8B2: my_realloc(unsigned int, void*, unsigned long, int) (my_malloc.cc:124) ==1668== by 0x314DF2C: TABLE::init(THD*, TABLE_LIST*) (table.cc:3968) ==1668== by 0x2F454E3: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:3437) ==1668== by 0x2F48D6E: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, Prelocking_strategy*, bool, Open_table_context*) (sql_base.cc:5004) ==1668== by 0x2F4A328: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:5649) ==1668== by 0x30C49EB: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:14044) ==1668== by 0x35C9E39: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:345) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== Block was alloc'd at ==1668== at 0x7A90B8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1668== by 0x455FA1E: my_raw_malloc(unsigned long, int) (my_malloc.cc:199) ==1668== by 0x455F676: my_malloc(unsigned int, unsigned long, int) (my_malloc.cc:81) ==1668== by 0x455FBD5: my_strdup(unsigned int, char const*, int) (my_malloc.cc:295) ==1668== by 0x314A0C5: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool, dd::Table const*) (table.cc:2793) ==1668== by 0x2F450D3: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:3338) ==1668== by 0x2F48D6E: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, Prelocking_strategy*, bool, Open_table_context*) (sql_base.cc:5004) ==1668== by 0x2F4A328: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:5649) ==1668== by 0x2F4BE75: open_tables_for_query(THD*, TABLE_LIST*, unsigned int) (sql_base.cc:6524) ==1668== by 0x30668CA: Sql_cmd_dml::prepare(THD*) (sql_select.cc:384) ==1668== by 0x306708C: Sql_cmd_dml::execute(THD*) (sql_select.cc:533) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== ==1668== Invalid read of size 1 ==1668== at 0x33B794B: Item_ident::print(String*, enum_query_type, char const*, char const*) const (item.cc:2600) ==1668== by 0x33D0ADA: Item_ident::print(String*, enum_query_type) (item.h:3115) ==1668== by 0x33C6A94: Item_field::print(String*, enum_query_type) (item.cc:7005) ==1668== by 0x4238D5C: dd::fill_dd_partition_from_create_info(THD*, dd::Table*, HA_CREATE_INFO const*, List const&, partition_info*) (dd_table.cc:1478) ==1668== by 0x423BC10: dd::fill_dd_table_from_create_info(THD*, dd::Table*, std::__cxx11::basic_string, Stateless_allocator > const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO const*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2109) ==1668== by 0x423D12F: dd::create_dd_user_table(THD*, dd::Schema const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2263) ==1668== by 0x423D2CD: dd::create_table(THD*, dd::Schema const&, std::__cxx11::basic_string, Stateless_allocator > const&, HA_CREATE_INFO*, List const&, KEY const*, unsigned int, Alter_info::enum_enable_or_disable, FOREIGN_KEY const*, unsigned int, handler*) (dd_table.cc:2286) ==1668== by 0x309B44D: rea_create_base_table(THD*, char const*, dd::Schema const&, char const*, char const*, HA_CREATE_INFO*, List&, unsigned int, KEY*, Alter_info::enum_enable_or_disable, unsigned int, FOREIGN_KEY*, handler*, bool, bool, partition_info*, bool*, std::unique_ptr >*, handlerton**) (sql_table.cc:903) ==1668== by 0x30AFF05: create_table_impl(THD*, dd::Schema const&, char const*, char const*, char const*, char const*, HA_CREATE_INFO*, Alter_info*, bool, unsigned int, bool, bool, bool, bool*, KEY**, unsigned int*, Alter_info::enum_enable_or_disable, FOREIGN_KEY**, unsigned int*, FOREIGN_KEY*, unsigned int, dd::Table const*, unsigned int, std::unique_ptr >*, handlerton**) (sql_table.cc:7906) ==1668== by 0x30C6AAD: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:14699) ==1668== by 0x35C9E39: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:345) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== Address 0x3f637740 is 32 bytes inside a block of size 34 free'd ==1668== at 0x7A91DBB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1668== by 0x455FB41: my_raw_free(void*) (my_malloc.cc:281) ==1668== by 0x455F9CE: my_free(void*) (my_malloc.cc:153) ==1668== by 0x455F8B2: my_realloc(unsigned int, void*, unsigned long, int) (my_malloc.cc:124) ==1668== by 0x314DF2C: TABLE::init(THD*, TABLE_LIST*) (table.cc:3968) ==1668== by 0x2F454E3: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:3437) ==1668== by 0x2F48D6E: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, Prelocking_strategy*, bool, Open_table_context*) (sql_base.cc:5004) ==1668== by 0x2F4A328: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:5649) ==1668== by 0x30C49EB: mysql_alter_table(THD*, char const*, char const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*) (sql_table.cc:14044) ==1668== by 0x35C9E39: Sql_cmd_alter_table::execute(THD*) (sql_alter.cc:345) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== Block was alloc'd at ==1668== at 0x7A90B8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1668== by 0x455FA1E: my_raw_malloc(unsigned long, int) (my_malloc.cc:199) ==1668== by 0x455F676: my_malloc(unsigned int, unsigned long, int) (my_malloc.cc:81) ==1668== by 0x455FBD5: my_strdup(unsigned int, char const*, int) (my_malloc.cc:295) ==1668== by 0x314A0C5: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool, dd::Table const*) (table.cc:2793) ==1668== by 0x2F450D3: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:3338) ==1668== by 0x2F48D6E: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, Prelocking_strategy*, bool, Open_table_context*) (sql_base.cc:5004) ==1668== by 0x2F4A328: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:5649) ==1668== by 0x2F4BE75: open_tables_for_query(THD*, TABLE_LIST*, unsigned int) (sql_base.cc:6524) ==1668== by 0x30668CA: Sql_cmd_dml::prepare(THD*) (sql_select.cc:384) ==1668== by 0x306708C: Sql_cmd_dml::execute(THD*) (sql_select.cc:533) ==1668== by 0x3001E95: mysql_execute_command(THD*, bool) (sql_parse.cc:4307) ==1668== by 0x3004919: mysql_parse(THD*, Parser_state*, bool) (sql_parse.cc:5041) ==1668== by 0x2FF9EA3: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1687) ==1668== by 0x2FF8505: do_command(THD*) (sql_parse.cc:1260) ==1668== by 0x31AE7D2: handle_connection (connection_handler_per_thread.cc:308) ==1668== by 0x4C89289: pfs_spawn_thread (pfs.cc:2836) ==1668== by 0x7CA46B9: start_thread (pthread_create.c:333) ==1668== by 0x994341C: clone (clone.S:109) ==1668== ==1668== ==1668== HEAP SUMMARY: ==1668== in use at exit: 72,832 bytes in 3 blocks ==1668== total heap usage: 765,866 allocs, 765,863 frees, 736,234,040 bytes allocated ==1668== ==1668== LEAK SUMMARY: ==1668== definitely lost: 0 bytes in 0 blocks ==1668== indirectly lost: 0 bytes in 0 blocks ==1668== possibly lost: 0 bytes in 0 blocks ==1668== still reachable: 0 bytes in 0 blocks ==1668== suppressed: 72,832 bytes in 3 blocks ==1668== ==1668== For counts of detected and suppressed errors, rerun with: -v ==1668== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)