Bug #75124 | Failing assertion: page_is_comp(get_block->frame) == page_is_comp(page) | ||
---|---|---|---|
Submitted: | 6 Dec 2014 3:06 | Modified: | 7 Dec 2014 7:34 |
Reporter: | zhai weixiang (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.7.5 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[6 Dec 2014 3:06]
zhai weixiang
[6 Dec 2014 3:09]
zhai weixiang
I got another crash while running the tests on 5.6.16(slightly patched): 014-12-06 02:16:43 2adb6980c700 InnoDB: Assertion failure in thread 47121856251648 in file buf0flu.cc line 935 InnoDB: Failing assertion: page_zip_verify_checksum(frame, zip_size) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 18:16:43 UTC - 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. 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. key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=132 max_threads=21001 thread_count=129 connection_count=129 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 492478672 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 = 0 thread_stack 0x80000 /u01/mysql/bin/mysqld(my_print_stacktrace+0x35)[0x8f9a15] /u01/mysql/bin/mysqld(handle_fatal_signal+0x41b)[0x659deb] /lib64/libpthread.so.0[0x372ca0f500] /lib64/libc.so.6(gsignal+0x35)[0x372c6328a5] /lib64/libc.so.6(abort+0x175)[0x372c634085] /u01/mysql/bin/mysqld[0xab044c] /u01/mysql/bin/mysqld[0xab1fa5] /u01/mysql/bin/mysqld[0xab261a] /u01/mysql/bin/mysqld[0xab2e0b] /u01/mysql/bin/mysqld[0xab38d1] /lib64/libpthread.so.0[0x372ca07851] /lib64/libc.so.6(clone+0x6d)[0x372c6e767d] 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. And backtrace that raised the assert: #6 0x0000000000659ce7 in handle_fatal_signal (sig=6) at /u01/project/tmp/rds_5616/sql/signal_handler.cc:210 #7 <signal handler called> #8 0x000000372c6328a5 in raise () from /lib64/libc.so.6 #9 0x000000372c634085 in abort () from /lib64/libc.so.6 #10 0x0000000000ab044c in buf_flush_write_block_low (buf_pool=<value optimized out>, bpage=0x2adb706363a0, flush_type=BUF_FLUSH_LIST, sync=false) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:935 #11 buf_flush_page (buf_pool=<value optimized out>, bpage=0x2adb706363a0, flush_type=BUF_FLUSH_LIST, sync=false) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1072 #12 0x0000000000ab1fa5 in buf_flush_try_neighbors (bpage=<value optimized out>, flush_type=BUF_FLUSH_LIST, n_to_flush=750, count=0x2adb6980bc98) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1275 #13 buf_flush_page_and_try_neighbors (bpage=<value optimized out>, flush_type=BUF_FLUSH_LIST, n_to_flush=750, count=0x2adb6980bc98) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1352 #14 0x0000000000ab261a in buf_do_flush_list_batch (buf_pool=0x2ad2a73fe9c8, flush_type=<value optimized out>, min_n=750, lsn_limit=3881870909195) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1627 #15 buf_flush_batch (buf_pool=0x2ad2a73fe9c8, flush_type=<value optimized out>, min_n=750, lsn_limit=3881870909195) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1702 #16 0x0000000000ab2e0b in buf_flush_list (min_n=750, lsn_limit=3881870909195, n_processed=0x2adb6980bdf0) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:1939 #17 0x0000000000ab38d1 in page_cleaner_do_flush_batch (arg=<value optimized out>) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:2168 #18 page_cleaner_flush_pages_if_needed (arg=<value optimized out>) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:2332 #19 buf_flush_page_cleaner_thread (arg=<value optimized out>) at /u01/project/tmp/rds_5616/storage/innobase/buf/buf0flu.cc:2426 #20 0x000000372ca07851 in start_thread () from /lib64/libpthread.so.0 #21 0x000000372c6e767d in clone () from /lib64/libc.so.6 (gdb) And the server event can't recover from the crash.
[6 Dec 2014 6:04]
zhai weixiang
Assert backtrace (5.7.5): #0 0x000000372c6328a5 in raise () from /lib64/libc.so.6 #1 0x000000372c634085 in abort () from /lib64/libc.so.6 #2 0x000000000060f271 in ut_dbg_assertion_failed (expr=0xfbf998 "page_is_comp(get_block->frame) == page_is_comp(page)", file=<value optimized out>, line=307) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/ut/ut0dbg.cc:68 #3 0x0000000000cbae2e in btr_cur_latch_leaves (block=<value optimized out>, page_id=..., page_size=<value optimized out>, latch_mode=<value optimized out>, cursor=0x2b1eec500f90, mtr=0x2b1eec500490) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/btr/btr0cur.cc:306 #4 0x0000000000cbf02c in btr_cur_search_to_nth_level (index=0x2b1ecfa60500, level=0, tuple=0x2b1e5d970a80, mode=4, latch_mode=33, cursor=0x2b1eec500f90, has_search_latch=0, file=0xfad090 "/u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc", line=2372, mtr=0x2b1eec500490) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/btr/btr0cur.cc:1288 #5 0x0000000000c14c65 in btr_pcur_open_low (flags=0, mode=33, index=0x2b1ecfa60500, n_uniq=1, entry=0x2b1e5d970a80, n_ext=0, thr=0x2b1e5d8e7bd8, dup_chk_only=false) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/include/btr0pcur.ic:455 #6 row_ins_clust_index_entry_low (flags=0, mode=33, index=0x2b1ecfa60500, n_uniq=1, entry=0x2b1e5d970a80, n_ext=0, thr=0x2b1e5d8e7bd8, dup_chk_only=false) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:2372 #7 0x0000000000c1aa9e in row_ins_clust_index_entry (thr=0x2b1e5d8e7bd8) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:3208 #8 row_ins_index_entry (thr=0x2b1e5d8e7bd8) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:3306 #9 row_ins_index_entry_step (thr=0x2b1e5d8e7bd8) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:3448 #10 row_ins (thr=0x2b1e5d8e7bd8) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:3590 #11 row_ins_step (thr=0x2b1e5d8e7bd8) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0ins.cc:3762 #12 0x0000000000c29609 in row_insert_for_mysql_using_ins_graph (mysql_rec=<value optimized out>, prebuilt=<value optimized out>) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0mysql.cc:1579 #13 row_insert_for_mysql (mysql_rec=<value optimized out>, prebuilt=<value optimized out>) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/row/row0mysql.cc:1695 #14 0x0000000000b908a2 in ha_innobase::write_row (this=0x2b1e5d862420, record=0x2b1e5d877320 "�\016�)") at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/handler/ha_innodb.cc:6755 #15 0x0000000000665754 in handler::ha_write_row (this=0x2b1e5d862420, buf=0x2b1e5d877320 "�\016�)") at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/handler.cc:7423 #16 0x0000000000a0f5e1 in write_record (thd=0x2b1e5d8fb000, table=0x2b1e5d841810, info=0x2b1eec501550, update=0x2b1eec5014d0) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/sql_insert.cc:1679 #17 0x0000000000a12098 in mysql_insert (thd=0x2b1e5d8fb000, table_list=0x2b1e5d906b10, fields=..., values_list=..., update_fields=<value optimized out>, update_values=<value optimized out>, duplic=DUP_ERROR) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/sql_insert.cc:707 #18 0x00000000008b7855 in mysql_execute_command (thd=0x2b1e5d8fb000) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/sql_parse.cc:3367 #19 0x00000000008bb4b0 in mysql_parse (thd=0x2b1e5d8fb000, parser_state=<value optimized out>) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/sql_parse.cc:5427 #20 0x00000000008bcade in dispatch_command (command=COM_QUERY, thd=0x2b1e5d8fb000, packet=0x2b1eec502ac0 "", packet_length=255) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/sql_parse.cc:1250 #21 0x0000000000978c74 in handle_connection (arg=<value optimized out>) at /u01/project/mysql-lab/mysql-5.7.5-m15/sql/conn_handler/connection_handler_per_thread.cc:298 #22 0x0000000000acd9d7 in pfs_spawn_thread (arg=0x2b1e53dfa2d0) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/perfschema/pfs.cc:2137 #23 0x000000372ca07851 in start_thread () from /lib64/libpthread.so.0 #24 0x000000372c6e767d in clone () from /lib64/libc.so.6 (gdb) f 3 #3 0x0000000000cbae2e in btr_cur_latch_leaves (block=<value optimized out>, page_id=..., page_size=<value optimized out>, latch_mode=<value optimized out>, cursor=0x2b1eec500f90, mtr=0x2b1eec500490) at /u01/project/mysql-lab/mysql-5.7.5-m15/storage/innobase/btr/btr0cur.cc:306 306 ut_a(page_is_comp(get_block->frame) (gdb) p block $3 = <value optimized out> (gdb) p get_block $4 = (buf_block_t *) 0x0
[6 Dec 2014 8:18]
MySQL Verification Team
Thank you for the report. Imho this is duplicate of Bug #74596, please see Bug #74596 Thanks, Umesh
[6 Dec 2014 9:00]
zhai weixiang
Hi, Umesh, It's indeed a duplicate of bug#74596 ! Thanks ! I'll verify another assert (Failing assertion: page_zip_verify_checksum(frame, zip_size) ) with the latest version of 5.6 and then update this bug report.
[6 Dec 2014 15:24]
Mark Callaghan
may be related to http://bugs.mysql.com/bug.php?id=74596
[7 Dec 2014 7:31]
MySQL Verification Team
Thank you Zhai for confirming. Marking this as duplicate of Bug #74596 Thanks, Umesh