Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5(EOL)
-
None
Description
http://buildbot.askmonty.org/buildbot/builders/kvm-asan/builds/3995/steps/mtr_nm/logs/stdio
rpl.rpl_stm_start_stop_slave 'innodb,stmt' w2 [ fail ]
|
Test ended at 2020-07-15 13:38:27
|
|
|
CURRENT_TEST: rpl.rpl_stm_start_stop_slave
|
mysqltest: In included file "/home/buildbot/buildbot/build/mariadb-10.5.5/mysql-test/suite/rpl/./include/rpl_start_stop_slave.test":
|
included from /home/buildbot/buildbot/build/mariadb-10.5.5/mysql-test/suite/rpl/t/rpl_stm_start_stop_slave.test at line 18:
|
At line 35: query 'stop slave io_thread' failed: 2013: Lost connection to MySQL server during query
|
|
|
The result from queries just before the failure was:
|
< snip >
|
connection master;
|
SET @old_innodb_flush_log_at_trx_commit= @@global.innodb_flush_log_at_trx_commit;
|
SET @@global.innodb_flush_log_at_trx_commit= 0;
|
SET @@session.binlog_direct_non_transactional_updates= FALSE;
|
connection master;
|
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
connection slave;
|
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
connection master;
|
create table t1(n int);
|
connection slave;
|
stop slave;
|
include/wait_for_slave_to_stop.inc
|
connection master;
|
connection slave;
|
start slave;
|
stop slave io_thread;
|
|
|
More results from queries before failure can be found in /dev/shm/var/2/log/rpl_stm_start_stop_slave.log
|
|
|
|
|
Server [mysqld.2 - pid: 51575, winpid: 51575, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2020-07-15 13:38:17 0 [Note] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd (mysqld 10.5.5-MariaDB-log) starting as process 51577 ...
|
2020-07-15 13:38:17 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32186)
|
2020-07-15 13:38:17 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
|
2020-07-15 13:38:17 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-07-15 13:38:17 0 [Note] Plugin 'partition' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'SEQUENCE' is disabled.
|
2020-07-15 13:38:17 0 [Note] InnoDB: Using Linux native AIO
|
2020-07-15 13:38:17 0 [Note] InnoDB: Uses event mutexes
|
2020-07-15 13:38:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2020-07-15 13:38:17 0 [Note] InnoDB: Number of pools: 1
|
2020-07-15 13:38:17 0 [Note] InnoDB: Using generic crc32 instructions
|
2020-07-15 13:38:17 0 [Note] mariadbd: O_TMPFILE is not supported on /dev/shm/var/tmp/2/mysqld.2 (disabling future attempts)
|
2020-07-15 13:38:17 0 [Note] InnoDB: Initializing buffer pool, total size = 8388608, chunk size = 8388608
|
2020-07-15 13:38:17 0 [Note] InnoDB: Completed initialization of buffer pool
|
2020-07-15 13:38:17 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
|
2020-07-15 13:38:17 0 [Note] InnoDB: 128 rollback segments are active.
|
2020-07-15 13:38:17 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2020-07-15 13:38:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2020-07-15 13:38:17 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2020-07-15 13:38:17 0 [Note] InnoDB: 10.5.5 started; log sequence number 47225; transaction id 28
|
2020-07-15 13:38:17 0 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var/2/mysqld.2/data/ib_buffer_pool
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_CMP' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'THREAD_POOL_WAITS' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'THREAD_POOL_QUEUES' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'THREAD_POOL_GROUPS' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'user_variables' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'THREAD_POOL_STATS' is disabled.
|
2020-07-15 13:38:17 0 [Note] Plugin 'unix_socket' is disabled.
|
2020-07-15 13:38:17 0 [Note] InnoDB: Buffer pool(s) load completed at 200715 13:38:17
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown variable 'loose-feedback-debug-startup-interval=20'
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown variable 'loose-feedback-debug-first-interval=60'
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown variable 'loose-feedback-debug-interval=60'
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown option '--loose-pam-debug'
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown option '--loose-aria'
|
2020-07-15 13:38:17 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: unknown variable 'loose-debug-sync-timeout=300'
|
2020-07-15 13:38:18 0 [Note] Server socket created on IP: '127.0.0.1'.
|
2020-07-15 13:38:18 0 [Note] Reading of all Master_info entries succeeded
|
2020-07-15 13:38:18 0 [Note] Added new Master_info '' to hash table
|
2020-07-15 13:38:18 0 [Note] /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd: ready for connections.
|
Version: '10.5.5-MariaDB-log' socket: '/dev/shm/var/tmp/2/mysqld.2.sock' port: 16061 MariaDB Server
|
2020-07-15 13:38:19 5 [Note] Deleted Master_info file '/dev/shm/var/2/mysqld.2/data/master.info'.
|
2020-07-15 13:38:19 5 [Note] Deleted Master_info file '/dev/shm/var/2/mysqld.2/data/relay-log.info'.
|
2020-07-15 13:38:19 5 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay-log.info'
|
2020-07-15 13:38:19 5 [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='16060', master_log_file='master-bin.000001', master_log_pos='4'.
|
2020-07-15 13:38:19 7 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16060' in log 'master-bin.000001' at position 4
|
2020-07-15 13:38:19 8 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
|
2020-07-15 13:38:19 7 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16060',replication started in log 'master-bin.000001' at position 4
|
2020-07-15 13:38:19 8 [Note] Error reading relay log event: slave SQL thread was killed
|
2020-07-15 13:38:19 8 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 846
|
2020-07-15 13:38:19 7 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 846
|
2020-07-15 13:38:22 11 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16060' in log 'master-bin.000001' at position 846
|
2020-07-15 13:38:22 11 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16060',replication started in log 'master-bin.000001' at position 846
|
2020-07-15 13:38:22 12 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 846, relay log './slave-relay-bin.000002' position: 1146
|
2020-07-15 13:38:22 11 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 55437
|
=================================================================
|
==51577==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160000a0298 at pc 0x564f9d9c7ee3 bp 0x7f12ebd0f730 sp 0x7f12ebd0f720
|
READ of size 4 at 0x6160000a0298 thread T22
|
#0 0x564f9d9c7ee2 in vio_socket_shutdown /home/buildbot/buildbot/build/mariadb-10.5.5/vio/viosocket.c:325
|
#1 0x564f9cb1c7d9 in THD::awake_no_mutex(killed_state) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_class.cc:1905
|
#2 0x564f9c9dd735 in terminate_slave_thread /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:1234
|
#3 0x564f9c9e498d in terminate_slave_threads(Master_info*, int, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:1111
|
#4 0x564f9c9e498d in terminate_slave_threads(Master_info*, int, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:1067
|
#5 0x564f9ccb1229 in stop_slave(THD*, Master_info*, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_repl.cc:3313
|
#6 0x564f9cc5aaf1 in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:4268
|
#7 0x564f9cc1bfac in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:7993
|
#8 0x564f9cc47d16 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:1866
|
#9 0x564f9cc4dad4 in do_command(THD*) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:1347
|
#10 0x564f9cff80fc in do_handle_one_connection(CONNECT*, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_connect.cc:1411
|
#11 0x564f9cff8c6c in handle_one_connection /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_connect.cc:1313
|
#12 0x564f9dc61748 in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2201
|
#13 0x7f12fd4f0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
|
#14 0x7f12fd0df102 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122102)
|
|
|
0x6160000a0298 is located 24 bytes inside of 520-byte region [0x6160000a0280,0x6160000a0488)
|
freed by thread T24 here:
|
#0 0x7f12fd7257cf in __interceptor_free (/lib/x86_64-linux-gnu/libasan.so.5+0x10d7cf)
|
#1 0x564f9d2c54dd in end_server /home/buildbot/buildbot/build/mariadb-10.5.5/sql-common/client.c:730
|
#2 0x564f9d2cdc2c in mysql_close /home/buildbot/buildbot/build/mariadb-10.5.5/sql-common/client.c:3506
|
#3 0x564f9d2cdc2c in mysql_close /home/buildbot/buildbot/build/mariadb-10.5.5/sql-common/client.c:3499
|
#4 0x564f9c9fe43c in handle_slave_io /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:5135
|
#5 0x564f9dc61748 in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2201
|
#6 0x7f12fd4f0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
|
|
|
previously allocated by thread T24 here:
|
#0 0x7f12fd725bc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
|
#1 0x564f9e83da53 in my_malloc /home/buildbot/buildbot/build/mariadb-10.5.5/mysys/my_malloc.c:88
|
#2 0x564f9d9c6126 in mysql_socket_vio_new /home/buildbot/buildbot/build/mariadb-10.5.5/vio/vio.c:243
|
#3 0x564f9d9c6f07 in vio_new /home/buildbot/buildbot/build/mariadb-10.5.5/vio/vio.c:262
|
#4 0x564f9d2d2860 in mysql_real_connect /home/buildbot/buildbot/build/mariadb-10.5.5/sql-common/client.c:2893
|
#5 0x564f9c9dca43 in connect_to_master /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:7360
|
#6 0x564f9c9fda73 in safe_connect /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:7272
|
#7 0x564f9c9fda73 in handle_slave_io /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:4807
|
#8 0x564f9dc61748 in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2201
|
#9 0x7f12fd4f0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
|
|
|
Thread T22 created by T0 here:
|
#0 0x7f12fd652805 in pthread_create (/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
|
#1 0x564f9dc619e6 in my_thread_create /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/my_thread.h:34
|
#2 0x564f9dc619e6 in pfs_spawn_thread_v1 /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2252
|
#3 0x564f9c9906bc in inline_mysql_thread_create /home/buildbot/buildbot/build/mariadb-10.5.5/include/mysql/psi/mysql_thread.h:1321
|
#4 0x564f9c9906bc in create_thread_to_handle_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mysqld.cc:6018
|
#5 0x564f9c99c1e4 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mysqld.cc:6142
|
#6 0x564f9c99cc93 in handle_connections_sockets() /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mysqld.cc:6269
|
#7 0x564f9c99e999 in mysqld_main(int, char**) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/mysqld.cc:5664
|
#8 0x7f12fcfe40b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
|
|
|
Thread T24 created by T22 here:
|
#0 0x7f12fd652805 in pthread_create (/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
|
#1 0x564f9dc619e6 in my_thread_create /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/my_thread.h:34
|
#2 0x564f9dc619e6 in pfs_spawn_thread_v1 /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2252
|
#3 0x564f9c9e4f06 in inline_mysql_thread_create /home/buildbot/buildbot/build/mariadb-10.5.5/include/mysql/psi/mysql_thread.h:1321
|
#4 0x564f9c9e4f06 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.5.5/sql/slave.cc:1299
|
#5 0x564f9c9e54eb in start_slave_threads(THD*, bool, bool, Master_info*, char const*, char const*, int) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/slave.cc:1415
|
#6 0x564f9ccb05c0 in start_slave(THD*, Master_info*, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_repl.cc:3237
|
#7 0x564f9cc5abfe in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:4232
|
#8 0x564f9cc1bfac in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:7993
|
#9 0x564f9cc47d16 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:1866
|
#10 0x564f9cc4dad4 in do_command(THD*) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_parse.cc:1347
|
#11 0x564f9cff80fc in do_handle_one_connection(CONNECT*, bool) /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_connect.cc:1411
|
#12 0x564f9cff8c6c in handle_one_connection /home/buildbot/buildbot/build/mariadb-10.5.5/sql/sql_connect.cc:1313
|
#13 0x564f9dc61748 in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.5.5/storage/perfschema/pfs.cc:2201
|
#14 0x7f12fd4f0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
|
|
|
SUMMARY: AddressSanitizer: heap-use-after-free /home/buildbot/buildbot/build/mariadb-10.5.5/vio/viosocket.c:325 in vio_socket_shutdown
|
Shadow bytes around the buggy address:
|
0x0c2c8000c000: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c010: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c020: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c030: fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c2c8000c040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
=>0x0c2c8000c050: fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c060: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c070: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c080: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c2c8000c090: fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c2c8000c0a0: 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
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
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
|
Left alloca redzone: ca
|
Right alloca redzone: cb
|
Shadow gap: cc
|
==51577==ABORTING
|
200715 13:38:24 [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.5.5-MariaDB-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=4
|
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 = 63578 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
|
Thread pointer: 0x62b00010a218
|
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 = 0x7f12ebd12780 thread_stack 0x5fc00
|
??:0(__interceptor_tcgetattr)[0x7f12fd684d30]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(my_print_stacktrace+0xee)[0x564f9e84826e]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(handle_fatal_signal+0xb44)[0x564f9d366fd4]
|
??:0(__restore_rt)[0x7f12fd4fc3c0]
|
??:0(gsignal)[0x7f12fd00318b]
|
??:0(abort)[0x7f12fcfe2859]
|
??:0(__sanitizer_set_report_fd)[0x7f12fd7436a2]
|
??:0(__sanitizer_get_module_and_offset_for_pc)[0x7f12fd74e24c]
|
??:0(__sanitizer_ptr_cmp)[0x7f12fd72f8ec]
|
??:0(__asan_on_error)[0x7f12fd72f363]
|
??:0(__asan_report_load4)[0x7f12fd73008b]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(+0x1b77ee3)[0x564f9d9c7ee3]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(_ZN3THD14awake_no_mutexE12killed_state+0x76a)[0x564f9cb1c7da]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(+0xb8d736)[0x564f9c9dd736]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(_Z23terminate_slave_threadsP11Master_infoib+0x29e)[0x564f9c9e498e]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(_Z10stop_slaveP3THDP11Master_infob+0x1da)[0x564f9ccb122a]
|
/home/buildbot/buildbot/build/mariadb-10.5.5/sql/mariadbd(_Z21mysql_execute_commandP3THD+0xa772)[0x564f9cc5aaf2]
|
vio/viosocket.c:325(vio_socket_shutdown)[0x564f9cc1bfad]
|
sql/sql_class.cc:1910(THD::awake_no_mutex(killed_state))[0x564f9cc47d17]
|
psi/mysql_thread.h:824(terminate_slave_thread(THD*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, bool))[0x564f9cc4dad5]
|
sql/sql_repl.cc:3323(stop_slave(THD*, Master_info*, bool))[0x564f9cff80fd]
|
sql/sql_parse.cc:4268(mysql_execute_command(THD*))[0x564f9cff8c6d]
|
sql/sql_parse.cc:8010(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x564f9dc61749]
|
??:0(start_thread)[0x7f12fd4f0609]
|
??:0(clone)[0x7f12fd0df103]
|
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x62b000111238): stop slave io_thread
|
Connection ID (thread ID): 9
|
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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off
|
|
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /dev/shm/var/2/mysqld.2/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 23441 23441 processes
|
Max open files 1024 1024 files
|
Max locked memory 67108864 67108864 bytes
|
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals 23441 23441 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 %d %P %E
|
|
|
----------SERVER LOG END-------------
|
|
|
|
|
- saving '/dev/shm/var/2/log/rpl.rpl_stm_start_stop_slave-innodb,stmt/' to '/dev/shm/var/log/rpl.rpl_stm_start_stop_slave-innodb,stmt/'
|
worker[2] > Restart - not started
|
worker[2] > Restart - not started
|
***Warnings generated in error logs during shutdown after running tests: rpl.rpl_stm_start_stop_slave
|
|
|
==51577==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160000a0298 at pc 0x564f9d9c7ee3 bp 0x7f12ebd0f730 sp 0x7f12ebd0f720
|
SUMMARY: AddressSanitizer: heap-use-after-free /home/buildbot/buildbot/build/mariadb-10.5.5/vio/viosocket.c:325 in vio_socket_shutdown
|
Attempting backtrace. You can use the following information to find out
|