Thread 7 (Thread 0x7f45e56ff700 (LWP 67019)):
|
#0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f45e56f9bf0, clockid=<optimized out>, expected=0, futex_word=0x5595e7301b1c) at ../sysdeps/nptl/futex-internal.h:320
|
#1 __pthread_cond_wait_common (abstime=0x7f45e56f9bf0, clockid=<optimized out>, mutex=0x5595e7301b50, cond=0x5595e7301af0) at pthread_cond_wait.c:520
|
#2 __pthread_cond_timedwait (cond=0x5595e7301af0, mutex=0x5595e7301b50, abstime=0x7f45e56f9bf0) at pthread_cond_wait.c:665
|
#3 0x00005595e4be730c in safe_cond_timedwait (cond=0x5595e7301af0, mp=0x5595e7301b28, abstime=0x7f45e56f9bf0, file=0x5595e51d09a0 "/home/denis/dev/mariadb-server-features/mysys/my_thr_init.c", line=609) at /home/denis/dev/mariadb-server-features/mysys/thr_mutex.c:546
|
#4 0x00005595e4be02a1 in psi_cond_timedwait (that=0x5595e7301af0, mutex=0x5595e7301b28, abstime=0x7f45e56f9bf0, file=0x5595e4d28a28 "/home/denis/dev/mariadb-server-features/sql/debug_sync.cc", line=1671) at /home/denis/dev/mariadb-server-features/mysys/my_thr_init.c:609
|
#5 0x00005595e3f2cbd6 in inline_mysql_cond_timedwait (that=0x5595e7301af0, mutex=0x5595e7301b28, abstime=0x7f45e56f9bf0, src_file=0x5595e4d28a28 "/home/denis/dev/mariadb-server-features/sql/debug_sync.cc", src_line=1671) at /home/denis/dev/mariadb-server-features/include/mysql/psi/mysql_thread.h:1086
|
#6 0x00005595e3f30cf6 in debug_sync_execute (thd=0x7f45b0001138, action=0x7f45b0036aa8) at /home/denis/dev/mariadb-server-features/sql/debug_sync.cc:1669
|
#7 0x00005595e3f313a9 in debug_sync (thd=0x7f45b0001138, sync_point_name=0x5595e5097510 "lock_wait_end", name_len=13) at /home/denis/dev/mariadb-server-features/sql/debug_sync.cc:1781
|
#8 0x00005595e47da6c6 in <lambda()>::operator()(void) const (__closure=0x7f45e56f9d60) at /home/denis/dev/mariadb-server-features/storage/innobase/lock/lock0lock.cc:1865
|
#9 0x00005595e47edbe6 in detail::scope_exit<lock_wait(que_thr_t*)::<lambda()> >::~scope_exit(void) (this=0x7f45e56f9d60, __in_chrg=<optimized out>) at /home/denis/dev/mariadb-server-features/include/scope.h:50
|
#10 0x00005595e47db044 in lock_wait (thr=0x7f45b0039e58) at /home/denis/dev/mariadb-server-features/storage/innobase/lock/lock0lock.cc:1866
|
#11 0x00005595e48f180d in row_mysql_handle_errors (new_err=0x7f45e56f9fd4, trx=0x7f45e6999c80, thr=0x7f45b0039e58, savept=0x0) at /home/denis/dev/mariadb-server-features/storage/innobase/row/row0mysql.cc:688
|
#12 0x00005595e47e258a in lock_table_for_trx (table=0x7f45a8022f08, trx=0x7f45e6999c80, mode=LOCK_X, no_wait=false) at /home/denis/dev/mariadb-server-features/storage/innobase/lock/lock0lock.cc:3965
|
#13 0x00005595e47e2919 in lock_table_children (table=0x7f45a80236e8, trx=0x7f45e6999c80) at /home/denis/dev/mariadb-server-features/storage/innobase/lock/lock0lock.cc:4018
|
#14 0x00005595e477e3c8 in ha_innobase::commit_inplace_alter_table (this=0x7f45a8027e90, altered_table=0x7f45e56fade0, ha_alter_info=0x7f45e56fad20, commit=true) at /home/denis/dev/mariadb-server-features/storage/innobase/handler/handler0alter.cc:11210
|
#15 0x00005595e42b4f40 in handler::ha_commit_inplace_alter_table (this=0x7f45a8027e90, altered_table=0x7f45e56fade0, ha_alter_info=0x7f45e56fad20, commit=true) at /home/denis/dev/mariadb-server-features/sql/handler.cc:5314
|
#16 0x00005595e40039a2 in mysql_inplace_alter_table (thd=0x7f45b0001138, table_list=0x7f45b00144f0, table=0x7f45a802e068, altered_table=0x7f45e56fade0, ha_alter_info=0x7f45e56fad20, target_mdl_request=0x7f45e56fb6a0, ddl_log_state=0x7f45e56facc0, trigger_param=0x7f45e56fb210, alter_ctx=0x7f45e56fc260) at /home/denis/dev/mariadb-server-features/sql/sql_table.cc:7590
|
#17 0x00005595e400cf20 in mysql_alter_table (thd=0x7f45b0001138, new_db=0x7f45b0005dc8, new_name=0x7f45b0006230, create_info=0x7f45e56fd100, table_list=0x7f45b00144f0, recreate_info=0x7f45e56fcf50, alter_info=0x7f45e56fcf90, order_num=0, order=0x0, ignore=false, if_exists=false) at /home/denis/dev/mariadb-server-features/sql/sql_table.cc:10566
|
#18 0x00005595e40c809c in Sql_cmd_alter_table::execute (this=0x7f45b0014d20, thd=0x7f45b0001138) at /home/denis/dev/mariadb-server-features/sql/sql_alter.cc:675
|
#19 0x00005595e3efe060 in mysql_execute_command (thd=0x7f45b0001138, is_called_from_prepared_stmt=false) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:6117
|
#20 0x00005595e3f041a8 in mysql_parse (thd=0x7f45b0001138, rawbuf=0x7f45b00143e0 "ALTER TABLE t1 ADD COLUMN c2 INT, ALGORITHM=INPLACE", length=51, parser_state=0x7f45e56fe2e0) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:8139
|
#21 0x00005595e3f03880 in wsrep_mysql_parse (thd=0x7f45b0001138, rawbuf=0x7f45b00143e0 "ALTER TABLE t1 ADD COLUMN c2 INT, ALGORITHM=INPLACE", length=51, parser_state=0x7f45e56fe2e0) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:7950
|
#22 0x00005595e3eeff94 in dispatch_command (command=COM_QUERY, thd=0x7f45b0001138, packet=0x7f45b000ba39 "ALTER TABLE t1 ADD COLUMN c2 INT, ALGORITHM=INPLACE", packet_length=51, blocking=true) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:1883
|
#23 0x00005595e3eee950 in do_command (thd=0x7f45b0001138, blocking=true) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:1409
|
#24 0x00005595e40bc1f5 in do_handle_one_connection (connect=0x5595e7a51e18, put_in_cache=true) at /home/denis/dev/mariadb-server-features/sql/sql_connect.cc:1415
|
#25 0x00005595e40bbf4b in handle_one_connection (arg=0x5595e7a51e18) at /home/denis/dev/mariadb-server-features/sql/sql_connect.cc:1317
|
#26 0x00005595e4641fef in pfs_spawn_thread (arg=0x5595e7350768) at /home/denis/dev/mariadb-server-features/storage/perfschema/pfs.cc:2201
|
#27 0x00007f4604e20609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#28 0x00007f46049f1353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
|
Thread 3 (Thread 0x7f45e56b4700 (LWP 67020)):
|
#0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f45e56b24d0, clockid=<optimized out>, expected=0, futex_word=0x5595e7301b1c) at ../sysdeps/nptl/futex-internal.h:320
|
#1 __pthread_cond_wait_common (abstime=0x7f45e56b24d0, clockid=<optimized out>, mutex=0x5595e7301b50, cond=0x5595e7301af0) at pthread_cond_wait.c:520
|
#2 __pthread_cond_timedwait (cond=0x5595e7301af0, mutex=0x5595e7301b50, abstime=0x7f45e56b24d0) at pthread_cond_wait.c:665 #3 0x00005595e4be730c in safe_cond_timedwait (cond=0x5595e7301af0, mp=0x5595e7301b28, abstime=0x7f45e56b24d0, file=0x5595e51d09a0 "/home/denis/dev/mariadb-server-features/mysys/my_thr_init.c", line=609) at /home/denis/dev/mariadb-server-features/mysys/thr_mutex.c:546 #4 0x00005595e4be02a1 in psi_cond_timedwait (that=0x5595e7301af0, mutex=0x5595e7301b28, abstime=0x7f45e56b24d0, file=0x5595e4d28a28 "/home/denis/dev/mariadb-server-features/sql/debug_sync.cc", line=1671) at /home/denis/dev/mariadb-server-features/mysys/my_thr_init.c:609 #5 0x00005595e3f2cbd6 in inline_mysql_cond_timedwait (that=0x5595e7301af0, mutex=0x5595e7301b28, abstime=0x7f45e56b24d0, src_file=0x5595e4d28a28 "/home/denis/dev/mariadb-server-features/sql/debug_sync.cc", src_line=1671) at /home/denis/dev/mariadb-server-features/include/mysql/psi/mysql_thread.h:1086
|
#6 0x00005595e3f30cf6 in debug_sync_execute (thd=0x7f45a8000db8, action=0x7f45a8951c28) at /home/denis/dev/mariadb-server-features/sql/debug_sync.cc:1669
|
#7 0x00005595e3f313a9 in debug_sync (thd=0x7f45a8000db8, sync_point_name=0x5595e506c802 "ib_after_row_insert", name_len=19) at /home/denis/dev/mariadb-server-features/sql/debug_sync.cc:1781
|
#8 0x00005595e472836b in ha_innobase::write_row (this=0x7f45a8957de0, record=0x7f45a8955198 "\375\001") at /home/denis/dev/mariadb-server-features/storage/innobase/handler/ha_innodb.cc:7846
|
#9 0x00005595e42bc5c2 in handler::ha_write_row (this=0x7f45a8957de0, buf=0x7f45a8955198 "\375\001") at /home/denis/dev/mariadb-server-features/sql/handler.cc:7685
|
#10 0x00005595e3ea4f28 in write_record (thd=0x7f45a8000db8, table=0x7f45a89578f8, info=0x7f45e56b2910, sink=0x0) at /home/denis/dev/mariadb-server-features/sql/sql_insert.cc:2187
|
#11 0x00005595e3ea19e1 in mysql_insert (thd=0x7f45a8000db8, table_list=0x7f45a8019d90, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false, result=0x0) at /home/denis/dev/mariadb-server-features/sql/sql_insert.cc:1133
|
#12 0x00005595e3ef834d in mysql_execute_command (thd=0x7f45a8000db8, is_called_from_prepared_stmt=false) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:4601
|
#13 0x00005595e3f041a8 in mysql_parse (thd=0x7f45a8000db8, rawbuf=0x7f45a8019cb0 "INSERT INTO t1_fk VALUES (1, 1)", length=31, parser_state=0x7f45e56b32e0) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:8139
|
#14 0x00005595e3f03880 in wsrep_mysql_parse (thd=0x7f45a8000db8, rawbuf=0x7f45a8019cb0 "INSERT INTO t1_fk VALUES (1, 1)", length=31, parser_state=0x7f45e56b32e0) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:7950
|
#15 0x00005595e3eeff94 in dispatch_command (command=COM_QUERY, thd=0x7f45a8000db8, packet=0x7f45a8011b59 "INSERT INTO t1_fk VALUES (1, 1)", packet_length=31, blocking=true) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:1883
|
#16 0x00005595e3eee950 in do_command (thd=0x7f45a8000db8, blocking=true) at /home/denis/dev/mariadb-server-features/sql/sql_parse.cc:1409
|
#17 0x00005595e40bc1f5 in do_handle_one_connection (connect=0x5595e7a5c328, put_in_cache=true) at /home/denis/dev/mariadb-server-features/sql/sql_connect.cc:1415
|
#18 0x00005595e40bbf4b in handle_one_connection (arg=0x5595e7a5c328) at /home/denis/dev/mariadb-server-features/sql/sql_connect.cc:1317
|
#19 0x00005595e4641fef in pfs_spawn_thread (arg=0x5595e79d55d8) at /home/denis/dev/mariadb-server-features/storage/perfschema/pfs.cc:2201
|
#20 0x00007f4604e20609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#21 0x00007f46049f1353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
I was asked to review this. Can you post stack traces of the relevant threads that illustrate the problem?