[MDEV-15600] [draft] Assertion in fil_report_invalid_page_access Created: 2018-03-19  Updated: 2018-12-12  Resolved: 2018-12-12

Status: Closed
Project: MariaDB Server
Component/s: N/A
Affects Version/s: 10.2.14
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Alice Sherepa Assignee: Alice Sherepa
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

2018-03-19 14:46:21 140342674741056 [ERROR] [FATAL] InnoDB: Trying to read page number 7 in space 2, space name mysql/innodb_index_stats, which is outside the tablespace bounds. Byte offset 0, len 16384
18
180319 14:47:07 [ERROR] mysqld got signal 6 ;
 
Server version: 10.2.14-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467245 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0
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 = 0x0 thread_stack 0x49000
mysys/stacktrace.c:268(my_print_stacktrace)[0x5557d12ba549]
sql/signal_handler.cc:168(handle_fatal_signal)[0x5557d0df6af5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fcde534f390]
linux/raise.c:54(__GI_raise)[0x7fcde4708428]
stdlib/abort.c:91(__GI_abort)[0x7fcde470a02a]
ut/ut0ut.cc:794(ib::fatal::~fatal())[0x5557d10cf853]
fil/fil0fil.cc:5029(fil_report_invalid_page_access(unsigned long, unsigned long, char const*, unsigned long, unsigned long, bool))[0x5557d0bd0795]
fil/fil0fil.cc:5257(fil_io(IORequest const&, bool, page_id_t const&, page_size_t const&, unsigned long, unsigned long, void*, void*, bool))[0x5557d1171df3]
buf/buf0rea.cc:196(buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t const&, page_size_t const&, bool, bool))[0x5557d112bfed]
buf/buf0rea.cc:969(buf_read_recv_pages(bool, unsigned long, unsigned long const*, unsigned long))[0x5557d112da9d]
log/log0recv.cc:1968(recv_read_in_area)[0x5557d0fec783]
srv/srv0start.cc:2283(innobase_start_or_create_for_mysql())[0x5557d108a439]
handler/ha_innodb.cc:4369(innobase_init(void*))[0x5557d0f89178]
sql/handler.cc:520(ha_initialize_handlerton(st_plugin_int*))[0x5557d0df8f41]
sql/sql_plugin.cc:1416(plugin_initialize(st_mem_root*, st_plugin_int*, int*, char**, bool))[0x5557d0c85c28]
sql/sql_plugin.cc:1697(plugin_init(int*, char**, int))[0x5557d0c865f2]
sql/mysqld.cc:5266(init_server_components())[0x5557d0bedbe8]
sql/mysqld.cc:5858(mysqld_main(int, char**))[0x5557d0bf37d9]
csu/libc-start.c:325(__libc_start_main)[0x7fcde46f3830]
/home/alice/br1/m2-10.2/bld/sql//mysqld(_start+0x29)[0x5557d0be72e9]
~                                                   

Thread 1 (Thread 0x7fa413465740 (LWP 14583)):
#0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000561bf20ef14a in my_write_core (sig=sig@entry=6) at /home/alice/br1/m2-10.2/src/mysys/stacktrace.c:477
#2  0x0000561bf1c2bba4 in handle_fatal_signal (sig=6) at /home/alice/br1/m2-10.2/src/sql/signal_handler.cc:305
#3  <signal handler called>
#4  0x00007fa411515428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#5  0x00007fa41151702a in __GI_abort () at abort.c:89
#6  0x0000561bf1f04853 in ib::fatal::~fatal (this=0x7ffd1a686950, __in_chrg=<optimized out>) at /home/alice/br1/m2-10.2/src/storage/innobase/ut/ut0ut.cc:794
#7  0x0000561bf1a05795 in fil_report_invalid_page_access (block_offset=7, space_id=2, space_name=0x561bf4b6ff90 "mysql/innodb_index_stats", byte_offset=byte_offset@entry=0, len=len@entry=16384, is_read=<optimized out>) at /home/alice/br1/m2-10.2/src/storage/innobase/fil/fil0fil.cc:5029
#8  0x0000561bf1fa6df3 in fil_io (type=..., sync=sync@entry=false, page_id=..., page_size=..., byte_offset=byte_offset@entry=0, len=16384, buf=0x7fa3ec738000, message=0x7fa3ebcfe050, ignore_missing_space=false) at /home/alice/br1/m2-10.2/src/storage/innobase/fil/fil0fil.cc:5257
#9  0x0000561bf1f60fed in buf_read_page_low (err=err@entry=0x7ffd1a68705c, sync=<optimized out>, sync@entry=false, type=type@entry=64, mode=mode@entry=132, page_id=..., page_size=..., unzip=true, ignore_missing_space=false) at /home/alice/br1/m2-10.2/src/storage/innobase/buf/buf0rea.cc:192
#10 0x0000561bf1f62a9d in buf_read_recv_pages (sync=sync@entry=false, space_id=<optimized out>, page_nos=page_nos@entry=0x7ffd1a6874e0, n_stored=n_stored@entry=1) at /home/alice/br1/m2-10.2/src/storage/innobase/buf/buf0rea.cc:966
#11 0x0000561bf1e21783 in recv_read_in_area (page_id=...) at /home/alice/br1/m2-10.2/src/storage/innobase/log/log0recv.cc:1968
#12 recv_apply_hashed_log_recs (last_batch=last_batch@entry=true) at /home/alice/br1/m2-10.2/src/storage/innobase/log/log0recv.cc:2063
#13 0x0000561bf1ebf439 in innobase_start_or_create_for_mysql () at /home/alice/br1/m2-10.2/src/storage/innobase/srv/srv0start.cc:2281
#14 0x0000561bf1dbe178 in innobase_init (p=<optimized out>) at /home/alice/br1/m2-10.2/src/storage/innobase/handler/ha_innodb.cc:4359
#15 0x0000561bf1c2df41 in ha_initialize_handlerton (plugin=0x561bf3fec480) at /home/alice/br1/m2-10.2/src/sql/handler.cc:520
#16 0x0000561bf1abac28 in plugin_initialize (tmp_root=tmp_root@entry=0x7ffd1a690ba0, plugin=plugin@entry=0x561bf3fec480, argc=argc@entry=0x561bf29b0c18 <remaining_argc>, argv=argv@entry=0x561bf3f94898, options_only=options_only@entry=false) at /home/alice/br1/m2-10.2/src/sql/sql_plugin.cc:1416
#17 0x0000561bf1abb5f2 in plugin_init (argc=argc@entry=0x561bf29b0c18 <remaining_argc>, argv=0x561bf3f94898, flags=2) at /home/alice/br1/m2-10.2/src/sql/sql_plugin.cc:1697
#18 0x0000561bf1a22be8 in init_server_components () at /home/alice/br1/m2-10.2/src/sql/mysqld.cc:5266
#19 0x0000561bf1a287d9 in mysqld_main (argc=12, argv=0x561bf3f94898) at /home/alice/br1/m2-10.2/src/sql/mysqld.cc:5858
#20 0x00007fa411500830 in __libc_start_main (main=0x561bf1a07c30 <main(int, char**)>, argc=3, argv=0x7ffd1a691798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd1a691788) at ../csu/libc-start.c:291
#21 0x0000561bf1a1c2e9 in _start ()


Generated at Thu Feb 08 08:22:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.