Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24889

galera.galera_as_slave_gtid MTR failed: SIGABRT: Assertion `(&(&LOCK_thd_data)->m_mutex)->count > 0 && pthread_equal(pthread_self(), (&(&LOCK_thd_data)->m_mutex)->thread)' failed in sql_class.cc on awake(killed_state)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.2.37
    • N/A
    • Galera, Tests
    • None
    • kvm-rpm-centos74-amd64-debug

    Description

      galera.galera_as_slave_gtid failed on BB 10.2 CS: SIGABRT: Assertion `(&(&LOCK_thd_data)>m_mutex)>count > 0 && pthread_equal(pthread_self(), (&(&LOCK_thd_data)>m_mutex)>thread)' failed in sql_class.cc on awake(killed_state).
      It seems to be a sporadic issue.

      stdio.log:

      10.2.37, 8cdeee177d353e60f4a9cdebe6c851f9505d84b5, kvm-rpm-centos74-amd64-debug

      galera.galera_as_slave_gtid 'innodb'     w1 [ fail ]
              Test ended at 2021-01-26 10:19:35
       
      CURRENT_TEST: galera.galera_as_slave_gtid
      mysqltest: In included file "./include/wait_condition.inc": 
      included from /usr/share/mysql-test/suite/galera/t/galera_as_slave_gtid.test at line 32:
      At line 43: query 'let $success= `$wait_condition`' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 0...
       
      The result from queries just before the failure was:
      connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
      connection node_2;
      START SLAVE;
      connection node_1;
      CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
      INSERT INTO t1 VALUES(1);
      SELECT LENGTH(@@global.gtid_binlog_state) > 1;
      LENGTH(@@global.gtid_binlog_state) > 1
      1
      connection node_2;
       
       
      Server [mysqld.2 - pid: 12901, winpid: 12901, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      2021-01-26 10:19:16 140052808165696 [Warning] WSREP: option --wsrep-causal-reads is deprecated
      2021-01-26 10:19:16 140052808165696 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
      2021-01-26 10:19:16 140052808165696 [Note] /usr/sbin/mysqld (mysqld 10.2.37-MariaDB-debug-log) starting as process 12902 ...
      2021-01-26 10:19:16 140052808165696 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32186)
      2021-01-26 10:19:16 140052808165696 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (was 151)  table_cache: 421 (was 2000)
      2021-01-26 10:19:16 140052808165696 [Warning] WSREP: wsrep_sst_receive_address is set to '127.0.0.1:16005' which makes it impossible for another host to reach this one. Please set it to the address which this node can be connected at by other cluster members.
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Read nil XID from storage engines, skipping position init
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: wsrep_load(): Galera 3.32(rf74c6d3) by Codership Oy <info@codership.com> loaded successfully.
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: CRC-32C: using "slicing-by-8" algorithm.
      2021-01-26 10:19:16 140052808165696 [Warning] WSREP: Could not open state file for reading: '/dev/shm/var/1/mysqld.2/data//grastate.dat'
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Passing config to GCS: base_dir = /dev/shm/var/1/mysqld.2/data/; base_host = 127.0.0.1; base_port = 16003; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /dev/shm/var/1/mysqld.2/data/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /dev/shm/var/1/mysqld.2/data//galera.cache; gcache.page_size = 128M; gcache.recover = no; gcache.size = 10M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.v
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> 00000000-0000-0000-0000-000000000000:-1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: wsrep_sst_grab()
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Start replication
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Setting initial position to 00000000-0000-0000-0000-000000000000:-1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: protonet asio version 0
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Using CRC-32C for message checksums.
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: backend: asio
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: gcomm thread scheduling priority set to other:0 
      2021-01-26 10:19:16 140052808165696 [Warning] WSREP: access file(/dev/shm/var/1/mysqld.2/data//gvwstate.dat) failed(No such file or directory)
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: restore pc from disk failed
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: GMCast version 0
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: (f1c2af46, 'tcp://0.0.0.0:16003') listening at tcp://0.0.0.0:16003
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: (f1c2af46, 'tcp://0.0.0.0:16003') multicast: , ttl: 1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: EVS version 0
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: gcomm: connecting to group 'my_wsrep_cluster', peer ''
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: start_prim is enabled, turn off pc_recovery
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Node f1c2af46 state prim
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: view(view_id(PRIM,f1c2af46,1) memb {
      	f1c2af46,0
      } joined {
      } left {
      } partitioned {
      })
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: save pc into disk
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: gcomm: connected
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Opened channel 'my_wsrep_cluster'
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: Waiting for SST to complete.
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Starting new group from scratch: f1c2f58e-5fbf-11eb-9cea-bb907d4ac074
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: STATE_EXCHANGE: sent state UUID: f1c2f861-5fbf-11eb-8cb5-ff3abe5a5640
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: STATE EXCHANGE: sent state msg: f1c2f861-5fbf-11eb-8cb5-ff3abe5a5640
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: STATE EXCHANGE: got state msg: f1c2f861-5fbf-11eb-8cb5-ff3abe5a5640 from 0 (centos74-amd64)
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Quorum results:
      	version    = 6,
      	component  = PRIMARY,
      	conf_id    = 0,
      	members    = 1/1 (joined/total),
      	act_id     = 0,
      	last_appl. = -1,
      	protocols  = 0/9/3 (gcs/repl/appl),
      	group UUID = f1c2f58e-5fbf-11eb-9cea-bb907d4ac074
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Flow-control interval: [16, 16]
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Restored state OPEN -> JOINED (0)
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Member 0.0 (centos74-amd64) synced with group.
      2021-01-26 10:19:16 140052688283392 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0)
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: REPL Protocols: 9 (4, 2)
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: New cluster view: global state: f1c2f58e-5fbf-11eb-9cea-bb907d4ac074:0, view# 1: Primary, number of nodes: 1, my index: 0, protocol version 3
      2021-01-26 10:19:16 140052808165696 [Note] WSREP: SST complete, seqno: 0
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'SEQUENCE' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'partition' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Uses event mutexes
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Compressed tables use zlib 1.2.7
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Using Linux native AIO
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Number of pools: 1
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Using generic crc32 instructions
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Completed initialization of buffer pool
      2021-01-26 10:19:16 140052620752640 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Highest supported file format is Barracuda.
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Creating shared tablespace for temporary tables
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: Waiting for purge to start
      2021-01-26 10:19:16 140052808165696 [Note] InnoDB: 5.7.33 started; log sequence number 1628836
      2021-01-26 10:19:16 140052528432896 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var/1/mysqld.2/data/ib_buffer_pool
      2021-01-26 10:19:16 140052528432896 [Note] InnoDB: Buffer pool(s) load completed at 210126 10:19:16
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_MUTEXES' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_CMP' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'FEEDBACK' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'user_variables' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
      2021-01-26 10:19:16 140052808165696 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
      2021-01-26 10:19:16 140052808165696 [Warning] /usr/sbin/mysqld: unknown option '--loose-pam-debug'
      2021-01-26 10:19:16 140052808165696 [Note] Server socket created on IP: '127.0.0.1'.
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: Assign initial position for certification: 0, protocol version: 4
      2021-01-26 10:19:16 140052705068800 [Note] WSREP: Service thread queue flushed.
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> f1c2f58e-5fbf-11eb-9cea-bb907d4ac074:0
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: Synchronized with group, ready for connections
      2021-01-26 10:19:16 140052807849728 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2021-01-26 10:19:16 140052808165696 [Note] Reading of all Master_info entries succeeded
      2021-01-26 10:19:16 140052808165696 [Note] Added new Master_info '' to hash table
      2021-01-26 10:19:16 140052808165696 [Note] /usr/sbin/mysqld: ready for connections.
      Version: '10.2.37-MariaDB-debug-log'  socket: '/dev/shm/var/tmp/1/mysqld.2.sock'  port: 16001  MariaDB Server
      2021-01-26 10:19:16 140052696676096 [Note] WSREP: (f1c2af46, 'tcp://0.0.0.0:16003') connection established to f1fba751 tcp://127.0.0.1:16006
      2021-01-26 10:19:16 140052696676096 [Note] WSREP: (f1c2af46, 'tcp://0.0.0.0:16003') turning message relay requesting on, nonlive peers: 
      2021-01-26 10:19:17 140052696676096 [Note] WSREP: declaring f1fba751 at tcp://127.0.0.1:16006 stable
      2021-01-26 10:19:17 140052696676096 [Note] WSREP: Node f1c2af46 state prim
      2021-01-26 10:19:17 140052696676096 [Note] WSREP: view(view_id(PRIM,f1c2af46,2) memb {
      	f1c2af46,0
      	f1fba751,0
      } joined {
      } left {
      } partitioned {
      })
      2021-01-26 10:19:17 140052696676096 [Note] WSREP: save pc into disk
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: STATE_EXCHANGE: sent state UUID: f2486989-5fbf-11eb-9734-e206b2da97bc
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: STATE EXCHANGE: sent state msg: f2486989-5fbf-11eb-9734-e206b2da97bc
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: STATE EXCHANGE: got state msg: f2486989-5fbf-11eb-9734-e206b2da97bc from 0 (centos74-amd64)
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: STATE EXCHANGE: got state msg: f2486989-5fbf-11eb-9734-e206b2da97bc from 1 (centos74-amd64)
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: Quorum results:
      	version    = 6,
      	component  = PRIMARY,
      	conf_id    = 1,
      	members    = 1/2 (joined/total),
      	act_id     = 0,
      	last_appl. = 0,
      	protocols  = 0/9/3 (gcs/repl/appl),
      	group UUID = f1c2f58e-5fbf-11eb-9cea-bb907d4ac074
      2021-01-26 10:19:17 140052688283392 [Note] WSREP: Flow-control interval: [23, 23]
      2021-01-26 10:19:17 140052807849728 [Note] WSREP: REPL Protocols: 9 (4, 2)
      2021-01-26 10:19:17 140052807849728 [Note] WSREP: New cluster view: global state: f1c2f58e-5fbf-11eb-9cea-bb907d4ac074:0, view# 2: Primary, number of nodes: 2, my index: 0, protocol version 3
      2021-01-26 10:19:17 140052807849728 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2021-01-26 10:19:17 140052807849728 [Note] WSREP: Assign initial position for certification: 0, protocol version: 4
      2021-01-26 10:19:17 140052705068800 [Note] WSREP: Service thread queue flushed.
      2021-01-26 10:19:18 140052688283392 [Note] WSREP: Member 1.0 (centos74-amd64) requested state transfer from '*any*'. Selected 0.0 (centos74-amd64)(SYNCED) as donor.
      2021-01-26 10:19:18 140052688283392 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 0)
      2021-01-26 10:19:18 140052807849728 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2021-01-26 10:19:18 140052486166272 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'donor' --address '127.0.0.1:16008/rsync_sst' --socket '/dev/shm/var/tmp/1/mysqld.2.sock' --datadir '/dev/shm/var/1/mysqld.2/data/' --defaults-file '/dev/shm/var/1/my.cnf' --defaults-group-suffix '.2' --gtid 'f1c2f58e-5fbf-11eb-9cea-bb907d4ac074:0' --gtid-domain-id '0' --binlog 'mysqld-bin' --mysqld-args --defaults-group-suffix=.2 --defaults-file=/dev/shm/var/1/my.cnf --log-output=file --innodb --innodb-cmpmem --innodb-cmp-per-index --innodb-trx --innodb-locks --innodb-metrics --innodb-buffer-pool-stats --innodb-buffer-page --innodb-buffer-page-lru --innodb-sys-columns --innodb-sys-fields --innodb-sys-foreign --innodb-sys-foreign-cols --innodb-sys-indexes --innodb-sys-tables --innodb-sys-virtual --core-file --loose-debug-sync-timeout=300'
      2021-01-26 10:19:18 140052807849728 [Note] WSREP: sst_donor_thread signaled with 0
      2021-01-26 10:19:18 140052486166272 [Note] WSREP: Flushing tables for SST...
      2021-01-26 10:19:18 140052486166272 [Note] WSREP: Provider paused at f1c2f58e-5fbf-11eb-9cea-bb907d4ac074:0 (5)
      2021-01-26 10:19:18 140052486166272 [Note] WSREP: Tables flushed.
      WSREP_SST: [INFO] Preparing binlog files for transfer: (20210126 10:19:18.526)
      mysqld-bin.000002
      2021-01-26 10:19:19 140052486166272 [Note] WSREP: resuming provider at 5
      2021-01-26 10:19:19 140052486166272 [Note] WSREP: Provider resumed.
      2021-01-26 10:19:19 140052688283392 [Note] WSREP: 0.0 (centos74-amd64): State transfer to 1.0 (centos74-amd64) complete.
      2021-01-26 10:19:19 140052688283392 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 0)
      2021-01-26 10:19:19 140052688283392 [Note] WSREP: Member 0.0 (centos74-amd64) synced with group.
      2021-01-26 10:19:19 140052688283392 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0)
      2021-01-26 10:19:19 140052807849728 [Note] WSREP: Synchronized with group, ready for connections
      2021-01-26 10:19:19 140052807849728 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
      2021-01-26 10:19:19 140052696676096 [Note] WSREP: (f1c2af46, 'tcp://0.0.0.0:16003') turning message relay requesting off
      2021-01-26 10:19:21 140052688283392 [Note] WSREP: 1.0 (centos74-amd64): State transfer from 0.0 (centos74-amd64) complete.
      2021-01-26 10:19:21 140052688283392 [Note] WSREP: Member 1.0 (centos74-amd64) synced with group.
      2021-01-26 10:19:23 140052477773568 [Note] Master connection name: ''  Master_info_file: 'master.info'  Relay_info_file: 'relay-log.info'
      2021-01-26 10:19:23 140052477773568 [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'.
      2021-01-26 10:19:23 140052477167360 [Note] WSREP: ready state reached
      2021-01-26 10:19:23 140052477167360 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log './mysqld-relay-bin.000001' position: 4
      2021-01-26 10:19:23 140052477470464 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16000',replication started in log 'FIRST' at position 4
      mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.37/sql/sql_class.cc:1696: void THD::awake(killed_state): Assertion `(&(&LOCK_thd_data)->m_mutex)->count > 0 && pthread_equal(pthread_self(), (&(&LOCK_thd_data)->m_mutex)->thread)' failed.
      210126 10:19:23 [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.37-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=2
      max_threads=153
      thread_count=12
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63104 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x55cf425da070
      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 = 0x7f608226b4d0 thread_stack 0x49000
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3828697) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2215773) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014757) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2758475) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3571674) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3242692) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1862285386) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (25509216) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6579297) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (29426177) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (218205184) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (653868338) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (648179286) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (643597606) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (659073890) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2360880) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (7173491) greater than or equal to .debug_str size (3950432).
      mysys/stacktrace.c:172(my_print_stacktrace)[0x55cf37de7119]
      sql/signal_handler.cc:209(handle_fatal_signal)[0x55cf3778b4e1]
      sigaction.c:0(__restore_rt)[0x7f60956335e0]
      :0(__GI_raise)[0x7f6093b3f1f7]
      :0(__GI_abort)[0x7f6093b408e8]
      :0(__assert_fail_base)[0x7f6093b38266]
      :0(__GI___assert_fail)[0x7f6093b38312]
      /usr/sbin/mysqld(_ZN3THD5awakeE12killed_state+0xd1)[0x55cf3757ef3d]
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      /usr/sbin/mysqld(wsrep_thd_awake+0x13)[0x55cf3771bb42]
      addr2line: Dwarf Error: Offset (3828697) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2215773) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014757) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      /usr/sbin/mysqld(+0x8a950f)[0x55cf3795950f]
      sql/sql_class.h:4217(THD::awake(killed_state))[0x55cf377992bc]
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2758475) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3571674) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3242692) greater than or equal to .debug_str size (133394).
      /usr/sbin/mysqld(_Z15wsrep_abort_thdPvS_c+0x11a)[0x55cf37726f18]
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1862285386) greater than or equal to .debug_str size (3950432).
      sql/wsrep_mysqld.cc:2765(wsrep_thd_awake)[0x55cf3771a058]
      addr2line: Dwarf Error: Offset (25509216) greater than or equal to .debug_str size (3950432).
      handler/ha_innodb.cc:19783(_my_b_net_read)[0x55cf376b316c]
      sql/handler.cc:6327(ha_abort_transaction(THD*, THD*, char))[0x55cf376b4399]
      /usr/sbin/mysqld(_ZN11MDL_context12acquire_lockEP11MDL_requestd+0x7b)[0x55cf376b4507]
      /usr/sbin/mysqld(_ZN11MDL_context13acquire_locksEP8I_P_ListI11MDL_request16I_P_List_adapterIS1_XadL_ZNS1_12next_in_listEEEXadL_ZNS1_12prev_in_listEEEE16I_P_List_counter21I_P_List_no_push_backIS1_EEd+0xfa)[0x55cf376b4bee]
      /usr/sbin/mysqld(_Z16lock_table_namesP3THDRK14DDL_options_stP10TABLE_LISTS5_mj+0x40d)[0x55cf37560dee]
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      /usr/sbin/mysqld(_Z11open_tablesP3THDRK14DDL_options_stPP10TABLE_LISTPjjP19Prelocking_strategy+0x300)[0x55cf37562831]
      addr2line: Dwarf Error: Offset (6579297) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (29426177) greater than or equal to .debug_str size (3950432).
      /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDRK14DDL_options_stP10TABLE_LISTbjP19Prelocking_strategy+0x99)[0x55cf37563a44]
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (218205184) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (18547037) greater than or equal to .debug_str size (3950432).
      /usr/sbin/mysqld(_Z18mysql_create_tableP3THDP10TABLE_LISTP22Table_specification_stP10Alter_info+0xc6)[0x55cf3764f451]
      addr2line: Dwarf Error: Offset (653868338) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (648179286) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (643597606) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (659073890) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2360880) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (7173491) greater than or equal to .debug_str size (3950432).
      sql/wsrep_thd.cc:829(wsrep_abort_thd(void*, void*, char))[0x55cf3765079e]
      sql/wsrep_mysqld.cc:2062(wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*, MDL_key const*))[0x55cf375bd5ef]
      sql/mdl.cc:1592(MDL_lock::can_grant_lock(enum_mdl_type, MDL_context*, bool) const)[0x55cf375beca9]
      sql/mdl.cc:1923(MDL_context::try_acquire_lock_impl(MDL_request*, MDL_ticket**))[0x55cf3789ec57]
      sql/mdl.cc:2067(MDL_context::acquire_lock(MDL_request*, double))[0x55cf3789f58a]
      sql/mdl.cc:2258(MDL_context::acquire_locks(I_P_List<MDL_request, I_P_List_adapter<MDL_request, &MDL_request::next_in_list, &MDL_request::prev_in_list>, I_P_List_counter, I_P_List_no_push_back<MDL_request> >*, double))[0x55cf3751d9ed]
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2036689706) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2147683520) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744920) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2734883727) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744920) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2684553613) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744921) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2684553613) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744921) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2036689706) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2684553613) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744921) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2684553613) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (1201744921) greater than or equal to .debug_str size (3950432).
      sql/sql_base.cc:3831(lock_table_names(THD*, DDL_options_st const&, TABLE_LIST*, TABLE_LIST*, unsigned long, unsigned int))[0x55cf37523de3]
      sql/sql_base.cc:4051(open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*))[0x55cf37525899]
      sql/sql_base.cc:4880(open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x55cf37d9ea56]
      addr2line: Dwarf Error: Offset (3942842858) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (4211278330) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (4211278330) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (4194501786) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2902655674) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2634219970) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3942842858) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (4211278330) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (4211278330) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2542797623) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2046831943) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (28542252) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (2215773) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3014388) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2215773) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2215773) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27362604) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3242692) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3242692) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2255815426) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (3106628) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (3242692) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (950403185) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (31850752) greater than or equal to .debug_str size (3950432).
      addr2line: Dwarf Error: Offset (25953132) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (25953132) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (25953132) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (25953132) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2818769540) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (759669114) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2818769540) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (759669114) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2818769540) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (759669114) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27919130) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27919130) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (27919130) greater than or equal to .debug_str size (133394).
      addr2line: Dwarf Error: Offset (2967457) greater than or equal to .debug_str size (133394).
      pthread_create.c:0(start_thread)[0x7f609562be25]
      /lib64/libc.so.6(clone+0x6d)[0x7f6093c0234d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x55cf3ef3fedb): CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB
       
      Connection ID (thread ID): 17
      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 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/1/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        unlimited            unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             4096                 23142                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       23142                23142                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: core
       
      ----------SERVER LOG END-------------
       
       
       - found 'core.12902' (0/0)
       
      Trying 'dbx' to get a backtrace
      gdb not found, cannot get the stack trace
       - deleting it, already saved 0
       - skipping '/dev/shm/var/1/log/galera.galera_as_slave_gtid-innodb/'
       
      Retrying test galera.galera_as_slave_gtid, attempt(2/3)...
       
      worker[1] > Restart  - not started
      worker[1] > Restart  - not started
      worker[1] > Restart  - not started
      ***Warnings generated in error logs during shutdown after running tests: galera.galera_as_slave_gtid
       
      mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.37/sql/sql_class.cc:1696: void THD::awake(killed_state): Assertion `(&(&LOCK_thd_data)->m_mutex)->count > 0 && pthread_equal(pthread_self(), (&(&LOCK_thd_data)->m_mutex)->thread)' failed.
      Attempting backtrace. You can use the following information to find out
       
      galera.galera_as_slave_gtid 'innodb'     w1 [ retry-pass ]   3167
       
      Retrying test galera.galera_as_slave_gtid, attempt(3/3)...
       
      galera.galera_as_slave_gtid 'innodb'     w1 [ retry-pass ]   3152
      worker[1] > Restart [mysqld.1 - pid: 13229, winpid: 13229] - using different config file
      worker[1] > Restart [mysqld.2 - pid: 13231, winpid: 13231] - using different config file
      worker[1] > Restart [mysqld.3 - pid: 13301, winpid: 13301] - using different config file
      

      Server logs.

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              stepan.patryshev Stepan Patryshev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.