[MDEV-30174] rpl.rpl_row_drop_create_temp_table failed in BB, mysqld got signal 11 Created: 2022-12-07  Updated: 2022-12-07

Status: Open
Project: MariaDB Server
Component/s: Replication, Tests
Affects Version/s: 10.11
Fix Version/s: 10.11

Type: Bug Priority: Major
Reporter: Angelique Sklavounos (Inactive) Assignee: Andrei Elkin
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File mysqld.1.err.5     File mysqld.2.err.5     File var_aarch64.tar.gz    

 Description   

https://buildbot.mariadb.org/#/builders/478/builds/3120

10.11 64071d30b

rpl.rpl_row_drop_create_temp_table 'innodb,row' w6 [ fail ]
        Test ended at 2022-12-07 13:19:19
 
CURRENT_TEST: rpl.rpl_row_drop_create_temp_table
 
 
Server [mysqld.2 - pid: 57557, winpid: 57557, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2022-12-07 13:19:09 89 [Note] Deleted Master_info file '/dev/shm/var_auto_liu8/6/mysqld.2/data/master.info'.
2022-12-07 13:19:09 89 [Note] Deleted Master_info file '/dev/shm/var_auto_liu8/6/mysqld.2/data/relay-log.info'.
2022-12-07 13:19:10 89 [Note] Master connection name: ''  Master_info_file: 'master.info'  Relay_info_file: 'relay-log.info'
2022-12-07 13:19:10 89 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16020', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16020', master_log_file='', master_log_pos='4'.
2022-12-07 13:19:10 89 [Note] Previous Using_Gtid=Slave_Pos. New Using_Gtid=Slave_Pos
2022-12-07 13:19:10 91 [Note] Slave I/O thread: Start asynchronous replication to master 'root@127.0.0.1:16020' in log '' at position 4
2022-12-07 13:19:10 92 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 4, relay log './slave-relay-bin.000001' position: 4; GTID position ''
2022-12-07 13:19:10 91 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16020',replication starts at GTID position ''
221207 13:19:18 [ERROR] mysqld got signal 11 ;
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.11.2-MariaDB-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=5
max_threads=153
thread_count=7
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63795 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7fff34007d48
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 = 0x7fff748d6d80 thread_stack 0x49000
mysys/stacktrace.c:212(my_print_stacktrace)[0x134738614]
sql/signal_handler.cc:233(handle_fatal_signal)[0x134108a88]
addr2line: 'linux-vdso64.so.1': No such file
linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0)[0x7fff84640514]
include/srw_lock.h:525(srw_lock_impl<false>::wr_lock(char const*, unsigned int))[0x13451bf10]
mtr/mtr0mtr.cc:821(mtr_t::x_lock_space(unsigned int))[0x13451c194]
fsp/fsp0fsp.cc:2257(fseg_alloc_free_page_general(unsigned char*, unsigned int, unsigned char, bool, mtr_t*, mtr_t*, dberr_t*))[0x1346722e4]
trx/trx0undo.cc:698(trx_undo_add_page(trx_undo_t*, mtr_t*, dberr_t*))[0x1345cf71c]
trx/trx0rec.cc:2020(trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned short const*, unsigned long*))[0x1345bc40c]
btr/btr0cur.cc:3357(btr_cur_update_in_place(unsigned long, btr_cur_t*, unsigned short*, upd_t const*, unsigned long, que_thr_t*, unsigned long, mtr_t*))[0x1345f35f4]
row/row0ins.cc:323(row_ins_clust_index_entry_low(unsigned long, btr_latch_mode, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*))[0x1345655a8]
row/row0ins.cc:3180(row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long))[0x134565dd0]
row/row0ins.cc:3313(row_ins_step(que_thr_t*))[0x1345664fc]
que/que0que.cc:576(que_run_threads(que_thr_t*))[0x134546c24]
que/que0que.cc:417(que_graph_free(que_fork_t*))[0x134546e9c]
dict/dict0stats.cc:530(dict_stats_exec_sql(pars_info_t*, char const*, trx_t*))[0x134649244]
dict/dict0stats.cc:3320(dict_stats_save(dict_table_t*, unsigned long const*))[0x13464f3d0]
handler/ha_innodb.cc:13159(ha_innobase::create(char const*, TABLE*, HA_CREATE_INFO*, bool, trx_t*))[0x1344bb490]
sql/handler.cc:5447(handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*))[0x134116f20]
sql/handler.cc:5916(ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*, bool))[0x134117b08]
sql/sql_table.cc:4607(create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*))[0x133ef1c60]
sql/sql_table.cc:4708(mysql_create_table_no_lock(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*))[0x133ef21a0]
sql/sql_table.cc:4824(Sql_cmd_create_table_like::execute(THD*))[0x133efb230]
sql/sql_parse.cc:6001(mysql_execute_command(THD*, bool))[0x133e2528c]
sql/sql_parse.cc:8000(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x133e29c0c]
sql/log_event_server.cc:2168(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x1342b5428]
sql/log_event_server.cc:1616(Query_log_event::do_apply_event(rpl_group_info*))[0x1342b5d28]
sql/log_event.cc:4179(Log_event::apply_event(rpl_group_info*))[0x1342a4a6c]
sql/slave.cc:3898(apply_event_and_update_pos_apply(Log_event*, THD*, rpl_group_info*, int))[0x133d34594]
sql/slave.cc:4434(handle_slave_sql)[0x133d40204]
perfschema/pfs.cc:2201(pfs_spawn_thread)[0x1343cec18]
??:0(start_thread)[0x7fff837a4334]
:0(__GI___clone)[0x7fff83851320]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fff3494e8e3): CREATE TABLE tt_2 ( id INT ) ENGINE = Innodb



 Comments   
Comment by Angelique Sklavounos (Inactive) [ 2022-12-07 ]

The same fail also occurred on aarch64-rhel-9. The error logs and var dir have been attached.

Generated at Thu Feb 08 10:14:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.