Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
13.1
-
None
-
None
-
Can result in hang or crash
Description
Issue:
------
[ERROR] ./sql/mariadbd got signal 11 ;
Version used:
-------------
Branch : main
commit: f4a85225ea17b2c77c20e761773090a08aa3eceb
Version : 13.1.0
Stack trace:
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=11) at ./nptl/pthread_kill.c:89
|
#3 my_write_core (sig=11) at /home/ppandith/wl-24813/mysys/stacktrace.c:424
|
#4 handle_fatal_signal (sig=11) at /home/ppandith/wl-24813/sql/signal_handler.cc:298
|
#5 <signal handler called>
|
#6 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
|
#7 __printf_buffer (buf=buf@entry=, format=format@entry="Got error %d when trying to lock mutex %s at %s, line %d\n", ap=ap@entry=,
|
mode_flags=mode_flags@entry=0) at ./stdio-common/vfprintf-process-arg.c:435
|
#8 __vfprintf_internal (s=<_IO_2_1_stderr_>, format="Got error %d when trying to lock mutex %s at %s, line %d\n", ap=ap@entry=,
|
mode_flags=mode_flags@entry=0) at ./stdio-common/vfprintf-internal.c:1559
|
#9 __fprintf (stream=<optimized out>, format=<optimized out>) at ./stdio-common/fprintf.c:32
|
#10 safe_mutex_lock (mp=, my_flags=0, file="/home/ppandith/wl-24813/sql/sql_class.h", line=3280)
|
at /home/ppandith/wl-24813/mysys/thr_mutex.c:290
|
#11 psi_mutex_lock (that=, file="/home/ppandith/wl-24813/sql/sql_class.h", line=3280)
|
at /home/ppandith/wl-24813/mysys/my_thr_init.c:471
|
#12 inline_mysql_mutex_lock (that=, src_file="/home/ppandith/wl-24813/sql/sql_class.h", src_line=3280)
|
at /home/ppandith/wl-24813/include/mysql/psi/mysql_thread.h:746
|
#13 thd_async_state::wait_for_pending_ops (this=) at /home/ppandith/wl-24813/sql/sql_class.h:3280
|
#14 net_real_write (net=, packet="\001", len=5) at /home/ppandith/wl-24813/sql/net_serv.cc:649
|
#15 net_flush (net=) at /home/ppandith/wl-24813/sql/net_serv.cc:387
|
#16 net_write_command (net=, command=1 '\001', header=, head_len=0, packet=, len=0) at /home/ppandith/wl-24813/sql/net_serv.cc:537
|
#17 cli_advanced_command (mysql=, command=COM_QUIT, header=, header_length=0, arg=, arg_length=0, skip_check=1 '\001', stmt=)
|
at /home/ppandith/wl-24813/sql-common/client.c:504
|
#18 mysql_close_slow_part (mysql=) at /home/ppandith/wl-24813/sql-common/client.c:3485
|
#19 server_mysql_close (mysql=) at /home/ppandith/wl-24813/sql-common/client.c:3497
|
#20 federatedx_io_mysql::~federatedx_io_mysql (this=, __in_chrg=<optimized out>)
|
at /home/ppandith/wl-24813/storage/federatedx/federatedx_io_mysql.cc:150
|
#21 federatedx_io_mysql::~federatedx_io_mysql (this=, __in_chrg=<optimized out>)
|
at /home/ppandith/wl-24813/storage/federatedx/federatedx_io_mysql.cc:154
|
#22 federatedx_txn::close (this=<zero_txn>, server=) at /home/ppandith/wl-24813/storage/federatedx/federatedx_txn.cc:84
|
#23 free_server (txn=<zero_txn>, server=) at /home/ppandith/wl-24813/storage/federatedx/ha_federatedx.cc:1711
|
#24 free_share (txn=<zero_txn>, share=) at /home/ppandith/wl-24813/storage/federatedx/ha_federatedx.cc:1750
|
#25 ha_federatedx::close (this=) at /home/ppandith/wl-24813/storage/federatedx/ha_federatedx.cc:1884
|
#26 handler::ha_close (this=) at /home/ppandith/wl-24813/sql/handler.cc:4012
|
#27 closefrm (table=) at /home/ppandith/wl-24813/sql/table.cc:4907
|
#28 intern_close_table (table=) at /home/ppandith/wl-24813/sql/table_cache.cc:230
|
#29 tc_purge () at /home/ppandith/wl-24813/sql/table_cache.cc:324
|
#30 purge_tables () at /home/ppandith/wl-24813/sql/sql_base.cc:338
|
#31 tdc_start_shutdown () at /home/ppandith/wl-24813/sql/table_cache.cc:649
|
#32 clean_up (print_message=true) at /home/ppandith/wl-24813/sql/mysqld.cc:2025
|
#33 mysqld_main (argc=12, argv=) at /home/ppandith/wl-24813/sql/mysqld.cc:6445
|
#34 main (argc=11, argv=) at /home/ppandith/wl-24813/sql/main.cc:34
|
How to repeat:
Slave:
create table s1( a int); |
create table s2(a int); |
Master: Start server with federated engine enabled
create table s1(a int) ENGINE="FEDERATED" CONNECTION='mysql://u3:pass1@127.0.0.1:3306/m8/s1'; |
create table s2(a int) ENGINE="FEDERATED" CONNECTION='mysql://u3:pass1@127.0.0.1:3306/m8/s2'; |
 |
update s1,s2 set s1.a=1; |
shutdown;
|