Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
- bootstrap the server with --innodb-undo-tablespaces=2;
- start the server with --innodb-undo-tablespaces=1
10.2 40b4f9c9 |
mysqld: /data/src/10.2/storage/innobase/include/trx0rseg.h:217: bool trx_rseg_t::is_persistent() const: Assertion `space == 0xFFFFFFFEU || space == TRX_SYS_SPACE || (srv_undo_space_id_start > 0 && space >= srv_undo_space_id_start && space <= srv_undo_space_id_start + srv_undo_tablespaces_active) || !srv_was_started' failed.
|
190219 2:15:22 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f764b846ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x00005571129a7d69 in trx_rseg_t::is_persistent (this=0x557115677910) at /data/src/10.2/storage/innobase/include/trx0rseg.h:211
|
#9 0x0000557112a42dd1 in trx_assign_rseg_low () at /data/src/10.2/storage/innobase/trx/trx0trx.cc:1053
|
#10 0x0000557112a434ec in trx_start_low (trx=0x7f7648552148, read_write=true) at /data/src/10.2/storage/innobase/trx/trx0trx.cc:1189
|
#11 0x0000557112a47be9 in trx_start_internal_low (trx=0x7f7648552148) at /data/src/10.2/storage/innobase/trx/trx0trx.cc:2859
|
#12 0x0000557112b29b18 in dict_stats_fetch_from_ps (table=0x7f75e801a408) at /data/src/10.2/storage/innobase/dict/dict0stats.cc:2988
|
#13 0x0000557112b2a36a in dict_stats_update (table=0x7f75e8016c28, stats_upd_option=DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY) at /data/src/10.2/storage/innobase/dict/dict0stats.cc:3280
|
#14 0x000055711283df3d in dict_stats_init (table=0x7f75e8016c28) at /data/src/10.2/storage/innobase/include/dict0stats.ic:165
|
#15 0x0000557112847a77 in ha_innobase::open (this=0x7f75e800e1a8, name=0x7f75e800a918 "./mysql/gtid_slave_pos") at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:6280
|
#16 0x0000557112539518 in handler::ha_open (this=0x7f75e800e1a8, table_arg=0x7f75e800d140, name=0x7f75e800a918 "./mysql/gtid_slave_pos", mode=2, test_if_locked=18) at /data/src/10.2/sql/handler.cc:2550
|
#17 0x00005571123beba0 in open_table_from_share (thd=0x7f75e8000b00, share=0x7f75e800a3f8, alias=0x557112d9b71c "gtid_slave_pos", db_stat=33, prgflag=8, ha_open_flags=18, outparam=0x7f75e800d140, is_create_table=false) at /data/src/10.2/sql/table.cc:3351
|
#18 0x000055711224573f in open_table (thd=0x7f75e8000b00, table_list=0x7f7648505860, ot_ctx=0x7f7648505600) at /data/src/10.2/sql/sql_base.cc:1923
|
#19 0x0000557112248323 in open_and_process_table (thd=0x7f75e8000b00, lex=0x7f75e8004620, tables=0x7f7648505860, counter=0x7f7648505694, flags=0, prelocking_strategy=0x7f7648505710, has_prelocking_list=false, ot_ctx=0x7f7648505600) at /data/src/10.2/sql/sql_base.cc:3488
|
#20 0x0000557112249483 in open_tables (thd=0x7f75e8000b00, options=..., start=0x7f7648505678, counter=0x7f7648505694, flags=0, prelocking_strategy=0x7f7648505710) at /data/src/10.2/sql/sql_base.cc:4011
|
#21 0x000055711224ac7e in open_and_lock_tables (thd=0x7f75e8000b00, options=..., tables=0x7f7648505860, derived=false, flags=0, prelocking_strategy=0x7f7648505710) at /data/src/10.2/sql/sql_base.cc:4767
|
#22 0x000055711223dcbd in open_and_lock_tables (thd=0x7f75e8000b00, tables=0x7f7648505860, derived=false, flags=0) at /data/src/10.2/sql/sql_base.h:506
|
#23 0x00005571123f6bd1 in rpl_load_gtid_slave_state (thd=0x7f75e8000b00) at /data/src/10.2/sql/rpl_rli.cc:1547
|
#24 0x00005571121fff93 in handle_slave_background (arg=0x0) at /data/src/10.2/sql/slave.cc:309
|
#25 0x00007f764d51d494 in start_thread (arg=0x7f7648506700) at pthread_create.c:333
|
#26 0x00007f764b90393f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
10.4 790b6f5a |
mysqld: /data/src/10.4/storage/innobase/include/trx0rseg.h:198: bool trx_rseg_t::is_persistent() const: Assertion `space == fil_system.temp_space || space == fil_system.sys_space || (srv_undo_space_id_start > 0 && space->id >= srv_undo_space_id_start && space->id <= srv_undo_space_id_start + srv_undo_tablespaces_active) || !srv_was_started' failed.
|
190219 2:19:43 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f833ab85ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055c48f675a1e in trx_rseg_t::is_persistent (this=0x55c49381b0c0) at /data/src/10.4/storage/innobase/include/trx0rseg.h:192
|
#9 0x000055c48f700e53 in trx_assign_rseg_low () at /data/src/10.4/storage/innobase/trx/trx0trx.cc:835
|
#10 0x000055c48f70164c in trx_start_low (trx=0x7f8338092140, read_write=true) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:966
|
#11 0x000055c48f705433 in trx_start_internal_low (trx=0x7f8338092140) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:2261
|
#12 0x000055c48f7f9761 in dict_stats_fetch_from_ps (table=0x7f82d801ae78) at /data/src/10.4/storage/innobase/dict/dict0stats.cc:2990
|
#13 0x000055c48f7f9fe9 in dict_stats_update (table=0x7f82d801a4d8, stats_upd_option=DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY) at /data/src/10.4/storage/innobase/dict/dict0stats.cc:3282
|
#14 0x000055c48f4dcfed in dict_stats_init (table=0x7f82d801a4d8) at /data/src/10.4/storage/innobase/include/dict0stats.ic:165
|
#15 0x000055c48f4e6fee in ha_innobase::open (this=0x7f82d8011a28, name=0x7f82d800df10 "./mysql/gtid_slave_pos") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:6157
|
#16 0x000055c48f1ab123 in handler::ha_open (this=0x7f82d8011a28, table_arg=0x7f82d8010770, name=0x7f82d800df10 "./mysql/gtid_slave_pos", mode=2, test_if_locked=18, mem_root=0x0, partitions_to_open=0x0) at /data/src/10.4/sql/handler.cc:2901
|
#17 0x000055c48ef87f7d in open_table_from_share (thd=0x7f82d8000b00, share=0x7f82d800d9b8, alias=0x7f83252d9408, db_stat=33, prgflag=8, ha_open_flags=18, outparam=0x7f82d8010770, is_create_table=false, partitions_to_open=0x0) at /data/src/10.4/sql/table.cc:3646
|
#18 0x000055c48edcd065 in open_table (thd=0x7f82d8000b00, table_list=0x7f83252d93c0, ot_ctx=0x7f83252d91f0) at /data/src/10.4/sql/sql_base.cc:2035
|
#19 0x000055c48edd034c in open_and_process_table (thd=0x7f82d8000b00, lex=0x7f82d8004930, tables=0x7f83252d93c0, counter=0x7f83252d9284, flags=0, prelocking_strategy=0x7f83252d9300, has_prelocking_list=false, ot_ctx=0x7f83252d91f0) at /data/src/10.4/sql/sql_base.cc:3728
|
#20 0x000055c48edd17a9 in open_tables (thd=0x7f82d8000b00, options=..., start=0x7f83252d9268, counter=0x7f83252d9284, flags=0, prelocking_strategy=0x7f83252d9300) at /data/src/10.4/sql/sql_base.cc:4261
|
#21 0x000055c48edd35f9 in open_and_lock_tables (thd=0x7f82d8000b00, options=..., tables=0x7f83252d93c0, derived=false, flags=0, prelocking_strategy=0x7f83252d9300) at /data/src/10.4/sql/sql_base.cc:5143
|
#22 0x000055c48ed90866 in open_and_lock_tables (thd=0x7f82d8000b00, tables=0x7f83252d93c0, derived=false, flags=0) at /data/src/10.4/sql/sql_base.h:509
|
#23 0x000055c48efc658c in scan_one_gtid_slave_pos_table (thd=0x7f82d8000b00, hash=0x7f83252d9df0, array=0x7f83252d9d90, tablename=0x7f82d800c108, out_hton=0x7f83252d9a50) at /data/src/10.4/sql/rpl_rli.cc:1531
|
#24 0x000055c48efc7336 in load_gtid_state_cb (thd=0x7f82d8000b00, table_name=0x7f82d800c108, arg=0x7f83252d9db0) at /data/src/10.4/sql/rpl_rli.cc:1806
|
#25 0x000055c48efc6e25 in scan_all_gtid_slave_pos_table (thd=0x7f82d8000b00, cb=0x55c48efc72f4 <load_gtid_state_cb(THD*, LEX_CSTRING*, void*)>, cb_data=0x7f83252d9db0) at /data/src/10.4/sql/rpl_rli.cc:1675
|
#26 0x000055c48efc74f5 in rpl_load_gtid_slave_state (thd=0x7f82d8000b00) at /data/src/10.4/sql/rpl_rli.cc:1843
|
#27 0x000055c48ed627e3 in handle_slave_background (arg=0x0) at /data/src/10.4/sql/slave.cc:490
|
#28 0x00007f833c85c494 in start_thread (arg=0x7f83252da700) at pthread_create.c:333
|
#29 0x00007f833ac4293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Attachments
Issue Links
- relates to
-
MDEV-18610 yum安装mariadb server后,使用mysql_install_db进行初始化完成,启动报如下错误
- Closed