[MDEV-12538] Corrupted page compressed page causes assertion on file fil0pagecompress.cc line 557 Created: 2017-04-20  Updated: 2021-10-26  Resolved: 2021-10-26

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

Type: Bug Priority: Major
Reporter: Jan Lindström (Inactive) Assignee: Marko Mäkelä
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

Problem exists at least on

  • page compressed tables
  • page compressed + encrypted tables

#6  0x0000557bb6bb1a96 in fil_decompress_page (page_buf=0x7f39bd878000 "\250\025\333\240", buf=0x7f39c33c4000 "\336\255\276\357", len=16384, write_size=0x7f39c2fa7ca8, return_error=false) at /home/jan/mysql/10.1/storage/xtradb/fil/fil0pagecompress.cc:557
#7  0x0000557bb6b37858 in buf_page_decrypt_after_read (bpage=0x7f39c2fa7c88) at /home/jan/mysql/10.1/storage/xtradb/buf/buf0buf.cc:6435
#8  0x0000557bb6b339bb in buf_page_io_complete (bpage=0x7f39c2fa7c88) at /home/jan/mysql/10.1/storage/xtradb/buf/buf0buf.cc:4674
#9  0x0000557bb6bac740 in fil_aio_wait (segment=2) at /home/jan/mysql/10.1/storage/xtradb/fil/fil0fil.cc:6372
#10 0x0000557bb6a9b26e in io_handler_thread (arg=0x557bb7e9a510 <n+16>) at /home/jan/mysql/10.1/storage/xtradb/srv/srv0start.cc:546
#11 0x00007f39ce194424 in start_thread (arg=0x7f39c17fd700) at pthread_create.c:333
#12 0x00007f39cba129bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105



 Comments   
Comment by Marko Mäkelä [ 2021-10-26 ]

MariaDB Server 10.1 reached its end of life in October 2020.

When it comes to later release series, there were many fixes in MariaDB 10.2.24, including MDEV-12699.

Earlier, in the 10.1.38 and 10.2.20 releases, there were several fixes to encryption, including MDEV-18025 which prompted to introduce the new file format innodb_checksum_algorithm=full_crc32 in 10.4 (MDEV-12026 and MDEV-18644). It is possible that this problem was fixed there. Because the Description lacks details, it is impossible to confirm this.

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