multi_source.mdev-8874 'innodb' w1 [ fail ]
|
Test ended at 2020-01-16 06:58:54
|
|
CURRENT_TEST: multi_source.mdev-8874
|
|
|
The server [mysqld.4 - pid: 30154, winpid: 30154, exit: 256] crashed while running 'check testcase after test'
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2020-01-16 6:58:47 140464650402048 [Note] /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld (mysqld 10.2.31-MariaDB-debug-log) starting as process 30159 ...
|
2020-01-16 6:58:47 140464650402048 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4186)
|
2020-01-16 6:58:47 140464650402048 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
|
2020-01-16 6:58:47 140464650402048 [Warning] setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals
|
2020-01-16 6:58:47 140464650402048 [Note] Plugin 'SEQUENCE' is disabled.
|
2020-01-16 6:58:47 140464650402048 [Note] Plugin 'partition' is disabled.
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Uses event mutexes
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Compressed tables use zlib 1.2.8
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Using Linux native AIO
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Number of pools: 1
|
2020-01-16 6:58:47 140464650402048 [Note] InnoDB: Using generic crc32 instructions
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Completed initialization of buffer pool
|
2020-01-16 6:58:48 140464367277824 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Highest supported file format is Barracuda.
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: 128 out of 128 rollback segments are active.
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: Waiting for purge to start
|
2020-01-16 6:58:48 140464650402048 [Note] InnoDB: 5.7.28 started; log sequence number 1628840
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_MUTEXES' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_CMP' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'FEEDBACK' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'user_variables' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
|
2020-01-16 6:58:48 140464650402048 [Warning] /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld: unknown option '--loose-pam-debug'
|
2020-01-16 6:58:48 140464270223104 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var/1/mysqld.4/data/ib_buffer_pool
|
2020-01-16 6:58:48 140464270223104 [Note] InnoDB: Buffer pool(s) load completed at 200116 6:58:48
|
2020-01-16 6:58:49 140464650402048 [Note] Server socket created on IP: '127.0.0.1'.
|
2020-01-16 6:58:49 140464650402048 [Note] Reading of all Master_info entries succeeded
|
2020-01-16 6:58:49 140464650402048 [Note] Added new Master_info '' to hash table
|
2020-01-16 6:58:49 140464650402048 [Note] /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld: ready for connections.
|
Version: '10.2.31-MariaDB-debug-log' socket: '/dev/shm/var/tmp/1/mysqld.4.sock' port: 16003 Source distribution
|
2020-01-16 6:58:50 140464214296320 [Note] Added new Master_info 'm1' to hash table
|
2020-01-16 6:58:50 140464214296320 [Note] Master connection name: 'm1' Master_info_file: 'master-m1.info' Relay_info_file: 'relay-log-m1.info'
|
2020-01-16 6:58:50 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16000', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:50 140464214296320 [Note] Added new Master_info 'm2' to hash table
|
2020-01-16 6:58:50 140464214296320 [Note] Master connection name: 'm2' Master_info_file: 'master-m2.info' Relay_info_file: 'relay-log-m2.info'
|
2020-01-16 6:58:50 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16001', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:50 140464214296320 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay-log.info'
|
2020-01-16 6:58:50 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16002', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:50 140464210700032 [Note] Master 'm2': Slave I/O thread: connected to master 'root@127.0.0.1:16001',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:50 140464210167552 [Note] Master 'm2': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin-m2.000001' position: 4
|
2020-01-16 6:58:50 140464209102592 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin.000001' position: 4
|
2020-01-16 6:58:50 140464209635072 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16002',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:50 140464208570112 [Note] Master 'm1': Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:50 140464208037632 [Note] Master 'm1': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin-m1.000001' position: 4
|
2020-01-16 6:58:50 140464210167552 [Note] Master 'm2': Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:50 140464210167552 [Note] Master 'm2': Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1108
|
2020-01-16 6:58:50 140464210700032 [Note] Master 'm2': Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1108
|
2020-01-16 6:58:50 140464209102592 [Note] Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:50 140464209102592 [Note] Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1108
|
2020-01-16 6:58:50 140464209635072 [Note] Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1108
|
2020-01-16 6:58:50 140464208037632 [Note] Master 'm1': Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:50 140464208037632 [Note] Master 'm1': Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1108
|
2020-01-16 6:58:50 140464208570112 [Note] Master 'm1': Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1108
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/master-m1.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/relay-log-m1.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/master-m2.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/relay-log-m2.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/master.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Deleted Master_info file '/dev/shm/var/1/mysqld.4/data/relay-log.info'.
|
2020-01-16 6:58:50 140464214296320 [Note] Added new Master_info 'm1' to hash table
|
2020-01-16 6:58:50 140464214296320 [Note] Master connection name: 'm1' Master_info_file: 'master-m1.info' Relay_info_file: 'relay-log-m1.info'
|
2020-01-16 6:58:51 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16000', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:51 140464214296320 [Note] Added new Master_info 'm2' to hash table
|
2020-01-16 6:58:51 140464214296320 [Note] Master connection name: 'm2' Master_info_file: 'master-m2.info' Relay_info_file: 'relay-log-m2.info'
|
2020-01-16 6:58:51 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16001', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:51 140464214296320 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay-log.info'
|
2020-01-16 6:58:51 140464214296320 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16002', master_log_file='', master_log_pos='4'.
|
2020-01-16 6:58:51 140464208037632 [Note] Master 'm2': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin-m2.000001' position: 4
|
2020-01-16 6:58:51 140464209102592 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin.000001' position: 4
|
2020-01-16 6:58:51 140464208570112 [Note] Master 'm2': Slave I/O thread: connected to master 'root@127.0.0.1:16001',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:51 140464209635072 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16002',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:51 140464210167552 [Note] Master 'm1': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin-m1.000001' position: 4
|
2020-01-16 6:58:51 140464210700032 [Note] Master 'm1': Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'FIRST' at position 4
|
2020-01-16 6:58:51 140464208037632 [Note] Master 'm2': Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:51 140464208037632 [Note] Master 'm2': Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1229
|
2020-01-16 6:58:51 140464208570112 [Note] Master 'm2': Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1229
|
2020-01-16 6:58:51 140464209102592 [Note] Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:51 140464209102592 [Note] Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1229
|
2020-01-16 6:58:51 140464209635072 [Note] Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1229
|
2020-01-16 6:58:51 140464210167552 [Note] Master 'm1': Error reading relay log event: slave SQL thread was killed
|
2020-01-16 6:58:51 140464210167552 [Note] Master 'm1': Slave SQL thread exiting, replication stopped in log 'mysqld-bin.000001' at position 1229
|
2020-01-16 6:58:51 140464210700032 [Note] Master 'm1': Slave I/O thread exiting, read up to log 'mysqld-bin.000001', position 1229
|
=================================================================
|
==30159==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000030c38 at pc 0x000001f0cc69 bp 0x7fc05f985770 sp 0x7fc05f985760
|
READ of size 1 at 0x607000030c38 thread T28
|
#0 0x1f0cc68 in strend /home/buildbot/buildbot/build/mariadb-10.2.31/strings/strend.c:45
|
#1 0x98276d in get_one_variable(THD*, st_mysql_show_var const*, enum_var_type, enum_mysql_show_type, system_status_var*, charset_info_st const**, char*, unsigned long*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_show.cc:3437
|
#2 0x9835a9 in show_status_array /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_show.cc:3580
|
#3 0x9b1a1b in fill_variables(THD*, TABLE_LIST*, Item*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_show.cc:7521
|
#4 0x9b9bd8 in get_schema_tables_result(JOIN*, enum_schema_table_state) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_show.cc:8448
|
#5 0x8b72a4 in JOIN::exec_inner() /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_select.cc:3593
|
#6 0x8b566d in JOIN::exec() /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_select.cc:3424
|
#7 0x8b8a82 in mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_select.cc:3824
|
#8 0x897bdf in handle_select(THD*, LEX*, select_result*, unsigned long) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_select.cc:373
|
#9 0x81c0b4 in execute_sqlcom_select /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:6225
|
#10 0x80a8c7 in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:3532
|
#11 0x1196db9 in sp_instr_stmt::exec_core(THD*, unsigned int*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sp_head.cc:3248
|
#12 0x11959e2 in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sp_head.cc:3011
|
#13 0x1196678 in sp_instr_stmt::execute(THD*, unsigned int*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sp_head.cc:3164
|
#14 0x118bd67 in sp_head::execute(THD*, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sp_head.cc:1329
|
#15 0x118fbdd in sp_head::execute_procedure(THD*, List<Item>*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sp_head.cc:2118
|
#16 0x806e11 in do_execute_sp /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:2954
|
#17 0x8175aa in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:5572
|
#18 0x824b6a in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:7740
|
#19 0x8011d1 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:1831
|
#20 0x7fe2c7 in do_command(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:1385
|
#21 0xb37eec in do_handle_one_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_connect.cc:1336
|
#22 0xb378d0 in handle_one_connection /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_connect.cc:1241
|
#23 0x130cebd in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1862
|
#24 0x7fc07713c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
|
#25 0x7fc0765d182c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10682c)
|
|
0x607000030c38 is located 8 bytes inside of 80-byte region [0x607000030c30,0x607000030c80)
|
freed by thread T35 here:
|
#0 0x7fc07891a2ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
|
#1 0x1e1e478 in my_free /home/buildbot/buildbot/build/mariadb-10.2.31/mysys/my_malloc.c:218
|
#2 0xd5268e in mysql_close_free_options /home/buildbot/buildbot/build/mariadb-10.2.31/sql-common/client.c:3590
|
#3 0xd53215 in mysql_close /home/buildbot/buildbot/build/mariadb-10.2.31/sql-common/client.c:3753
|
#4 0x67d45a in handle_slave_io /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:4650
|
#5 0x130cebd in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1862
|
#6 0x7fc07713c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
|
|
previously allocated by thread T35 here:
|
#0 0x7fc07891a602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
|
#1 0x1e1da93 in my_malloc /home/buildbot/buildbot/build/mariadb-10.2.31/mysys/my_malloc.c:101
|
#2 0x1e1e7b6 in my_strdup /home/buildbot/buildbot/build/mariadb-10.2.31/mysys/my_malloc.c:241
|
#3 0xd56688 in mysql_options /home/buildbot/buildbot/build/mariadb-10.2.31/sql-common/client.c:4099
|
#4 0x689044 in connect_to_master /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:6727
|
#5 0x688866 in safe_connect /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:6657
|
#6 0x67bc7f in handle_slave_io /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:4335
|
#7 0x130cebd in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1862
|
#8 0x7fc07713c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
|
|
Thread T28 created by T0 here:
|
#0 0x7fc0788b8253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
|
#1 0x130d2aa in spawn_thread_v1 /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1912
|
#2 0x601906 in inline_mysql_thread_create /home/buildbot/buildbot/build/mariadb-10.2.31/include/mysql/psi/mysql_thread.h:1239
|
#3 0x616685 in create_thread_to_handle_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld.cc:6506
|
#4 0x616da9 in create_new_thread /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld.cc:6576
|
#5 0x617e09 in handle_connections_sockets() /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld.cc:6851
|
#6 0x615b63 in mysqld_main(int, char**) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld.cc:6125
|
#7 0x5ffc45 in main /home/buildbot/buildbot/build/mariadb-10.2.31/sql/main.cc:25
|
#8 0x7fc0764eb82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
|
|
Thread T35 created by T28 here:
|
#0 0x7fc0788b8253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
|
#1 0x130d2aa in spawn_thread_v1 /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1912
|
#2 0x6648a2 in inline_mysql_thread_create /home/buildbot/buildbot/build/mariadb-10.2.31/include/mysql/psi/mysql_thread.h:1239
|
#3 0x66968f in start_slave_thread(unsigned int, void* (*)(void*), st_mysql_mutex*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, unsigned long volatile*, Master_info*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:934
|
#4 0x669fce in start_slave_threads(THD*, bool, bool, Master_info*, char const*, char const*, int) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/slave.cc:1056
|
#5 0x88d1e4 in start_slave(THD*, Master_info*, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_repl.cc:3146
|
#6 0xb2367b in Master_info_index::start_all_slaves(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/rpl_mi.cc:1635
|
#7 0x80c090 in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:3895
|
#8 0x824b6a in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:7740
|
#9 0x8011d1 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:1831
|
#10 0x7fe2c7 in do_command(THD*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_parse.cc:1385
|
#11 0xb37eec in do_handle_one_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_connect.cc:1336
|
#12 0xb378d0 in handle_one_connection /home/buildbot/buildbot/build/mariadb-10.2.31/sql/sql_connect.cc:1241
|
#13 0x130cebd in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.2.31/storage/perfschema/pfs.cc:1862
|
#14 0x7fc07713c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
|
|
SUMMARY: AddressSanitizer: heap-use-after-free /home/buildbot/buildbot/build/mariadb-10.2.31/strings/strend.c:45 strend
|
Shadow bytes around the buggy address:
|
0x0c0e7fffe130: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c0e7fffe140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c0e7fffe150: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c0e7fffe160: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c0e7fffe170: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
|
=>0x0c0e7fffe180: fd fa fa fa fa fa fd[fd]fd fd fd fd fd fd fd fd
|
0x0c0e7fffe190: fa fa fa fa fd fd fd fd fd fd fd fd fd fa fa fa
|
0x0c0e7fffe1a0: fa fa fd fd fd fd fd fd fd fd fd fa fa fa fa fa
|
0x0c0e7fffe1b0: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fd fd
|
0x0c0e7fffe1c0: fd fd fd fd fd fd fd fa fa fa fa fa fd fd fd fd
|
0x0c0e7fffe1d0: fd fd fd fd fd fd fa fa fa fa fd fd fd fd fd fd
|
Shadow byte legend (one shadow byte represents 8 application bytes):
|
Addressable: 00
|
Partially addressable: 01 02 03 04 05 06 07
|
Heap left redzone: fa
|
Heap right redzone: fb
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
Stack partial redzone: f4
|
Stack after return: f5
|
Stack use after scope: f8
|
Global redzone: f9
|
Global init order: f6
|
Poisoned by user: f7
|
Container overflow: fc
|
Array cookie: ac
|
Intra object redzone: bb
|
ASan internal: fe
|
==30159==ABORTING
|
200116 6:58:53 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.2.31-MariaDB-debug-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=153
|
thread_count=8
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63103 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x62a00008a208
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7fc05f98bc70 thread_stack 0x5b000
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(+0x4a077)[0x7fc0788cc077]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(my_print_stacktrace+0xc6)[0x1e2e32e]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(handle_fatal_signal+0x8a9)[0xde7f7b]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fc077146390]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fc076500428]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fc07650202a]
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(+0xaddc9)[0x7fc07892fdc9]
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(+0xa0769)[0x7fc078922769]
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(+0xa55d2)[0x7fc0789275d2]
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(__asan_report_error+0x416)[0x7fc0789216e6]
|
/usr/lib/x86_64-linux-gnu/libasan.so.2(__asan_report_load1+0x33)[0x7fc078922b13]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(strend+0x47)[0x1f0cc69]
|
fil/fil0fil.cc:1745(fil_space_close(char const*))[0x98276e]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld[0x9835aa]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z14fill_variablesP3THDP10TABLE_LISTP4Item+0x497)[0x9b1a1c]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0xbc0)[0x9b9bd9]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_ZN4JOIN10exec_innerEv+0x1a87)[0x8b72a5]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_ZN4JOIN4execEv+0x204)[0x8b566e]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x779)[0x8b8a83]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x4c5)[0x897be0]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld[0x81c0b5]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z21mysql_execute_commandP3THD+0x394b)[0x80a8c8]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x20)[0x1196dba]
|
sql/field.cc:6166(Field_time::cmp(unsigned char const*, unsigned char const*))[0x11959e3]
|
sql/field.cc:6087(Field_time::val_int())[0x1196679]
|
sql/field.cc:6146(Field_time::get_date(st_mysql_time*, unsigned long long))[0x118bd68]
|
sql/field.cc:5219(Field_timestamp::store_time_dec(st_mysql_time*, unsigned int))[0x118fbde]
|
sql/field.cc:5563(read_bigendian(unsigned char const*, unsigned int))[0x806e12]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z21mysql_execute_commandP3THD+0x1062e)[0x8175ab]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x6a2)[0x824b6b]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1ed3)[0x8011d2]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z10do_commandP3THD+0x115d)[0x7fe2c8]
|
/home/buildbot/buildbot/build/mariadb-10.2.31/sql/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x48c)[0xb37eed]
|
sql/sql_cache.cc:3173(Query_cache::write_result_data(Query_cache_block**, unsigned long, unsigned char*, Query_cache_block*, Query_cache_block::block_type))[0xb378d1]
|
sql/sql_cache.cc:3099(Query_cache::append_result_data(Query_cache_block**, unsigned long, unsigned char*, Query_cache_block*))[0x130cebe]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fc07713c6ba]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fc0765d182d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x62500033b928): SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE variable_name NOT IN ('timestamp', 'innodb_file_format_max') AND variable_name not like "Last_IO_Err*" AND variable_name != 'INNODB_IBUF_MAX_SIZE' AND variable_name != 'INNODB_USE_NATIVE_AIO' AND variable_name != 'INNODB_BUFFER_POOL_LOAD_AT_STARTUP' AND variable_name not like 'GTID%POS' AND variable_name != 'GTID_BINLOG_STATE' ORDER BY variable_name
|
Connection ID (thread ID): 24
|
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
|
|
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /dev/shm/var/1/mysqld.4/data
|
Resource Limits:
|
Limit Soft Limit Hard Limit Units
|
Max cpu time unlimited unlimited seconds
|
Max file size unlimited unlimited bytes
|
Max data size unlimited unlimited bytes
|
Max stack size 8388608 unlimited bytes
|
Max core file size 0 0 bytes
|
Max resident set unlimited unlimited bytes
|
Max processes 23715 23715 processes
|
Max open files 1024 1024 files
|
Max locked memory 65536 65536 bytes
|
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals 23715 23715 signals
|
Max msgqueue size 819200 819200 bytes
|
Max nice priority 0 0
|
Max realtime priority 0 0
|
Max realtime timeout unlimited unlimited us
|
Core pattern: |/usr/share/apport/apport %p %s %c %P
|
|
----------SERVER LOG END-------------
|
mysqltest failed but provided no output
|
The result from queries just before the failure was:
|
< snip >
|
use c;
|
#No t1 table
|
show tables;
|
Tables_in_c
|
t2
|
#CleanUp
|
connection server_1;
|
drop database a;
|
connection server_2;
|
drop database b;
|
connection server_3;
|
drop database c;
|
connection server_4;
|
stop all slaves;
|
SET default_master_connection = "m1";
|
include/wait_for_slave_to_stop.inc
|
SET default_master_connection = "m2";
|
include/wait_for_slave_to_stop.inc
|
SET default_master_connection = "";
|
include/wait_for_slave_to_stop.inc
|
|
|
|
- saving '/dev/shm/var/1/log/multi_source.mdev-8874-innodb/' to '/dev/shm/var/log/multi_source.mdev-8874-innodb/'
|
worker[1] > Restart - using different config file
|
worker[1] > Restart - using different config file
|
worker[1] > Restart - using different config file
|
worker[1] > Restart - using different config file
|
***Warnings generated in error logs during shutdown after running tests: multi_source.mdev-8874
|
|
==30159==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000030c38 at pc 0x000001f0cc69 bp 0x7fc05f985770 sp 0x7fc05f985760
|
SUMMARY: AddressSanitizer: heap-use-after-free /home/buildbot/buildbot/build/mariadb-10.2.31/strings/strend.c:45 strend
|
Attempting backtrace. You can use the following information to find out
|
Similar failure with multi_source.info_logs :
./mtr --repeat=200 --parallel=auto multi_source.info_logs --force-restart
10.3 cba9ed12790727c703
multi_source.info_logs w1 [ 28 fail ]
Test ended at 2020-01-10 12:21:05
CURRENT_TEST: multi_source.info_logs
The server [mysqld.3 - pid: 12813, winpid: 12813, exit: 256] crashed while running 'check testcase after test'
Server log from this test:
----------SERVER LOG START-----------
2020-01-10 12:21:02 0 [Note] /10.3/sql/mysqld (mysqld 10.3.22-MariaDB-debug-log) starting as process 12610 ...
2020-01-10 12:21:02 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4186)
2020-01-10 12:21:02 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
2020-01-10 12:21:02 0 [Warning] setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals
2020-01-10 12:21:02 0 [Note] Plugin 'partition' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'InnoDB' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'SEQUENCE' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_LOCKS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMPMEM' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMP' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'user_variables' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_TRX' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_BUFFER_PAGE' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_METRICS' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2020-01-10 12:21:02 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2020-01-10 12:21:02 0 [Warning] /10.3/sql/mysqld: unknown option '--loose-pam-debug'
2020-01-10 12:21:02 0 [Note] Server socket created on IP: '127.0.0.1'.
2020-01-10 12:21:02 0 [Note] Reading of all Master_info entries succeeded
2020-01-10 12:21:02 0 [Note] Added new Master_info '' to hash table
2020-01-10 12:21:02 0 [Note] /10.3/sql/mysqld: ready for connections.
Version: '10.3.22-MariaDB-debug-log' socket: '/10.3/mysql-test/var/tmp/1/mysqld.3.sock' port: 16002 Source distribution
2020-01-10 12:21:03 4 [Note] Added new Master_info 'master1' to hash table
2020-01-10 12:21:03 4 [Note] Master connection name: 'master1' Master_info_file: 'master-master1.info' Relay_info_file: 'relay.bin-master1.info'
2020-01-10 12:21:03 4 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16000', master_log_file='', master_log_pos='4'.
2020-01-10 12:21:03 5 [Note] Master 'master1': Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16000' in log '' at position 4
2020-01-10 12:21:03 6 [Note] Master 'master1': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './relay-master1.000001' position: 4
2020-01-10 12:21:03 5 [Note] Master 'master1': Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'FIRST' at position 4
2020-01-10 12:21:03 4 [Note] Added new Master_info 'MASTER 2.2' to hash table
2020-01-10 12:21:03 4 [Note] Master connection name: 'MASTER 2.2' Master_info_file: 'master-master@00202@002e2.info' Relay_info_file: 'relay.bin-master@00202@002e2.info'
2020-01-10 12:21:03 4 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16001', master_log_file='', master_log_pos='4'.
2020-01-10 12:21:03 7 [Note] Master 'MASTER 2.2': Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16001' in log '' at position 4
2020-01-10 12:21:03 7 [Note] Master 'MASTER 2.2': Slave I/O thread: connected to master 'root@127.0.0.1:16001',replication started in log 'FIRST' at position 4
2020-01-10 12:21:03 8 [Note] Master 'MASTER 2.2': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './relay-master@00202@002e2.000001' position: 4
2020-01-10 12:21:03 6 [Note] Master 'master1': Error reading relay log event: slave SQL thread was killed
2020-01-10 12:21:03 6 [Note] Master 'master1': Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 329
2020-01-10 12:21:03 5 [Note] Master 'master1': Slave I/O thread exiting, read up to log 'master-bin.000001', position 329
2020-01-10 12:21:03 4 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/master-master1.info'.
2020-01-10 12:21:03 4 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/relay.bin-master1.info'.
2020-01-10 12:21:03 4 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay.bin.info'
2020-01-10 12:21:03 4 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16000', master_log_file='', master_log_pos='4'.
2020-01-10 12:21:03 9 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16000' in log '' at position 4
2020-01-10 12:21:03 9 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'FIRST' at position 4
2020-01-10 12:21:03 10 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './relay.000001' position: 4
2020-01-10 12:21:03 0 [Note] /10.3/sql/mysqld (initiated by: root[root] @ localhost [127.0.0.1]): Normal shutdown
2020-01-10 12:21:03 0 [Note] Event Scheduler: Purging the queue. 0 events
2020-01-10 12:21:03 8 [Note] Master 'MASTER 2.2': Error reading relay log event: slave SQL thread was killed
2020-01-10 12:21:03 8 [Note] Master 'MASTER 2.2': Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 329
2020-01-10 12:21:03 7 [Note] Master 'MASTER 2.2': Slave I/O thread exiting, read up to log 'master-bin.000001', position 329
2020-01-10 12:21:03 10 [Note] Error reading relay log event: slave SQL thread was killed
2020-01-10 12:21:03 10 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 329
2020-01-10 12:21:03 9 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 329
2020-01-10 12:21:03 0 [Note] Debug sync points hit: 2770
2020-01-10 12:21:03 0 [Note] Debug sync points executed: 0
2020-01-10 12:21:03 0 [Note] Debug sync points max active per thread: 0
2020-01-10 12:21:03 0 [Note] /10.3/sql/mysqld: Shutdown complete
2020-01-10 12:21:03 0 [Note] /10.3/sql/mysqld (mysqld 10.3.22-MariaDB-debug-log) starting as process 12814 ...
2020-01-10 12:21:03 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4186)
2020-01-10 12:21:03 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
2020-01-10 12:21:03 0 [Warning] setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals
2020-01-10 12:21:03 0 [Note] Plugin 'partition' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'InnoDB' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'SEQUENCE' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_LOCKS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMPMEM' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMP' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'user_variables' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_TRX' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_BUFFER_PAGE' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_METRICS' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2020-01-10 12:21:04 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2020-01-10 12:21:04 0 [Warning] /10.3/sql/mysqld: unknown option '--loose-pam-debug'
2020-01-10 12:21:04 0 [Note] Server socket created on IP: '127.0.0.1'.
2020-01-10 12:21:04 2 [Note] Reading Master_info: 'master-master@00202@002e2.info' Relay_info:'relay.bin-master@00202@002e2.info'
2020-01-10 12:21:04 2 [Note] Initialized Master_info from 'master-master@00202@002e2.info'
2020-01-10 12:21:04 2 [Note] Added new Master_info 'MASTER 2.2' to hash table
2020-01-10 12:21:04 3 [Note] Master 'MASTER 2.2': Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16001' in log 'master-bin.000001' at position 329
2020-01-10 12:21:04 2 [Note] Started replication for 'MASTER 2.2'
2020-01-10 12:21:04 0 [Note] Reading of all Master_info entries succeeded
2020-01-10 12:21:04 4 [Note] Master 'MASTER 2.2': Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 329, relay log './relay-master@00202@002e2.000002' position: 629
2020-01-10 12:21:04 0 [Note] Added new Master_info '' to hash table
2020-01-10 12:21:04 6 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16000' in log 'master-bin.000001' at position 329
2020-01-10 12:21:04 0 [Note] /10.3/sql/mysqld: ready for connections.
Version: '10.3.22-MariaDB-debug-log' socket: '/10.3/mysql-test/var/tmp/1/mysqld.3.sock' port: 16002 Source distribution
2020-01-10 12:21:04 7 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 329, relay log './relay.000002' position: 629
2020-01-10 12:21:04 3 [Note] Master 'MASTER 2.2': Slave I/O thread: connected to master 'root@127.0.0.1:16001',replication started in log 'master-bin.000001' at position 329
2020-01-10 12:21:04 6 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'master-bin.000001' at position 329
2020-01-10 12:21:05 7 [Note] Error reading relay log event: slave SQL thread was killed
2020-01-10 12:21:05 7 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 329
2020-01-10 12:21:05 6 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 329
2020-01-10 12:21:05 8 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/master.info'.
2020-01-10 12:21:05 8 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/relay.bin.info'.
2020-01-10 12:21:05 4 [Note] Master 'MASTER 2.2': Error reading relay log event: slave SQL thread was killed
2020-01-10 12:21:05 4 [Note] Master 'MASTER 2.2': Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 329
2020-01-10 12:21:05 3 [Note] Master 'MASTER 2.2': Slave I/O thread exiting, read up to log 'master-bin.000001', position 329
2020-01-10 12:21:05 8 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/master-master@00202@002e2.info'.
2020-01-10 12:21:05 8 [Note] Deleted Master_info file '/dev/shm/var_auto_Z_GE/1/mysqld.3/data/relay.bin-master@00202@002e2.info'.
=================================================================
==12814==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f0000166d0 at pc 0x00000234aec1 bp 0x7f319c304180 sp 0x7f319c304170
READ of size 1 at 0x60f0000166d0 thread T9
#0 0x234aec0 in strend /10.3/strings/strend.c:45
#1 0xa75b1f in get_one_variable(THD*, st_mysql_show_var const*, enum_var_type, enum_mysql_show_type, system_status_var*, charset_info_st const**, char*, unsigned long*) /10.3/sql/sql_show.cc:3652
#2 0xa76a0e in show_status_array /10.3/sql/sql_show.cc:3795
#3 0xaa6233 in fill_variables(THD*, TABLE_LIST*, Item*) /10.3/sql/sql_show.cc:7852
#4 0xaaef5e in get_schema_tables_result(JOIN*, enum_schema_table_state) /10.3/sql/sql_show.cc:8873
#5 0x9a2cb3 in JOIN::exec_inner() /10.3/sql/sql_select.cc:4061
#6 0x9a0f8b in JOIN::exec() /10.3/sql/sql_select.cc:3892
#7 0x9a45ff in mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.3/sql/sql_select.cc:4297
#8 0x97e43b in handle_select(THD*, LEX*, select_result*, unsigned long) /10.3/sql/sql_select.cc:382
#9 0x8fee8c in execute_sqlcom_select /10.3/sql/sql_parse.cc:6294
#10 0x8ee689 in mysql_execute_command(THD*) /10.3/sql/sql_parse.cc:3821
#11 0x6fb55b in sp_instr_stmt::exec_core(THD*, unsigned int*) /10.3/sql/sp_head.cc:3594
#12 0x6f9eb9 in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /10.3/sql/sp_head.cc:3326
#13 0x6fad2e in sp_instr_stmt::execute(THD*, unsigned int*) /10.3/sql/sp_head.cc:3500
#14 0x6edb14 in sp_head::execute(THD*, bool) /10.3/sql/sp_head.cc:1356
#15 0x6f2eeb in sp_head::execute_procedure(THD*, List<Item>*) /10.3/sql/sp_head.cc:2296
#16 0x8e8b4d in do_execute_sp /10.3/sql/sql_parse.cc:2992
#17 0x8ea67b in Sql_cmd_call::execute(THD*) /10.3/sql/sql_parse.cc:3232
#18 0x8fcb92 in mysql_execute_command(THD*) /10.3/sql/sql_parse.cc:6031
#19 0x907f0b in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /10.3/sql/sql_parse.cc:7818
#20 0x8e28ca in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /10.3/sql/sql_parse.cc:1856
#21 0x8df8ba in do_command(THD*) /10.3/sql/sql_parse.cc:1402
#22 0xc54c87 in do_handle_one_connection(CONNECT*) /10.3/sql/sql_connect.cc:1403
#23 0xc54640 in handle_one_connection /10.3/sql/sql_connect.cc:1308
#24 0x20978f2 in pfs_spawn_thread /10.3/storage/perfschema/pfs.cc:1862
#25 0x7f31a7cb76b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#26 0x7f31a714c41c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
0x60f0000166d0 is located 112 bytes inside of 164-byte region [0x60f000016660,0x60f000016704)
freed by thread T5 here:
#0 0x7f31a8ded2ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
#1 0x228950b in free_memory /10.3/mysys/safemalloc.c:279
#2 0x2288ba1 in sf_free /10.3/mysys/safemalloc.c:197
#3 0x2259bb1 in my_free /10.3/mysys/my_malloc.c:223
#4 0xf4cf97 in mysql_close_free_options /10.3/sql-common/client.c:3585
#5 0xf4db1e in mysql_close /10.3/sql-common/client.c:3748
#6 0x6cda50 in handle_slave_io /10.3/sql/slave.cc:5010
#7 0x20978f2 in pfs_spawn_thread /10.3/storage/perfschema/pfs.cc:1862
#8 0x7f31a7cb76b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
previously allocated by thread T5 here:
#0 0x7f31a8ded602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x228859f in sf_malloc /10.3/mysys/safemalloc.c:118
#2 0x2259242 in my_malloc /10.3/mysys/my_malloc.c:101
#3 0x2259eef in my_strdup /10.3/mysys/my_malloc.c:246
#4 0xf50fd1 in mysql_options /10.3/sql-common/client.c:4094
#5 0x6da8fb in connect_to_master /10.3/sql/slave.cc:7183
#6 0x6da11d in safe_connect /10.3/sql/slave.cc:7113
#7 0x6cc1c8 in handle_slave_io /10.3/sql/slave.cc:4683
#8 0x20978f2 in pfs_spawn_thread /10.3/storage/perfschema/pfs.cc:1862
#9 0x7f31a7cb76b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
Thread T9 created by T0 here:
#0 0x7f31a8d8b253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
#1 0x2097cdf in spawn_thread_v1 /10.3/storage/perfschema/pfs.cc:1912
#2 0x647226 in inline_mysql_thread_create /10.3/include/mysql/psi/mysql_thread.h:1268
#3 0x65ca0f in create_thread_to_handle_connection(CONNECT*) /10.3/sql/mysqld.cc:6600
#4 0x65d133 in create_new_thread /10.3/sql/mysqld.cc:6670
#5 0x65e193 in handle_connections_sockets() /10.3/sql/mysqld.cc:6945
#6 0x65be69 in mysqld_main(int, char**) /10.3/sql/mysqld.cc:6222
#7 0x6458c5 in main /10.3/sql/main.cc:25
#8 0x7f31a706582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Thread T5 created by T0 here:
#0 0x7f31a8d8b253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
#1 0x2097cdf in spawn_thread_v1 /10.3/storage/perfschema/pfs.cc:1912
#2 0x6b18f6 in inline_mysql_thread_create /10.3/include/mysql/psi/mysql_thread.h:1268
#3 0x6b8b38 in start_slave_thread(unsigned int, void* (*)(void*), st_mysql_mutex*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, unsigned long volatile*, Master_info*) /10.3/sql/slave.cc:1246
#4 0x6b949a in start_slave_threads(THD*, bool, bool, Master_info*, char const*, char const*, int) /10.3/sql/slave.cc:1369
#5 0xc3cb10 in Master_info_index::init_all_master_info() /10.3/sql/rpl_mi.cc:1200
#6 0x6b5465 in init_slave() /10.3/sql/slave.cc:698
#7 0x65b9a8 in mysqld_main(int, char**) /10.3/sql/mysqld.cc:6162
#8 0x6458c5 in main /10.3/sql/main.cc:25
#9 0x7f31a706582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
SUMMARY: AddressSanitizer: heap-use-after-free /10.3/strings/strend.c:45 strend
Shadow bytes around the buggy address:
0x0c1e7fffac80: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
0x0c1e7fffac90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1e7fffaca0: fd fd fd fd fd fd fa fa fa fa fa fa fa fa fd fd
0x0c1e7fffacb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1e7fffacc0: fd fd fd fa fa fa fa fa fa fa fa fa fd fd fd fd
=>0x0c1e7fffacd0: fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd fd
0x0c1e7ffface0: fd fa fa fa fa fa fa fa fa fa fd fd fd fd fd fd
0x0c1e7fffacf0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1e7fffad00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1e7fffad10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1e7fffad20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
==12814==ABORTING
----------SERVER LOG END-------------
mysqltest failed but provided no output
The result from queries just before the failure was:
< snip >
# while 'MASTER 2.2' and '' are running
master-master@00202@002e2.info
master.info
multi-master.info
relay.bin-master@00202@002e2.info
relay.bin.info
# End of list
#
# Contents of multi-master.info
MASTER 2.2
# EOF
#
include/reset_master_slave.inc
disconnect slave;
connection master1;
include/reset_master_slave.inc
disconnect master1;
connection master2;
include/reset_master_slave.inc
disconnect master2;