Thread 23 (Thread 0x7fa38c213700 (LWP 13385)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c211d10, expected=0, futex_word=0x7fa328000b50) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c211d10, mutex=0x7fa328000aa0, cond=0x7fa328000b28) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa328000b28, mutex=0x7fa328000aa0, abstime=0x7fa38c211d10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa328000b28, mp=0x7fa328000a78, abstime=0x7fa38c211d10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa328000b28, mutex=0x7fa328000a78, abstime=0x7fa38c211d10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa328000a78, owner=0x7fa328000a28, abs_timeout=0x7fa38c211d10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa328000a78, mdl_request=0x7fa38c211e50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa328000958, table_list=0x7fa38c212440, ot_ctx=0x7fa38c2121a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa328000958, tables=0x7fa38c212440, counter=0x7fa38c212234, flags=0, prelocking_strategy=0x7fa38c2122b8, has_prelocking_list=false, ot_ctx=0x7fa38c2121a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa328000958, options=..., start=0x7fa38c212218, counter=0x7fa38c212234, flags=0, prelocking_strategy=0x7fa38c2122b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa328000958, options=..., tables=0x7fa38c212440, derived=false, flags=0, prelocking_strategy=0x7fa38c2122b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa328000958, tables=0x7fa38c212440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa328000958, gtid=0x7fa33c041780, sub_id=49, in_transaction=true, in_statement=false, out_hton=0x7fa38c212be0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c042c98, thd=0x7fa328000958, rgi=0x7fa33c041760, in_trans=true, out_hton=0x7fa38c212be0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c042c98, rgi=0x7fa33c041760) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c042c98, rgi=0x7fa33c041760) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c042c98, thd=0x7fa328000958, rgi=0x7fa33c041760, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c042c98, thd=0x7fa328000958, rgi=0x7fa33c041760) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c0431d8, rpt=0x7fa33c01b410) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01b410) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c0107c8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c213700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 22 (Thread 0x7fa38e5d1700 (LWP 13384)): #0 0x00007fa39a04f9f3 in futex_wait_cancelable (private=, expected=0, futex_word=0x7fa33c043f10) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fa33c043e60, cond=0x7fa33c043ee8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7fa33c043ee8, mutex=0x7fa33c043e60) at pthread_cond_wait.c:655 #3 0x000056091d36716c in safe_cond_wait (cond=0x7fa33c043ee8, mp=0x7fa33c043e38, file=0x56091d6691f8 "include/mysql/psi/mysql_thread.h", line=1220) at mysys/thr_mutex.c:492 #4 0x000056091cb4bd56 in inline_mysql_cond_wait (that=0x7fa33c043ee8, mutex=0x7fa33c043e38, src_file=0x56091d66a0c4 "sql/log.cc", src_line=7712) at include/mysql/psi/mysql_thread.h:1220 #5 0x000056091cb62db6 in MYSQL_BIN_LOG::queue_for_group_commit (this=0x56091e266aa0 , orig_entry=0x7fa38e5cff10) at sql/log.cc:7712 #6 0x000056091cb63575 in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=0x56091e266aa0 , entry=0x7fa38e5cff10) at sql/log.cc:7936 #7 0x000056091cb62b65 in MYSQL_BIN_LOG::write_transaction_to_binlog (this=0x56091e266aa0 , thd=0x7fa324022838, cache_mngr=0x7fa324042708, end_ev=0x7fa38e5d00b0, all=true, using_stmt_cache=true, using_trx_cache=true) at sql/log.cc:7612 #8 0x000056091cb51305 in binlog_flush_cache (thd=0x7fa324022838, cache_mngr=0x7fa324042708, end_ev=0x7fa38e5d00b0, all=true, using_stmt=true, using_trx=true) at sql/log.cc:1795 #9 0x000056091cb51c8e in binlog_commit_flush_xid_caches (thd=0x7fa324022838, cache_mngr=0x7fa324042708, all=true, xid=1712) at sql/log.cc:1943 #10 0x000056091cb695e4 in MYSQL_BIN_LOG::log_and_order (this=0x56091e266aa0 , thd=0x7fa324022838, xid=1712, all=true, need_prepare_ordered=false, need_commit_ordered=true) at sql/log.cc:9928 #11 0x000056091ca2400f in ha_commit_trans (thd=0x7fa324022838, all=true) at sql/handler.cc:1777 #12 0x000056091c883362 in trans_commit (thd=0x7fa324022838) at sql/transaction.cc:266 #13 0x000056091cb8f4a8 in Xid_log_event::do_commit (this=0x7fa33c045208) at sql/log_event_server.cc:4038 #14 0x000056091cb8eed2 in Xid_apply_log_event::do_apply_event (this=0x7fa33c045208, rgi=0x7fa33c043e00) at sql/log_event_server.cc:3962 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c045208, rgi=0x7fa33c043e00) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c045208, thd=0x7fa324022838, rgi=0x7fa33c043e00, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c045208, thd=0x7fa324022838, rgi=0x7fa33c043e00) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c045318, rpt=0x7fa33c01b208) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01b208) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c010548) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38e5d1700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 21 (Thread 0x7fa38c0e7700 (LWP 13382)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c0e5d10, expected=0, futex_word=0x7fa350000f70) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c0e5d10, mutex=0x7fa350000ec0, cond=0x7fa350000f48) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa350000f48, mutex=0x7fa350000ec0, abstime=0x7fa38c0e5d10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa350000f48, mp=0x7fa350000e98, abstime=0x7fa38c0e5d10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa350000f48, mutex=0x7fa350000e98, abstime=0x7fa38c0e5d10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa350000e98, owner=0x7fa350000e48, abs_timeout=0x7fa38c0e5d10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa350000e98, mdl_request=0x7fa38c0e5e50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa350000d78, table_list=0x7fa38c0e6440, ot_ctx=0x7fa38c0e61a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa350000d78, tables=0x7fa38c0e6440, counter=0x7fa38c0e6234, flags=0, prelocking_strategy=0x7fa38c0e62b8, has_prelocking_list=false, ot_ctx=0x7fa38c0e61a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa350000d78, options=..., start=0x7fa38c0e6218, counter=0x7fa38c0e6234, flags=0, prelocking_strategy=0x7fa38c0e62b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa350000d78, options=..., tables=0x7fa38c0e6440, derived=false, flags=0, prelocking_strategy=0x7fa38c0e62b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa350000d78, tables=0x7fa38c0e6440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa350000d78, gtid=0x7fa33c045bb0, sub_id=51, in_transaction=true, in_statement=false, out_hton=0x7fa38c0e6be0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c0470c8, thd=0x7fa350000d78, rgi=0x7fa33c045b90, in_trans=true, out_hton=0x7fa38c0e6be0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c0470c8, rgi=0x7fa33c045b90) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c0470c8, rgi=0x7fa33c045b90) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c0470c8, thd=0x7fa350000d78, rgi=0x7fa33c045b90, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c0470c8, thd=0x7fa350000d78, rgi=0x7fa33c045b90) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c0471d8, rpt=0x7fa33c01b000) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01b000) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c0102c8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c0e7700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 20 (Thread 0x7fa38c09c700 (LWP 13378)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c09ad10, expected=0, futex_word=0x7fa34090f4a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c09ad10, mutex=0x7fa34090f3f0, cond=0x7fa34090f478) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa34090f478, mutex=0x7fa34090f3f0, abstime=0x7fa38c09ad10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa34090f478, mp=0x7fa34090f3c8, abstime=0x7fa38c09ad10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa34090f478, mutex=0x7fa34090f3c8, abstime=0x7fa38c09ad10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa34090f3c8, owner=0x7fa34090f378, abs_timeout=0x7fa38c09ad10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa34090f3c8, mdl_request=0x7fa38c09ae50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa34090f2a8, table_list=0x7fa38c09b440, ot_ctx=0x7fa38c09b1a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa34090f2a8, tables=0x7fa38c09b440, counter=0x7fa38c09b234, flags=0, prelocking_strategy=0x7fa38c09b2b8, has_prelocking_list=false, ot_ctx=0x7fa38c09b1a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa34090f2a8, options=..., start=0x7fa38c09b218, counter=0x7fa38c09b234, flags=0, prelocking_strategy=0x7fa38c09b2b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa34090f2a8, options=..., tables=0x7fa38c09b440, derived=false, flags=0, prelocking_strategy=0x7fa38c09b2b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa34090f2a8, tables=0x7fa38c09b440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa34090f2a8, gtid=0x7fa33c047a70, sub_id=52, in_transaction=true, in_statement=false, out_hton=0x7fa38c09bbe0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c048aa8, thd=0x7fa34090f2a8, rgi=0x7fa33c047a50, in_trans=true, out_hton=0x7fa38c09bbe0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c048aa8, rgi=0x7fa33c047a50) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c048aa8, rgi=0x7fa33c047a50) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c048aa8, thd=0x7fa34090f2a8, rgi=0x7fa33c047a50, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c048aa8, thd=0x7fa34090f2a8, rgi=0x7fa33c047a50) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c048bb8, rpt=0x7fa33c01adf8) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01adf8) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c0236c8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c09c700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 19 (Thread 0x7fa38c17d700 (LWP 13375)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c17bd10, expected=0, futex_word=0x7fa32c000f70) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c17bd10, mutex=0x7fa32c000ec0, cond=0x7fa32c000f48) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa32c000f48, mutex=0x7fa32c000ec0, abstime=0x7fa38c17bd10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa32c000f48, mp=0x7fa32c000e98, abstime=0x7fa38c17bd10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa32c000f48, mutex=0x7fa32c000e98, abstime=0x7fa38c17bd10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa32c000e98, owner=0x7fa32c000e48, abs_timeout=0x7fa38c17bd10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa32c000e98, mdl_request=0x7fa38c17be50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa32c000d78, table_list=0x7fa38c17c440, ot_ctx=0x7fa38c17c1a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa32c000d78, tables=0x7fa38c17c440, counter=0x7fa38c17c234, flags=0, prelocking_strategy=0x7fa38c17c2b8, has_prelocking_list=false, ot_ctx=0x7fa38c17c1a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa32c000d78, options=..., start=0x7fa38c17c218, counter=0x7fa38c17c234, flags=0, prelocking_strategy=0x7fa38c17c2b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa32c000d78, options=..., tables=0x7fa38c17c440, derived=false, flags=0, prelocking_strategy=0x7fa38c17c2b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa32c000d78, tables=0x7fa38c17c440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa32c000d78, gtid=0x7fa33c049930, sub_id=53, in_transaction=true, in_statement=false, out_hton=0x7fa38c17cbe0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c04ae48, thd=0x7fa32c000d78, rgi=0x7fa33c049910, in_trans=true, out_hton=0x7fa38c17cbe0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c04ae48, rgi=0x7fa33c049910) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c04ae48, rgi=0x7fa33c049910) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c04ae48, thd=0x7fa32c000d78, rgi=0x7fa33c049910, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c04ae48, thd=0x7fa32c000d78, rgi=0x7fa33c049910) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c04af58, rpt=0x7fa33c01abf0) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01abf0) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c023448) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c17d700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7fa38c25e700 (LWP 13373)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c25cd10, expected=0, futex_word=0x7fa348000b50) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c25cd10, mutex=0x7fa348000aa0, cond=0x7fa348000b28) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa348000b28, mutex=0x7fa348000aa0, abstime=0x7fa38c25cd10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa348000b28, mp=0x7fa348000a78, abstime=0x7fa38c25cd10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa348000b28, mutex=0x7fa348000a78, abstime=0x7fa38c25cd10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa348000a78, owner=0x7fa348000a28, abs_timeout=0x7fa38c25cd10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa348000a78, mdl_request=0x7fa38c25ce50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa348000958, table_list=0x7fa38c25d440, ot_ctx=0x7fa38c25d1a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa348000958, tables=0x7fa38c25d440, counter=0x7fa38c25d234, flags=0, prelocking_strategy=0x7fa38c25d2b8, has_prelocking_list=false, ot_ctx=0x7fa38c25d1a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa348000958, options=..., start=0x7fa38c25d218, counter=0x7fa38c25d234, flags=0, prelocking_strategy=0x7fa38c25d2b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa348000958, options=..., tables=0x7fa38c25d440, derived=false, flags=0, prelocking_strategy=0x7fa38c25d2b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa348000958, tables=0x7fa38c25d440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa348000958, gtid=0x7fa33c04b7f0, sub_id=54, in_transaction=true, in_statement=false, out_hton=0x7fa38c25dbe0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c04cd08, thd=0x7fa348000958, rgi=0x7fa33c04b7d0, in_trans=true, out_hton=0x7fa38c25dbe0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c04cd08, rgi=0x7fa33c04b7d0) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c04cd08, rgi=0x7fa33c04b7d0) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c04cd08, thd=0x7fa348000958, rgi=0x7fa33c04b7d0, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c04cd08, thd=0x7fa348000958, rgi=0x7fa33c04b7d0) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c04ce18, rpt=0x7fa33c01a9e8) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01a9e8) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c0231c8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c25e700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 17 (Thread 0x7fa38c1c8700 (LWP 13371)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c1c6d10, expected=0, futex_word=0x7fa334000b50) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c1c6d10, mutex=0x7fa334000aa0, cond=0x7fa334000b28) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa334000b28, mutex=0x7fa334000aa0, abstime=0x7fa38c1c6d10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa334000b28, mp=0x7fa334000a78, abstime=0x7fa38c1c6d10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa334000b28, mutex=0x7fa334000a78, abstime=0x7fa38c1c6d10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa334000a78, owner=0x7fa334000a28, abs_timeout=0x7fa38c1c6d10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa334000a78, mdl_request=0x7fa38c1c6e50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa334000958, table_list=0x7fa38c1c7440, ot_ctx=0x7fa38c1c71a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa334000958, tables=0x7fa38c1c7440, counter=0x7fa38c1c7234, flags=0, prelocking_strategy=0x7fa38c1c72b8, has_prelocking_list=false, ot_ctx=0x7fa38c1c71a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa334000958, options=..., start=0x7fa38c1c7218, counter=0x7fa38c1c7234, flags=0, prelocking_strategy=0x7fa38c1c72b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa334000958, options=..., tables=0x7fa38c1c7440, derived=false, flags=0, prelocking_strategy=0x7fa38c1c72b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa334000958, tables=0x7fa38c1c7440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa334000958, gtid=0x7fa33c04d6b0, sub_id=55, in_transaction=true, in_statement=false, out_hton=0x7fa38c1c7be0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c04ebc8, thd=0x7fa334000958, rgi=0x7fa33c04d690, in_trans=true, out_hton=0x7fa38c1c7be0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c04ebc8, rgi=0x7fa33c04d690) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c04ebc8, rgi=0x7fa33c04d690) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c04ebc8, thd=0x7fa334000958, rgi=0x7fa33c04d690, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c04ebc8, thd=0x7fa334000958, rgi=0x7fa33c04d690) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c04ecd8, rpt=0x7fa33c01a7e0) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01a7e0) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa33c01b6b8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c1c8700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fa38c2a9700 (LWP 13370)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c2a7d10, expected=0, futex_word=0x7fa330000f70) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c2a7d10, mutex=0x7fa330000ec0, cond=0x7fa330000f48) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa330000f48, mutex=0x7fa330000ec0, abstime=0x7fa38c2a7d10) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa330000f48, mp=0x7fa330000e98, abstime=0x7fa38c2a7d10, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa330000f48, mutex=0x7fa330000e98, abstime=0x7fa38c2a7d10, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa330000e98, owner=0x7fa330000e48, abs_timeout=0x7fa38c2a7d10, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa330000e98, mdl_request=0x7fa38c2a7e50, lock_wait_timeout=31536000) at sql/mdl.cc:2332 #7 0x000056091c621b34 in open_table (thd=0x7fa330000d78, table_list=0x7fa38c2a8440, ot_ctx=0x7fa38c2a81a0) at sql/sql_base.cc:2076 #8 0x000056091c6255fd in open_and_process_table (thd=0x7fa330000d78, tables=0x7fa38c2a8440, counter=0x7fa38c2a8234, flags=0, prelocking_strategy=0x7fa38c2a82b8, has_prelocking_list=false, ot_ctx=0x7fa38c2a81a0) at sql/sql_base.cc:3784 #9 0x000056091c62689e in open_tables (thd=0x7fa330000d78, options=..., start=0x7fa38c2a8218, counter=0x7fa38c2a8234, flags=0, prelocking_strategy=0x7fa38c2a82b8) at sql/sql_base.cc:4256 #10 0x000056091c6289e9 in open_and_lock_tables (thd=0x7fa330000d78, options=..., tables=0x7fa38c2a8440, derived=false, flags=0, prelocking_strategy=0x7fa38c2a82b8) at sql/sql_base.cc:5160 #11 0x000056091c5e012f in open_and_lock_tables (thd=0x7fa330000d78, tables=0x7fa38c2a8440, derived=false, flags=0) at sql/sql_base.h:509 #12 0x000056091c8ea742 in rpl_slave_state::record_gtid (this=0x56091f364a10, thd=0x7fa330000d78, gtid=0x7fa33c04f570, sub_id=56, in_transaction=true, in_statement=false, out_hton=0x7fa38c2a8be0) at sql/rpl_gtid.cc:674 #13 0x000056091cb8ec66 in Xid_apply_log_event::do_record_gtid (this=0x7fa33c050a88, thd=0x7fa330000d78, rgi=0x7fa33c04f550, in_trans=true, out_hton=0x7fa38c2a8be0) at sql/log_event_server.cc:3890 #14 0x000056091cb8edf9 in Xid_apply_log_event::do_apply_event (this=0x7fa33c050a88, rgi=0x7fa33c04f550) at sql/log_event_server.cc:3947 #15 0x000056091c5c8ad1 in Log_event::apply_event (this=0x7fa33c050a88, rgi=0x7fa33c04f550) at sql/log_event.h:1496 #16 0x000056091c5bb554 in apply_event_and_update_pos_apply (ev=0x7fa33c050a88, thd=0x7fa330000d78, rgi=0x7fa33c04f550, reason=0) at sql/slave.cc:4003 #17 0x000056091c5bbca7 in apply_event_and_update_pos_for_parallel (ev=0x7fa33c050a88, thd=0x7fa330000d78, rgi=0x7fa33c04f550) at sql/slave.cc:4189 #18 0x000056091c8f0f6a in rpt_handle_event (qev=0x7fa33c050b98, rpt=0x7fa33c01a5d8) at sql/rpl_parallel.cc:61 #19 0x000056091c8f450c in handle_rpl_parallel_thread (arg=0x7fa33c01a5d8) at sql/rpl_parallel.cc:1343 #20 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa34402bfe8) at storage/perfschema/pfs.cc:2201 #21 0x00007fa39a0496db in start_thread (arg=0x7fa38c2a9700) at pthread_create.c:463 #22 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fa38c2f4700 (LWP 13368)): #0 0x00007fa39a04f9f3 in futex_wait_cancelable (private=, expected=0, futex_word=0x7fa33c01a728) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fa33c01a608, cond=0x7fa33c01a700) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7fa33c01a700, mutex=0x7fa33c01a608) at pthread_cond_wait.c:655 #3 0x000056091d36716c in safe_cond_wait (cond=0x7fa33c01a700, mp=0x7fa33c01a5e0, file=0x56091d4df240 "include/mysql/psi/mysql_thread.h", line=1220) at mysys/thr_mutex.c:492 #4 0x000056091c8f070c in inline_mysql_cond_wait (that=0x7fa33c01a700, mutex=0x7fa33c01a5e0, src_file=0x56091d4df9d4 "sql/rpl_parallel.cc", src_line=2363) at include/mysql/psi/mysql_thread.h:1220 #5 0x000056091c8f7462 in rpl_parallel::wait_for_done (this=0x56091f9e0a88, thd=0x7fa33c013a58, rli=0x56091f9dd848) at sql/rpl_parallel.cc:2363 #6 0x000056091c5bff8f in handle_slave_sql (arg=0x56091f9dbb80) at sql/slave.cc:5691 #7 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa34402bfe8) at storage/perfschema/pfs.cc:2201 #8 0x00007fa39a0496db in start_thread (arg=0x7fa38c2f4700) at pthread_create.c:463 #9 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fa38c132700 (LWP 13366)): #0 0x00007fa399222cf9 in __GI___poll (fds=0x7fa38c131968, nfds=1, timeout=120000) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x000056091cc5d025 in vio_io_wait (vio=0x7fa3380144c8, event=VIO_IO_EVENT_READ, timeout=120000) at vio/viosocket.c:1000 #2 0x000056091cc5b583 in vio_socket_io_wait (vio=0x7fa3380144c8, event=VIO_IO_EVENT_READ) at vio/viosocket.c:118 #3 0x000056091cc5b78b in vio_read (vio=0x7fa3380144c8, buf=0x7fa3380333a8 ")", size=16384) at vio/viosocket.c:199 #4 0x000056091cc5b9b6 in vio_read_buff (vio=0x7fa3380144c8, buf=0x7fa338037448 "", size=4) at vio/viosocket.c:247 #5 0x000056091cbae29d in my_real_read (net=0x7fa338013f28, complen=0x7fa38c131bf0, header=0 '\000') at sql/net_serv.cc:966 #6 0x000056091cbaeb8d in my_net_read_packet_reallen (net=0x7fa338013f28, read_from_server=0 '\000', reallen=0x7fa38c131d40) at sql/net_serv.cc:1247 #7 0x000056091c9d54a8 in cli_safe_read_reallen (mysql=0x7fa338013f28, reallen=0x7fa38c131d40) at sql-common/client.c:385 #8 0x000056091c5babd2 in read_event (mysql=0x7fa338013f28, mi=0x56091f9dbb80, suppress_warnings=0x7fa38c131d16, network_read_len=0x7fa38c131d40) at sql/slave.cc:3778 #9 0x000056091c5bdb14 in handle_slave_io (arg=0x56091f9dbb80) at sql/slave.cc:4947 #10 0x000056091cda83dd in pfs_spawn_thread (arg=0x7fa344015e38) at storage/perfschema/pfs.cc:2201 #11 0x00007fa39a0496db in start_thread (arg=0x7fa38c132700) at pthread_create.c:463 #12 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fa3117fa700 (LWP 12510)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa3117f9c10, expected=0, futex_word=0x56091f4b246c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa3117f9c10, mutex=0x56091f476e10, cond=0x56091f4b2440) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x56091f4b2440, mutex=0x56091f476e10, abstime=0x7fa3117f9c10) at pthread_cond_wait.c:667 #3 0x000056091d2bca85 in __gthread_cond_timedwait (__cond=0x56091f4b2440, __mutex=0x56091f476e10, __abs_timeout=0x7fa3117f9c10) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x000056091d2c0dc9 in std::condition_variable::__wait_until_impl > > (this=0x56091f4b2440, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:178 #5 0x000056091d2bff2b in std::condition_variable::wait_until > > (this=0x56091f4b2440, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x000056091d2bf3d8 in std::condition_variable::wait_for > (this=0x56091f4b2440, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:143 #7 0x000056091d2bcc59 in tpool::thread_pool_generic::wait_for_tasks (this=0x56091f476d00, lk=..., thread_data=0x56091f4b2440) at tpool/tpool_generic.cc:418 #8 0x000056091d2bce69 in tpool::thread_pool_generic::get_task (this=0x56091f476d00, thread_var=0x56091f4b2440, t=0x7fa3117f9d48) at tpool/tpool_generic.cc:471 #9 0x000056091d2bd0f6 in tpool::thread_pool_generic::worker_main (this=0x56091f476d00, thread_var=0x56091f4b2440) at tpool/tpool_generic.cc:516 #10 0x000056091d2c04d1 in std::__invoke_impl (__f=@0x7fa3200016b8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x56091d2bd092 , __t=@0x7fa3200016b0: 0x56091f476d00) at /usr/include/c++/7/bits/invoke.h:73 #11 0x000056091d2bf7bd in std::__invoke (__fn=@0x7fa3200016b8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x56091d2bd092 ) at /usr/include/c++/7/bits/invoke.h:95 #12 0x000056091d2c3351 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7fa3200016a8) at /usr/include/c++/7/thread:234 #13 0x000056091d2c32eb in std::thread::_Invoker >::operator() (this=0x7fa3200016a8) at /usr/include/c++/7/thread:243 #14 0x000056091d2c32ca in std::thread::_State_impl > >::_M_run (this=0x7fa3200016a0) at /usr/include/c++/7/thread:186 #15 0x00007fa399b726df in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007fa39a0496db in start_thread (arg=0x7fa3117fa700) at pthread_create.c:463 #17 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7fa38c051700 (LWP 12411)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38c04f940, expected=0, futex_word=0x7fa31c000f70) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38c04f940, mutex=0x7fa31c000ec0, cond=0x7fa31c000f48) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x7fa31c000f48, mutex=0x7fa31c000ec0, abstime=0x7fa38c04f940) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x7fa31c000f48, mp=0x7fa31c000e98, abstime=0x7fa38c04f940, file=0x56091d4b3fa0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c875eef in inline_mysql_cond_timedwait (that=0x7fa31c000f48, mutex=0x7fa31c000e98, abstime=0x7fa38c04f940, src_file=0x56091d4b4a56 "sql/mdl.cc", src_line=1167) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c8775a8 in MDL_wait::timed_wait (this=0x7fa31c000e98, owner=0x7fa31c000e48, abs_timeout=0x7fa38c04f940, set_status_on_timeout=false, wait_state_name=0x56091e050580 ) at sql/mdl.cc:1166 #6 0x000056091c8793ab in MDL_context::acquire_lock (this=0x7fa31c000e98, mdl_request=0x7fa38c04fa30, lock_wait_timeout=86400) at sql/mdl.cc:2332 #7 0x000056091c879bef in MDL_context::upgrade_shared_lock (this=0x7fa31c000e98, mdl_ticket=0x7fa31c09dfd0, new_type=MDL_SHARED_READ_ONLY, lock_wait_timeout=86400) at sql/mdl.cc:2535 #8 0x000056091cb71917 in Global_read_lock::make_global_read_lock_block_commit (this=0x7fa31c004510, thd=0x7fa31c000d78) at sql/lock.cc:1176 #9 0x000056091c8ac782 in reload_acl_and_cache (thd=0x7fa31c000d78, options=16388, tables=0x0, write_to_binlog=0x7fa38c050040) at sql/sql_reload.cc:262 #10 0x000056091c6d0b93 in mysql_execute_command (thd=0x7fa31c000d78) at sql/sql_parse.cc:5423 #11 0x000056091c6d8edb in mysql_parse (thd=0x7fa31c000d78, rawbuf=0x7fa31c012c30 "FLUSH TABLES WITH READ LOCK", length=27, parser_state=0x7fa38c050510, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:7993 #12 0x000056091c6c51db in dispatch_command (command=COM_QUERY, thd=0x7fa31c000d78, packet=0x7fa31c008ff9 "FLUSH TABLES WITH READ LOCK", packet_length=27, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:1866 #13 0x000056091c6c3912 in do_command (thd=0x7fa31c000d78) at sql/sql_parse.cc:1347 #14 0x000056091c868d54 in do_handle_one_connection (connect=0x56091f9c40b8, put_in_cache=true) at sql/sql_connect.cc:1411 #15 0x000056091c868abd in handle_one_connection (arg=0x56091fada318) at sql/sql_connect.cc:1313 #16 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f3625c8) at storage/perfschema/pfs.cc:2201 #17 0x00007fa39a0496db in start_thread (arg=0x7fa38c051700) at pthread_create.c:463 #18 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fa38e586700 (LWP 12251)): #0 0x00007fa399222cf9 in __GI___poll (fds=0x7fa38e585af8, nfds=1, timeout=28800000) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x000056091cc5d025 in vio_io_wait (vio=0x7fa344018a58, event=VIO_IO_EVENT_READ, timeout=28800000) at vio/viosocket.c:1000 #2 0x000056091cc5b583 in vio_socket_io_wait (vio=0x7fa344018a58, event=VIO_IO_EVENT_READ) at vio/viosocket.c:118 #3 0x000056091cc5b78b in vio_read (vio=0x7fa344018a58, buf=0x7fa3440079c8 "\001", size=4) at vio/viosocket.c:199 #4 0x000056091cbae29d in my_real_read (net=0x7fa34403caf0, complen=0x7fa38e585d10, header=1 '\001') at sql/net_serv.cc:966 #5 0x000056091cbaeb8d in my_net_read_packet_reallen (net=0x7fa34403caf0, read_from_server=1 '\001', reallen=0x7fa38e585d78) at sql/net_serv.cc:1247 #6 0x000056091cbaeb41 in my_net_read_packet (net=0x7fa34403caf0, read_from_server=1 '\001') at sql/net_serv.cc:1231 #7 0x000056091c6c3287 in do_command (thd=0x7fa34403c7f8) at sql/sql_parse.cc:1221 #8 0x000056091c868d54 in do_handle_one_connection (connect=0x56091f986398, put_in_cache=true) at sql/sql_connect.cc:1411 #9 0x000056091c868abd in handle_one_connection (arg=0x56091f9e2278) at sql/sql_connect.cc:1313 #10 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091fad9e78) at storage/perfschema/pfs.cc:2201 #11 0x00007fa39a0496db in start_thread (arg=0x7fa38e586700) at pthread_create.c:463 #12 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7fa38e61c700 (LWP 11320)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38e61abf0, expected=0, futex_word=0x56091f9df94c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38e61abf0, mutex=0x56091f9df860, cond=0x56091f9df920) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x56091f9df920, mutex=0x56091f9df860, abstime=0x7fa38e61abf0) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x56091f9df920, mp=0x56091f9df838, abstime=0x7fa38e61abf0, file=0x56091d4317b8 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091c5ae6da in inline_mysql_cond_timedwait (that=0x56091f9df920, mutex=0x56091f9df838, abstime=0x7fa38e61abf0, src_file=0x56091d432685 "sql/slave.cc", src_line=1247) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091c5b1dc6 in terminate_slave_thread (thd=0x7fa33c013a58, term_lock=0x56091f9df838, term_cond=0x56091f9df920, slave_running=0x56091f9e0314, skip_lock=false) at sql/slave.cc:1247 #6 0x000056091c5b15e5 in terminate_slave_threads (mi=0x56091f9dbb80, thread_mask=3, skip_lock=false) at sql/slave.cc:1092 #7 0x000056091c7090e4 in stop_slave (thd=0x7fa34c000d78, mi=0x56091f9dbb80, net_report=true) at sql/sql_repl.cc:3313 #8 0x000056091c6cc23e in mysql_execute_command (thd=0x7fa34c000d78) at sql/sql_parse.cc:4268 #9 0x000056091c6d8edb in mysql_parse (thd=0x7fa34c000d78, rawbuf=0x7fa34c012ad0 "STOP SLAVE", length=10, parser_state=0x7fa38e61b510, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:7993 #10 0x000056091c6c51db in dispatch_command (command=COM_QUERY, thd=0x7fa34c000d78, packet=0x7fa34c008ff9 "STOP SLAVE", packet_length=10, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:1866 #11 0x000056091c6c3912 in do_command (thd=0x7fa34c000d78) at sql/sql_parse.cc:1347 #12 0x000056091c868d54 in do_handle_one_connection (connect=0x56091fa74208, put_in_cache=true) at sql/sql_connect.cc:1411 #13 0x000056091c868abd in handle_one_connection (arg=0x56091fada238) at sql/sql_connect.cc:1313 #14 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091fadb618) at storage/perfschema/pfs.cc:2201 #15 0x00007fa39a0496db in start_thread (arg=0x7fa38e61c700) at pthread_create.c:463 #16 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7fa38e667700 (LWP 11157)): #0 0x00007fa399222cf9 in __GI___poll (fds=0x7fa38e666af8, nfds=1, timeout=28800000) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x000056091cc5d025 in vio_io_wait (vio=0x7fa358008d68, event=VIO_IO_EVENT_READ, timeout=28800000) at vio/viosocket.c:1000 #2 0x000056091cc5b583 in vio_socket_io_wait (vio=0x7fa358008d68, event=VIO_IO_EVENT_READ) at vio/viosocket.c:118 #3 0x000056091cc5b78b in vio_read (vio=0x7fa358008d68, buf=0x7fa358225ca8 "\001", size=4) at vio/viosocket.c:199 #4 0x000056091cbae29d in my_real_read (net=0x7fa358001070, complen=0x7fa38e666d10, header=1 '\001') at sql/net_serv.cc:966 #5 0x000056091cbaeb8d in my_net_read_packet_reallen (net=0x7fa358001070, read_from_server=1 '\001', reallen=0x7fa38e666d78) at sql/net_serv.cc:1247 #6 0x000056091cbaeb41 in my_net_read_packet (net=0x7fa358001070, read_from_server=1 '\001') at sql/net_serv.cc:1231 #7 0x000056091c6c3287 in do_command (thd=0x7fa358000d78) at sql/sql_parse.cc:1221 #8 0x000056091c868d54 in do_handle_one_connection (connect=0x56091f9c40b8, put_in_cache=true) at sql/sql_connect.cc:1411 #9 0x000056091c868abd in handle_one_connection (arg=0x56091fa9ce28) at sql/sql_connect.cc:1313 #10 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091fad9e78) at storage/perfschema/pfs.cc:2201 #11 0x00007fa39a0496db in start_thread (arg=0x7fa38e667700) at pthread_create.c:463 #12 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7fa38e6b2700 (LWP 11121)): #0 0x00007fa39a04f9f3 in futex_wait_cancelable (private=, expected=0, futex_word=0x56091e229ccc ) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x56091e22cde8 , cond=0x56091e229ca0 ) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x56091e229ca0 , mutex=0x56091e22cde8 ) at pthread_cond_wait.c:655 #3 0x000056091d36716c in safe_cond_wait (cond=0x56091e229ca0 , mp=0x56091e22cdc0 , file=0x56091d4317b8 "include/mysql/psi/mysql_thread.h", line=1220) at mysys/thr_mutex.c:492 #4 0x000056091c5ae602 in inline_mysql_cond_wait (that=0x56091e229ca0 , mutex=0x56091e22cdc0 , src_file=0x56091d432685 "sql/slave.cc", src_line=525) at include/mysql/psi/mysql_thread.h:1220 #5 0x000056091c5aff4f in handle_slave_background (arg=0x0) at sql/slave.cc:525 #6 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f9faf98) at storage/perfschema/pfs.cc:2201 #7 0x00007fa39a0496db in start_thread (arg=0x7fa38e6b2700) at pthread_create.c:463 #8 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7fa38e6fd700 (LWP 11102)): #0 0x00007fa39914e31c in __GI___sigtimedwait (set=, info=0x7fa38e6fccf0, timeout=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:42 #1 0x000056091c57b3ff in my_sigwait (set=0x7fa38e6fcdd0, sig=0x7fa38e6fcd94, code=0x7fa38e6fcd98) at include/my_pthread.h:196 #2 0x000056091c5810dc in signal_hand (arg=0x0) at sql/mysqld.cc:2987 #3 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f9c6de8) at storage/perfschema/pfs.cc:2201 #4 0x00007fa39a0496db in start_thread (arg=0x7fa38e6fd700) at pthread_create.c:463 #5 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7fa394067700 (LWP 11096)): #0 0x00007fa39a04f9f3 in futex_wait_cancelable (private=, expected=0, futex_word=0x56091e267b68 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x56091e267ab8 , cond=0x56091e267b40 ) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x56091e267b40 , mutex=0x56091e267ab8 ) at pthread_cond_wait.c:655 #3 0x000056091d36716c in safe_cond_wait (cond=0x56091e267b40 , mp=0x56091e267a90 , file=0x56091d6691f8 "include/mysql/psi/mysql_thread.h", line=1220) at mysys/thr_mutex.c:492 #4 0x000056091cb4bd56 in inline_mysql_cond_wait (that=0x56091e267b40 , mutex=0x56091e267a90 , src_file=0x56091d66a0c4 "sql/log.cc", src_line=10269) at include/mysql/psi/mysql_thread.h:1220 #5 0x000056091cb6a4af in binlog_background_thread (arg=0x0) at sql/log.cc:10268 #6 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f6af218) at storage/perfschema/pfs.cc:2201 #7 0x00007fa39a0496db in start_thread (arg=0x7fa394067700) at pthread_create.c:463 #8 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7fa38e4fd700 (LWP 10987)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38e4fcbd0, expected=0, futex_word=0x56091f4c7754) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38e4fcbd0, mutex=0x56091f4c7700, cond=0x56091f4c7728) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x56091f4c7728, mutex=0x56091f4c7700, abstime=0x7fa38e4fcbd0) at pthread_cond_wait.c:667 #3 0x000056091cf8f166 in os_event::timed_wait (this=0x56091f4c76e8, abstime=0x7fa38e4fcbd0) at storage/innobase/os/os0event.cc:275 #4 0x000056091cf8f426 in os_event::wait_time_low (this=0x56091f4c76e8, time_in_usec=1000000, reset_sig_count=2) at storage/innobase/os/os0event.cc:385 #5 0x000056091cf8f61a in os_event_wait_time_low (event=0x56091f4c76e8, time_in_usec=1000000, reset_sig_count=2) at storage/innobase/os/os0event.cc:485 #6 0x000056091d1b0ec1 in pc_sleep_if_needed (next_loop_time=79018300, sig_count=2, cur_time=79017300) at storage/innobase/buf/buf0flu.cc:2309 #7 0x000056091d1b1b76 in buf_flush_page_cleaner () at storage/innobase/buf/buf0flu.cc:2590 #8 0x00007fa39a0496db in start_thread (arg=0x7fa38e4fd700) at pthread_create.c:463 #9 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fa38f7fe700 (LWP 10973)): #0 0x00007fa39abd663a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000056091d2c40cf in tpool::aio_linux::getevent_thread_routine (aio=0x56091f34fdf0) at tpool/aio_linux.cc:53 #2 0x000056091d2c4745 in std::__invoke_impl (__f=@0x56091f4e10a0: 0x56091d2c408b ) at /usr/include/c++/7/bits/invoke.h:60 #3 0x000056091d2c4466 in std::__invoke (__fn=@0x56091f4e10a0: 0x56091d2c408b ) at /usr/include/c++/7/bits/invoke.h:95 #4 0x000056091d2c49fd in std::thread::_Invoker >::_M_invoke<0ul, 1ul> (this=0x56091f4e1098) at /usr/include/c++/7/thread:234 #5 0x000056091d2c49b3 in std::thread::_Invoker >::operator() (this=0x56091f4e1098) at /usr/include/c++/7/thread:243 #6 0x000056091d2c4992 in std::thread::_State_impl > >::_M_run (this=0x56091f4e1090) at /usr/include/c++/7/thread:186 #7 0x00007fa399b726df in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007fa39a0496db in start_thread (arg=0x7fa38f7fe700) at pthread_create.c:463 #9 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fa38ffff700 (LWP 10749)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa38fffeda0, expected=0, futex_word=0x56091ea6b888 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa38fffeda0, mutex=0x56091ea6b7c8 , cond=0x56091ea6b860 ) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x56091ea6b860 , mutex=0x56091ea6b7c8 , abstime=0x7fa38fffeda0) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x56091ea6b860 , mp=0x56091ea6b7a0 , abstime=0x7fa38fffeda0, file=0x56091d6d6ef0 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091ccf9247 in inline_mysql_cond_timedwait (that=0x56091ea6b860 , mutex=0x56091ea6b7a0 , abstime=0x7fa38fffeda0, src_file=0x56091d6d6f18 "storage/maria/ma_servicethread.c", src_line=116) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091ccf978c in my_service_thread_sleep (control=0x56091e05c380 , sleep_time=30000000000) at storage/maria/ma_servicethread.c:115 #6 0x000056091cced45f in ma_checkpoint_background (arg=0x1e) at storage/maria/ma_checkpoint.c:707 #7 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f45b688) at storage/perfschema/pfs.cc:2201 #8 0x00007fa39a0496db in start_thread (arg=0x7fa38ffff700) at pthread_create.c:463 #9 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fa3950f6700 (LWP 10742)): #0 0x00007fa39a04ff85 in futex_abstimed_wait_cancelable (private=, abstime=0x7fa3950f5e50, expected=0, futex_word=0x56091eb16cc8 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fa3950f5e50, mutex=0x56091eb16c08 , cond=0x56091eb16ca0 ) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x56091eb16ca0 , mutex=0x56091eb16c08 , abstime=0x7fa3950f5e50) at pthread_cond_wait.c:667 #3 0x000056091d36752c in safe_cond_timedwait (cond=0x56091eb16ca0 , mp=0x56091eb16be0 , abstime=0x7fa3950f5e50, file=0x56091d8e4010 "include/mysql/psi/mysql_thread.h", line=1257) at mysys/thr_mutex.c:546 #4 0x000056091d36857c in inline_mysql_cond_timedwait (that=0x56091eb16ca0 , mutex=0x56091eb16be0 , abstime=0x7fa3950f5e50, src_file=0x56091d8e4031 "mysys/thr_timer.c", src_line=321) at include/mysql/psi/mysql_thread.h:1257 #5 0x000056091d369255 in timer_handler (arg=0x0) at mysys/thr_timer.c:321 #6 0x000056091cda83dd in pfs_spawn_thread (arg=0x56091f396bf8) at storage/perfschema/pfs.cc:2201 #7 0x00007fa39a0496db in start_thread (arg=0x7fa3950f6700) at pthread_create.c:463 #8 0x00007fa39922fa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fa39b208780 (LWP 10663)): #0 0x00007fa399222cf9 in __GI___poll (fds=0x7ffdd09c96e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x000056091c5872ef in handle_connections_sockets () at sql/mysqld.cc:6215 #2 0x000056091c5867b5 in mysqld_main (argc=176, argv=0x56091f282ca0) at sql/mysqld.cc:5664 #3 0x000056091c57b34a in main (argc=26, argv=0x7ffdd09c99e8) at sql/main.cc:25