Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.2(EOL), 10.3(EOL)
-
None
Description
MASTER/SLAVE
AWS CentOS7.5 / MariaDB-10.2.17
SLAVE server changer master to ~ AND start slave AND SLAVE server crash
– mariadb log –
2018-11-08 11:41:35 139894803494656 [Note] Slave I/O thread: Start semi-sync replication to master 'repl@172.30.100.223:3306' in log 'mysql-bin.000003' at position 1196
2018-11-08 11:41:35 139894803187456 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000003' at position 1196, relay log '/log/mariadb_log/relay-log.000001' position: 4
2018-11-08 11:41:35 139895201527680 [Note] /data/mariadb/bin/mysqld: ready for connections.
Version: '10.2.17-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server
2018-11-08 11:41:35 139894803494656 [Note] Slave I/O thread: connected to master 'repl@172.30.100.223:3306',replication started in log 'mysql-bin.000003' at position 1196
2018-11-08 11:41:35 139894803494656 [ERROR] [FATAL] InnoDB: Aborting because of a corrupt database page.
181108 11:41:35 [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.17-MariaDB-log
key_buffer_size=67108864
read_buffer_size=4194304
max_used_connections=0
max_threads=1025
thread_count=12
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8506101 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f3b040009e8
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 = 0x7f3bcc116c18 thread_stack 0x49000
mysys/stacktrace.c:268(my_print_stacktrace)[0x55f2c152d4fb]
sql/signal_handler.cc:168(handle_fatal_signal)[0x55f2c0ff7ca5]
sigaction.c:0(__restore_rt)[0x7f3be2e3e6d0]
:0(__GI_raise)[0x7f3be248f277]
:0(__GI_abort)[0x7f3be2490968]
ut/ut0ut.cc:792(ib::fatal::~fatal())[0x55f2c12fae7a]
include/sync0rw.ic:455(rw_lock_sx_unlock_func)[0x55f2c133ffe1]
buf/buf0rea.cc:227(buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t const&, page_size_t const&, bool, bool))[0x55f2c1362510]
include/sync0types.h:1229(simple_counter<unsigned long, false>::add(unsigned long))[0x55f2c1363a46]
buf/buf0buf.cc:4470(buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, unsigned long, char const*, unsigned int, mtr_t*, dberr_t*))[0x55f2c134024b]
include/fut0fut.ic:59(fut_get_ptr)[0x55f2c13cc840]
fsp/fsp0fsp.cc:2570(fseg_alloc_free_page_low(fil_space_t*, page_size_t const&, unsigned char*, unsigned long, unsigned char, rw_lock_type_t, mtr_t*, mtr_t*))[0x55f2c13cd4cd]
fsp/fsp0fsp.cc:2718(fseg_alloc_free_page_general(unsigned char*, unsigned long, unsigned char, unsigned long, mtr_t*, mtr_t*))[0x55f2c13ce3c1]
trx/trx0undo.cc:815(trx_undo_add_page(trx_t*, trx_undo_t*, mtr_t*))[0x55f2c12f0b4e]
trx/trx0rec.cc:2061(trx_undo_report_row_operation(que_thr_t*, dict_index_t*, dtuple_t const*, upd_t const*, unsigned long, unsigned char const*, unsigned long const*, unsigned long*))[0x55f2c12d6b7e]
btr/btr0cur.cc:4833(btr_cur_del_mark_set_clust_rec(buf_block_t*, unsigned char*, dict_index_t*, unsigned long const*, que_thr_t*, dtuple_t const*, mtr_t*))[0x55f2c131752f]
row/row0upd.cc:2986(row_upd_del_mark_clust_rec)[0x55f2c129ca70]
row/row0upd.cc:3281(row_upd)[0x55f2c129dc32]
row/row0mysql.cc:1831(row_update_for_mysql(row_prebuilt_t*))[0x55f2c1269a83]
handler/ha_innodb.cc:9230(ha_innobase::delete_row(unsigned char const*))[0x55f2c11a1db4]
sql/handler.cc:6019(handler::ha_delete_row(unsigned char const*))[0x55f2c10017bf]
sql/rpl_gtid.cc:658(rpl_slave_state::record_gtid(THD*, rpl_gtid const*, unsigned long long, bool, bool))[0x55f2c0f7b1d5]
sql/rpl_gtid.cc:1081(rpl_slave_state::load(THD*, char*, unsigned long, bool, bool))[0x55f2c0f7bb2b]
sql/slave.cc:2305(get_master_version_and_clock(st_mysql*, Master_info*))[0x55f2c0e02f66]
sql/slave.cc:4385(handle_slave_io)[0x55f2c0e094b5]
pthread_create.c:0(start_thread)[0x7f3be2e36e25]
/lib64/libc.so.6(clone+0x6d)[0x7f3be2557bad]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x0): is an invalid pointer
Connection ID (thread ID): 11
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 http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
We think the query pointer is invalid, but we will try to print it anyway.
Query:
Attachments
Issue Links
- relates to
-
MDEV-13542 Crashing on a corrupted page is unhelpful
- Closed