Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/24589/steps/mtr_ps/logs/stdio
mysqltest: At line 42: query 'CHECK TABLE tz,tr,td' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
INSERT INTO tr(id) select * from seq_1_to_10000;
|
CREATE TABLE td(id BIGINT PRIMARY KEY, i INT)
|
ENGINE=InnoDB;
|
INSERT INTO td(id) select * from seq_1_to_10000;
|
CREATE PROCEDURE a()
|
BEGIN
|
ALTER TABLE tz ADD INDEX(i);
|
ALTER TABLE tr ADD INDEX(i);
|
ALTER TABLE td ADD INDEX(i);
|
END //
|
call a();
|
# shutdown server
|
# remove datadir
|
# xtrabackup move back
|
# restart
|
DROP PROCEDURE a;
|
CHECK TABLE tz,tr,td;
|
|
Version: '10.4.15-MariaDB-debug-log' socket: '/mnt/buildbot/build/mariadb-10.4.15/mysql-test/var/tmp/3/mysqld.1.sock' port: 16020 Source distribution
|
2020-09-10 12:59:37 8 [ERROR] [FATAL] InnoDB: Trying to read page number 28 in space 7, space name test/td, which is outside the tablespace bounds. Byte offset 0, len 16384
|
200910 12:59:37 [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.4.15-MariaDB-debug-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=1
|
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 = 62222 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0xa7e006f0
|
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 = 0xaffb421c thread_stack 0x49000
|
/mnt/buildbot/build/mariadb-10.4.15/sql/mysqld(my_print_stacktrace+0x3c)[0x81183248]
|
/mnt/buildbot/build/mariadb-10.4.15/sql/mysqld(handle_fatal_signal+0x394)[0x8090519a]
|
addr2line: '': No such file
|
[0xb7731c14]
|
[0xb7731c31]
|
/lib/i386-linux-gnu/libc.so.6(gsignal+0x39)[0xb700fe89]
|
/lib/i386-linux-gnu/libc.so.6(abort+0x157)[0xb70113e7]
|
/mnt/buildbot/build/mariadb-10.4.15/sql/mysqld(+0xe6a344)[0x80ef7344]
|
/mnt/buildbot/build/mariadb-10.4.15/sql/mysqld(+0xf91a75)[0x8101ea75]
|
ut/ut0ut.cc:608(ib::error_or_warn::~error_or_warn())[0x8101f48b]
|
fil/fil0fil.cc:4006(fil_report_invalid_page_access(unsigned int, unsigned int, char const*, unsigned int, unsigned int, bool))[0x80fae0ed]
|
fil/fil0fil.cc:4161(fil_io(IORequest const&, bool, page_id_t, unsigned int, unsigned int, unsigned int, void*, void*, bool))[0x80fae956]
|
buf/buf0rea.cc:181(buf_read_page_low(dberr_t*, bool, unsigned int, unsigned int, page_id_t, unsigned int, bool, bool))[0x80f78b5f]
|
buf/buf0rea.cc:390(buf_read_page(page_id_t, unsigned int))[0x80f7a7a2]
|
buf/buf0buf.cc:4416(buf_page_get_low(page_id_t, unsigned int, unsigned int, buf_block_t*, unsigned int, char const*, unsigned int, mtr_t*, dberr_t*))[0x80f31bd8]
|
buf/buf0buf.cc:4942(buf_page_get_gen(page_id_t, unsigned int, unsigned int, buf_block_t*, unsigned int, char const*, unsigned int, mtr_t*, dberr_t*))[0x80f4051f]
|
btr/btr0cur.cc:3032(btr_cur_open_at_rnd_pos_func(dict_index_t*, unsigned int, btr_cur_t*, char const*, unsigned int, mtr_t*))[0x80ffd018]
|
btr/btr0cur.cc:6990(btr_estimate_number_of_different_key_vals(dict_index_t*))[0x80ffd299]
|
dict/dict0stats.cc:887(dict_stats_update_transient_for_index(dict_index_t*))[0x81003530]
|
dict/dict0stats.cc:945(dict_stats_update_transient(dict_table_t*))[0x80c62cf3]
|
dict/dict0stats.cc:3327(dict_stats_update(dict_table_t*, dict_stats_upd_option_t))[0x80c6d982]
|
include/dict0stats.ic:165(dict_stats_init(dict_table_t*))[0x8090e671]
|
handler/ha_innodb.cc:6075(ha_innobase::open(char const*, int, unsigned int))[0x806da1e2]
|
sql/handler.cc:2782(handler::ha_open(TABLE*, char const*, int, unsigned int, st_mem_root*, List<String>*))[0x80516715]
|
sql/table.cc:3981(open_table_from_share(THD*, TABLE_SHARE*, st_mysql_const_lex_string const*, unsigned int, unsigned int, unsigned int, TABLE*, bool, List<String>*))[0x80519e89]
|
sql/sql_base.cc:2087(open_table(THD*, TABLE_LIST*, Open_table_context*))[0x8051af06]
|
sql/sql_base.cc:3893(open_and_process_table(THD*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*))[0x8051cb7b]
|
sql/sql_base.cc:4367(open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*))[0x804d9d44]
|
sql/sql_base.cc:5269(open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x8073dbbb]
|
/mnt/buildbot/build/mariadb-10.4.15/sql/mysqld(+0x6b1125)[0x8073e125]
|
sql/sql_base.h:505(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int))[0x807410c6]
|
sql/sql_admin.cc:395(open_only_one_table(THD*, TABLE_LIST*, bool, bool))[0x805c08dd]
|
sql/sql_admin.cc:520(mysql_admin_table(THD*, TABLE_LIST*, st_ha_check_opt*, char const*, thr_lock_type, bool, bool, unsigned int, int (*)(THD*, TABLE_LIST*, st_ha_check_opt*), int (handler::*)(THD*, st_ha_check_opt*), int (*)(THD*, TABLE_LIST*, st_ha_check_opt*)))[0x805c5a95]
|
sql/sql_admin.cc:1358(Sql_cmd_check_table::execute(THD*))[0x805b1067]
|
sql/sql_parse.cc:6098(mysql_execute_command(THD*))[0x805af69a]
|
sql/sql_parse.cc:7896(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x80729f9e]
|
sql/sql_parse.cc:1835(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x80729cc1]
|
sql/sql_parse.cc:1353(do_command(THD*))[0x80b662f3]
|
/lib/i386-linux-gnu/libpthread.so.0(+0x62b5)[0xb768b2b5]
|
/lib/i386-linux-gnu/libc.so.6(clone+0x6e)[0xb70cb16e]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0xa7e117c0): CHECK TABLE tz,tr,td
|