[MDEV-8821] Failing assertion: !page || page_type != 0 in file log0recv. cc line 1404 Created: 2015-09-20  Updated: 2015-09-28  Resolved: 2015-09-28

Status: Closed
Project: MariaDB Server
Component/s: Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1
Fix Version/s: 10.1.8

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
Sprint: 10.1.8-3

 Description   

2015-09-20 14:58:35 139865024563072 [Note] InnoDB: Restoring possible half-written data pages 
2015-09-20 14:58:35 139865024563072 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 3390880
2015-09-20 14:58:35 139865024563072 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8
6 87 88 89 90 91 92 93 94 95 96 97 98 99 2015-09-20 14:58:35 7f34bc3fd700  InnoDB: Assertion failure in thread 139864473327360 in file log0recv.
cc line 1404
InnoDB: Failing assertion: !page || page_type != 0

#3  <signal handler called>
#4  0x00007f34db12f425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007f34db132b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f34ddc3dc20 in recv_parse_or_apply_log_rec_body (type=30 '\036', ptr=0x7f34c6f89c28 "(\274", end_ptr=0x7f34c6f89c32 "", block=0x7f34bef9e800, mtr=0x7f34bc3fc840, space_id=11) at storage/xtradb/log/log0recv.cc:1404
#7  0x00007f34ddc3e859 in recv_recover_page_func (just_read_in=1, block=0x7f34bef9e800) at storage/xtradb/log/log0recv.cc:1812
#8  0x00007f34dddb7709 in buf_page_io_complete (bpage=0x7f34bef9e800) at storage/xtradb/buf/buf0buf.cc:4756
#9  0x00007f34dde2ca28 in fil_aio_wait (segment=2) at storage/xtradb/fil/fil0fil.cc:6020
#10 0x00007f34ddd1f5d0 in io_handler_thread (arg=0x7f34df176370 <n+16>) at storage/xtradb/srv/srv0start.cc:542
#11 0x00007f34dbabfe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f34db1eccbd in clone () from /lib/x86_64-linux-gnu/libc.so.6

The test is absolutely the same as in MDEV-8819, these two problems just happen interchangeably.



 Comments   
Comment by Jan Lindström (Inactive) [ 2015-09-28 ]

commit c5922c5701e68bf6d1d2efa974bb21b1af53fa47
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Mon Sep 28 13:59:44 2015 +0300

MDEV-8821: Failing assertion: !page || page_type != 0 in file log0recv. cc line 1404

Alloc creating crypt_data to empty page at crash recovery and redo.

Generated at Thu Feb 08 07:30:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.